public class AclHibernateDao extends BambooHibernateObjectDao implements AclDao, AclStatisticsDao
Constructor and Description |
---|
AclHibernateDao() |
Modifier and Type | Method and Description |
---|---|
AclEntriesStatistics |
countAclEntriesByJavaType()
Counts ACL entries grouped by
ObjectIdentity and BambooPermission . |
long |
countNonEmptyProjectsWithProjectPlanPermissions()
Counts ACL entries for unique non-empty Project which have Project Plan permissions defined
|
List<org.acegisecurity.acls.AccessControlEntry> |
findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
For a given
Sid find the AccessControlEntry s which applies to the Sid |
org.acegisecurity.acls.MutableAcl |
findAcl(long objectId)
Find acl for given domain object id
|
List<org.acegisecurity.acls.objectidentity.ObjectIdentity> |
findAclObjectWithParent(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
Find a list of Acls whose parent is the given object identity
|
Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> |
findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
|
List<org.acegisecurity.acls.OwnershipAcl> |
findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
For a given
Sid find the Acl s which is owned by Sid |
Class<?> |
getPersistentClass() |
boolean |
hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
Check if given
Sid has any AccessControlEntry s. |
void |
remove(org.acegisecurity.acls.Acl acl) |
void |
save(org.acegisecurity.acls.Acl acl) |
findAll, findAllSorted, findById, findById, refresh, remove, replicate, save, saveRaw, setIndexer, updateModificationData
checkDaoConfig, createHibernateTemplate, currentSession, getHibernateTemplate, getSessionFactory, setHibernateTemplate, setSessionFactory
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
findById
public Class<?> getPersistentClass()
getPersistentClass
in interface bucket.core.persistence.ObjectDao
public List<org.acegisecurity.acls.objectidentity.ObjectIdentity> findAclObjectWithParent(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
AclDao
findAclObjectWithParent
in interface AclDao
List
of ObjectIdentity
spublic Map<org.acegisecurity.acls.objectidentity.ObjectIdentity,org.acegisecurity.acls.MutableAcl> findAcls(org.acegisecurity.acls.objectidentity.ObjectIdentity objectIdentity)
AclDao
public org.acegisecurity.acls.MutableAcl findAcl(long objectId)
AclDao
public List<org.acegisecurity.acls.AccessControlEntry> findAcesForSid(org.acegisecurity.acls.sid.Sid sid)
AclDao
Sid
find the AccessControlEntry
s which applies to the Sid
findAcesForSid
in interface AclDao
public boolean hasAcesForSid(org.acegisecurity.acls.sid.Sid sid)
AclDao
Sid
has any AccessControlEntry
s.hasAcesForSid
in interface AclDao
public List<org.acegisecurity.acls.OwnershipAcl> findAclsOwnedBySid(org.acegisecurity.acls.sid.Sid sid)
AclDao
Sid
find the Acl
s which is owned by Sid
findAclsOwnedBySid
in interface AclDao
public AclEntriesStatistics countAclEntriesByJavaType()
AclStatisticsDao
ObjectIdentity
and BambooPermission
.countAclEntriesByJavaType
in interface AclStatisticsDao
public long countNonEmptyProjectsWithProjectPlanPermissions()
AclStatisticsDao
countNonEmptyProjectsWithProjectPlanPermissions
in interface AclStatisticsDao
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.