|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WorkspaceAccessManager
The WorkspaceAccessManager is responsible for workspace access.
In contrast to Items that are identified, workspaces are named Objects
on different class hierarchy.
| Method Summary | |
|---|---|
void |
close()
Dispose this WorkspaceAccessManager and its resources. |
boolean |
grants(Set principals,
String workspaceName)
Returns true if access to the workspace with the given name
is granted to the to any of the specified principals. |
void |
init(Session securitySession)
Initialize this WorkspaceAccessManager. |
| Method Detail |
|---|
void init(Session securitySession)
throws RepositoryException
WorkspaceAccessManager.
securitySession -
RepositoryException - if an error occurs.
void close()
throws RepositoryException
WorkspaceAccessManager and its resources.
RepositoryException - if an error occurs.
boolean grants(Set principals,
String workspaceName)
throws RepositoryException
true if access to the workspace with the given name
is granted to the to any of the specified principals.
principals - workspaceName -
RepositoryException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||