public class WorkspaceServiceImpl extends Object implements WorkspaceService
Constructor and Description |
---|
WorkspaceServiceImpl(CatalogFramework catalogFramework,
FilterBuilder filterBuilder,
WorkspaceTransformer workspaceTransformer,
FilterService filterService,
SecurityService securityService) |
Modifier and Type | Method and Description |
---|---|
Map<String,org.apache.commons.lang3.tuple.Pair<WorkspaceMetacardImpl,List<QueryMetacardImpl>>> |
getQueryMetacards()
Uses
WorkspaceService.getWorkspaceMetacards() and WorkspaceService.getQueryMetacards(WorkspaceMetacardImpl) to
get a map of workspace metacard to a list of query metacards. |
List<QueryMetacardImpl> |
getQueryMetacards(WorkspaceMetacardImpl workspaceMetacard)
Get a list of query metacards for a workspace metacard.
|
WorkspaceMetacardImpl |
getWorkspaceMetacard(String workspaceId)
Uses
WorkspaceService.getWorkspaceMetacards(Set) to get a single workspace metacard. |
List<WorkspaceMetacardImpl> |
getWorkspaceMetacards()
Get a collection of workspace metacards.
|
List<WorkspaceMetacardImpl> |
getWorkspaceMetacards(Set<String> workspaceIds)
Get a list of workspace metacards for a set of workspace identifiers.
|
String |
toString() |
public WorkspaceServiceImpl(CatalogFramework catalogFramework, FilterBuilder filterBuilder, WorkspaceTransformer workspaceTransformer, FilterService filterService, SecurityService securityService)
catalogFramework
- must be non-nullfilterBuilder
- must be non-nullworkspaceTransformer
- must be non-nullfilterService
- must be non-nullsecurityService
- must be non-nullpublic List<WorkspaceMetacardImpl> getWorkspaceMetacards()
WorkspaceService
getWorkspaceMetacards
in interface WorkspaceService
public List<QueryMetacardImpl> getQueryMetacards(WorkspaceMetacardImpl workspaceMetacard)
WorkspaceService
getQueryMetacards
in interface WorkspaceService
workspaceMetacard
- must be non-nullpublic List<WorkspaceMetacardImpl> getWorkspaceMetacards(Set<String> workspaceIds)
WorkspaceService
getWorkspaceMetacards
in interface WorkspaceService
workspaceIds
- must be non-nullpublic Map<String,org.apache.commons.lang3.tuple.Pair<WorkspaceMetacardImpl,List<QueryMetacardImpl>>> getQueryMetacards()
WorkspaceService
WorkspaceService.getWorkspaceMetacards()
and WorkspaceService.getQueryMetacards(WorkspaceMetacardImpl)
to
get a map of workspace metacard to a list of query metacards.getQueryMetacards
in interface WorkspaceService
public WorkspaceMetacardImpl getWorkspaceMetacard(String workspaceId)
WorkspaceService
WorkspaceService.getWorkspaceMetacards(Set)
to get a single workspace metacard.getWorkspaceMetacard
in interface WorkspaceService
workspaceId
- workspace identifierThis work is licensed under a Creative Commons Attribution 4.0 International License.