Class JpaAclDb
java.lang.Object
org.opencastproject.authorization.xacml.manager.impl.persistence.JpaAclDb
- All Implemented Interfaces:
AclDb
JPA based impl of an
AclDb.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()createAcl(Organization org, AccessControlList acl, String name) Create a new ACL.voidbooleandeleteAcl(Organization org, long id) Delete an ACL by its ID.getAcl(Organization org, long id) Return an ACL of an organization by its ID.getAcl(Organization org, String name) Return an ACL of an organization by its name.getAcls(Organization org) Return all ACLs of this organization.voidsetDBSessionFactory(DBSessionFactory dbSessionFactory) voidsetEntityManagerFactory(javax.persistence.EntityManagerFactory emf) booleanupdateAcl(ManagedAcl acl) Update an existing ACL.
-
Constructor Details
-
JpaAclDb
public JpaAclDb()
-
-
Method Details
-
activate
public void activate() -
deactivate
public void deactivate() -
setDBSessionFactory
-
setEntityManagerFactory
public void setEntityManagerFactory(javax.persistence.EntityManagerFactory emf) -
getAcls
Description copied from interface:AclDbReturn all ACLs of this organization. -
getAcl
Description copied from interface:AclDbReturn an ACL of an organization by its ID. -
getAcl
Description copied from interface:AclDbReturn an ACL of an organization by its name. -
updateAcl
Description copied from interface:AclDbUpdate an existing ACL. -
createAcl
Description copied from interface:AclDbCreate a new ACL. -
deleteAcl
Description copied from interface:AclDbDelete an ACL by its ID.
-