|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.openanzo.server.repository.structures.TempACL
public class TempACL
Provides in memory access to a temporary access control list (ACL) stored in the repository. ACLs are composed of access control items (or ACIs, see the AccessControl class) which grant rights to NamedGraphs in the repository as well as the ownership right needed change the ACL itself. TempACL data is in memory and never persisted to the repository.
Batchable,
ACI,
ACL| Method Summary | |
|---|---|
ACL |
createAclFromTemplate(java.lang.Long modified)
Create a new ACL using this TempACL as a template |
static TempACL |
createTempACL(RepositoryConnection repositoryConnection,
org.openrdf.model.URI aclTemplateURI)
Create a new Temporary ACL |
void |
updatePrivileges(Role role,
java.util.List<Privilege> addPrivileges,
java.util.List<Privilege> removePrivileges)
Adds and removes the given privileges to the given role for this ACL |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static TempACL createTempACL(RepositoryConnection repositoryConnection,
org.openrdf.model.URI aclTemplateURI)
throws AnzoException
repositoryConnection - Repository connection to run queries againstaclTemplateURI - URI for this ACL template
AnzoException
public ACL createAclFromTemplate(java.lang.Long modified)
throws AnzoException
modified - Timestamp when new ACL was created
AnzoException
public void updatePrivileges(Role role,
java.util.List<Privilege> addPrivileges,
java.util.List<Privilege> removePrivileges)
throws AnzoException
role - Role to add or remove the given privilegesaddPrivileges - Set of privileges to addremovePrivileges - Set of privileges to remove
AnzoException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||