public final class ProjectViewImpl extends java.lang.Object implements ProjectView
Constructor and Description |
---|
ProjectViewImpl(ConfigContextImpl configContext)
constructor
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Ref> |
getFolders(Ref locationRef)
returns the folders directly under the given location ref.
|
java.util.Set<Ref> |
getFolders(Ref locationRef, boolean recursive)
returns the folders for the given location ref, either directly or recursively.
|
<T extends Metadata> |
getMetadata(Ref ref)
returns the metadata for the given ref.
|
java.util.Map<Ref,Metadata> |
getMetadata(java.util.Set<Ref> refs)
returns the metadata for the given refs.
|
java.util.Set<Ref> |
getProjects()
returns the set of projects
|
java.util.Set<Ref> |
getResources(Ref locationRef)
returns the resources directly located in the given location (or domain) ref.
|
java.util.Set<Ref> |
getResources(Ref locationRef, boolean recursive)
returns the resources located in the given location ref (or domain), either directly or recursively
|
java.util.Set<Ref> |
getResources(RefValueDomain domain)
returns all resources contained by the given ref value domain
|
public ProjectViewImpl(ConfigContextImpl configContext)
public java.util.Set<Ref> getProjects()
getProjects
in interface ProjectView
public java.util.Set<Ref> getFolders(Ref locationRef) throws NotFoundException
ProjectView
getFolders
in interface ProjectView
NotFoundException
public java.util.Set<Ref> getFolders(Ref locationRef, boolean recursive) throws NotFoundException
ProjectView
getFolders
in interface ProjectView
NotFoundException
public java.util.Set<Ref> getResources(Ref locationRef) throws NotFoundException
ProjectView
getResources
in interface ProjectView
NotFoundException
public java.util.Set<Ref> getResources(Ref locationRef, boolean recursive) throws NotFoundException
ProjectView
getResources
in interface ProjectView
NotFoundException
public java.util.Set<Ref> getResources(RefValueDomain domain) throws NotFoundException
ProjectView
getResources
in interface ProjectView
NotFoundException
public <T extends Metadata> T getMetadata(Ref ref) throws NotFoundException
ProjectView
getMetadata
in interface ProjectView
NotFoundException
public java.util.Map<Ref,Metadata> getMetadata(java.util.Set<Ref> refs) throws NotFoundException
ProjectView
getMetadata
in interface ProjectView
NotFoundException