@CompileStatic @Slf4j class AclService extends java.lang.Object implements MutableAclService, WarnErros
GORM implementation of AclService and MutableAclService.
Ported from JdbcAclService and JdbcMutableAclService.
Individual methods are
| Type | Name and description |
|---|---|
AclCache |
aclCacheDependency injection for aclCache. |
AclClassGormService |
aclClassGormService |
AclEntryGormService |
aclEntryGormService |
LookupStrategy |
aclLookupStrategyDependency injection for aclLookupStrategy. |
AclObjectIdentityGormService |
aclObjectIdentityGormService |
AclSidGormService |
aclSidGormService |
MessageSource |
messageSourceDependency injection for messageSource. |
| Constructor and description |
|---|
AclService() |
| Type Params | Return Type | Name and description |
|---|---|---|
|
protected void |
clearCacheIncludingChildren(ObjectIdentity objectIdentity) |
|
MutableAcl |
createAcl(ObjectIdentity objectIdentity) |
|
protected void |
createEntries(MutableAcl acl, java.lang.Integer maxOrder, java.util.List<AuditableAccessControlEntry> entries) |
|
protected AclObjectIdentity |
createObjectIdentity(ObjectIdentity object, Sid owner) |
|
protected AclClass |
createOrRetrieveClass(java.lang.String className, boolean allowCreate) |
|
protected AclSid |
createOrRetrieveSid(Sid sid, boolean allowCreate) |
|
void |
deleteAcl(ObjectIdentity objectIdentity, boolean deleteChildren) |
|
protected void |
deleteEntries(AclObjectIdentity oid) |
|
protected void |
deleteEntries(java.util.List<AclEntry> entries) |
|
java.util.List<ObjectIdentity> |
findChildren(ObjectIdentity parentOid) |
|
protected java.lang.Class<?> |
lookupClass(java.lang.String className) |
|
Acl |
readAclById(ObjectIdentity object) |
|
Acl |
readAclById(ObjectIdentity object, java.util.List<Sid> sids) |
|
java.util.Map<ObjectIdentity, Acl> |
readAclsById(java.util.List<ObjectIdentity> objects) |
|
java.util.Map<ObjectIdentity, Acl> |
readAclsById(java.util.List<ObjectIdentity> objects, java.util.List<Sid> sids) |
<T extends GormEntity<T>> |
protected T |
save(T bean) |
|
MutableAcl |
updateAcl(MutableAcl acl) |
|
protected void |
updateObjectIdentity(MutableAcl acl) |
| Methods inherited from class | Name |
|---|---|
class java.lang.Object |
java.lang.Object#equals(java.lang.Object), java.lang.Object#getClass(), java.lang.Object#hashCode(), java.lang.Object#notify(), java.lang.Object#notifyAll(), java.lang.Object#toString(), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int) |
Dependency injection for aclCache.
Dependency injection for aclLookupStrategy.
Dependency injection for messageSource.