Interface WorkspaceSelector
-
- All Known Implementing Classes:
DefaultWorkspaceSelector
,RequestAttributeWorkspaceSelector
public interface WorkspaceSelector
Determines the current JCR workspace.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getWorkspace()
Returns the current JCR workspaceString[]
getWorkspaces()
Returns the all JCR workspaces
-
-
-
Method Detail
-
getWorkspace
String getWorkspace()
Returns the current JCR workspace- Returns:
- the current JCR workspace
-
getWorkspaces
String[] getWorkspaces() throws RepositoryException
Returns the all JCR workspaces- Returns:
- the available workspaces
- Throws:
RepositoryException
- if an error occurred
-
-