com.atlassian.bamboo.security.acegi.acls
Class HibernateMutableAclServiceImpl
java.lang.Object
com.atlassian.bamboo.security.acegi.acls.HibernateMutableAclServiceImpl
- All Implemented Interfaces:
- HibernateMutableAclService, org.acegisecurity.acls.AclService, org.acegisecurity.acls.MutableAclService
public class HibernateMutableAclServiceImpl
- extends java.lang.Object
- implements HibernateMutableAclService
Method Summary |
org.acegisecurity.acls.MutableAcl |
createAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
|
void |
deleteAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity,
boolean deleteChildren)
|
void |
deleteAllAcls()
Deletes all ACLs and permissions from the system... |
org.acegisecurity.acls.objectidentity.ObjectIdentity[] |
findChildren(org.acegisecurity.acls.objectidentity.ObjectIdentity parentIdentity)
|
org.acegisecurity.acls.Acl |
readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object)
|
org.acegisecurity.acls.Acl |
readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object,
org.acegisecurity.acls.sid.Sid[] sids)
|
java.util.Map |
readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects)
|
java.util.Map |
readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects,
org.acegisecurity.acls.sid.Sid[] sids)
|
void |
setAclDao(AclDao aclDao)
|
void |
setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
|
org.acegisecurity.acls.MutableAcl |
updateAcl(org.acegisecurity.acls.MutableAcl acl)
|
void |
updateAclAces(org.acegisecurity.acls.MutableAcl acl,
java.util.List newPermissionKeys)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BAMBOO_PERMISSION_FORM_SEPARATOR
public static final java.lang.String BAMBOO_PERMISSION_FORM_SEPARATOR
- See Also:
- Constant Field Values
BAMBOO_PERMISSION_FORM_USER
public static final java.lang.String BAMBOO_PERMISSION_FORM_USER
- See Also:
- Constant Field Values
BAMBOO_PERMISSION_FORM_GROUP
public static final java.lang.String BAMBOO_PERMISSION_FORM_GROUP
- See Also:
- Constant Field Values
BAMBOO_PERMISSION_FORM_ROLE
public static final java.lang.String BAMBOO_PERMISSION_FORM_ROLE
- See Also:
- Constant Field Values
BAMBOO_PERMISSION_FORM_USER_PREFIX
public static final java.lang.String BAMBOO_PERMISSION_FORM_USER_PREFIX
BAMBOO_PERMISSION_FORM_GROUP_PREFIX
public static final java.lang.String BAMBOO_PERMISSION_FORM_GROUP_PREFIX
BAMBOO_PERMISSION_FORM_ROLE_PREFIX
public static final java.lang.String BAMBOO_PERMISSION_FORM_ROLE_PREFIX
HibernateMutableAclServiceImpl
public HibernateMutableAclServiceImpl()
findChildren
public org.acegisecurity.acls.objectidentity.ObjectIdentity[] findChildren(org.acegisecurity.acls.objectidentity.ObjectIdentity parentIdentity)
- Specified by:
findChildren
in interface org.acegisecurity.acls.AclService
readAclById
public org.acegisecurity.acls.Acl readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object)
throws org.acegisecurity.acls.NotFoundException
- Specified by:
readAclById
in interface org.acegisecurity.acls.AclService
- Throws:
org.acegisecurity.acls.NotFoundException
readAclById
public org.acegisecurity.acls.Acl readAclById(org.acegisecurity.acls.objectidentity.ObjectIdentity object,
org.acegisecurity.acls.sid.Sid[] sids)
throws org.acegisecurity.acls.NotFoundException
- Specified by:
readAclById
in interface org.acegisecurity.acls.AclService
- Throws:
org.acegisecurity.acls.NotFoundException
readAclsById
public java.util.Map readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects)
throws org.acegisecurity.acls.NotFoundException
- Specified by:
readAclsById
in interface org.acegisecurity.acls.AclService
- Throws:
org.acegisecurity.acls.NotFoundException
readAclsById
public java.util.Map readAclsById(org.acegisecurity.acls.objectidentity.ObjectIdentity[] objects,
org.acegisecurity.acls.sid.Sid[] sids)
throws org.acegisecurity.acls.NotFoundException
- Specified by:
readAclsById
in interface org.acegisecurity.acls.AclService
- Throws:
org.acegisecurity.acls.NotFoundException
createAcl
public org.acegisecurity.acls.MutableAcl createAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
throws org.acegisecurity.acls.AlreadyExistsException
- Specified by:
createAcl
in interface org.acegisecurity.acls.MutableAclService
- Throws:
org.acegisecurity.acls.AlreadyExistsException
deleteAcl
public void deleteAcl(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity,
boolean deleteChildren)
throws org.acegisecurity.acls.ChildrenExistException
- Specified by:
deleteAcl
in interface org.acegisecurity.acls.MutableAclService
- Throws:
org.acegisecurity.acls.ChildrenExistException
updateAcl
public org.acegisecurity.acls.MutableAcl updateAcl(org.acegisecurity.acls.MutableAcl acl)
throws org.acegisecurity.acls.NotFoundException
- Specified by:
updateAcl
in interface org.acegisecurity.acls.MutableAclService
- Throws:
org.acegisecurity.acls.NotFoundException
updateAclAces
public void updateAclAces(org.acegisecurity.acls.MutableAcl acl,
java.util.List newPermissionKeys)
- Specified by:
updateAclAces
in interface HibernateMutableAclService
deleteAllAcls
public void deleteAllAcls()
- Description copied from interface:
HibernateMutableAclService
- Deletes all ACLs and permissions from the system... Do this *only* if you know what you're doing!
- Specified by:
deleteAllAcls
in interface HibernateMutableAclService
setAclDao
public void setAclDao(AclDao aclDao)
setAclUpdateHelper
public void setAclUpdateHelper(BambooAclUpdateHelper aclUpdateHelper)
Copyright © 2010 Atlassian. All Rights Reserved.