public class AclCrudDAOImpl extends AbstractAclCrudDAOImpl
Constructor and Description |
---|
AclCrudDAOImpl() |
Modifier and Type | Method and Description |
---|---|
protected long |
createAceContextEntity(AceContextEntity entity) |
protected long |
createAceEntity(AceEntity entity) |
protected Long |
createAclChangeSetEntity() |
protected AclEntity |
createAclEntity(AclEntity entity) |
protected AclMemberEntity |
createAclMemberEntity(AclMemberEntity entity) |
protected long |
createAuthorityAliasEntity(AuthorityAliasEntity entity) |
protected AuthorityEntity |
createAuthorityEntity(AuthorityEntity entity) |
protected PermissionEntity |
createPermissionEntity(PermissionEntity entity) |
protected int |
deleteAceContextEntity(long aceContextEntityId) |
protected int |
deleteAceEntities(List<Long> aceEntityIds) |
protected int |
deleteAclChangeSetEntity(Long aclChangeSetEntityId) |
protected int |
deleteAclEntity(long aclEntityId) |
protected int |
deleteAclMemberEntities(List<Long> aclMemberEntityIds) |
protected int |
deleteAclMemberEntitiesByAcl(long aclEntityId) |
protected int |
deleteAuthorityAliasEntity(long authorityAliasEntityId) |
protected int |
deleteAuthorityEntity(long authorityEntityId) |
protected int |
deletePermissionEntity(long permissionEntityId) |
protected List<Map<String,Object>> |
getAceAndAuthorityEntitiesByAcl(long aclEntityId) |
protected AceContextEntity |
getAceContextEntity(long aceContextEntityId) |
protected List<Ace> |
getAceEntitiesByAuthority(long authorityEntityId) |
protected AceEntity |
getAceEntity(long aceEntityId) |
protected AceEntity |
getAceEntity(long permissionId,
long authorityId,
boolean allowed,
ACEType type) |
protected AclChangeSetEntity |
getAclChangeSetEntity(Long aclChangeSetEntityId) |
protected List<Long> |
getAclEntitiesThatInheritFromAcl(long aclEntityId) |
protected AclEntity |
getAclEntity(long aclEntityId) |
protected List<AclMemberEntity> |
getAclMemberEntitiesByAcl(long aclEntityId) |
protected List<AclMemberEntity> |
getAclMemberEntitiesByAuthority(String authorityName) |
protected AclMemberEntity |
getAclMemberEntity(long aclId,
long aceId,
int pos) |
protected List<Long> |
getADMNodeEntityIdsByAcl(long aclEntityId,
int maxResults) |
protected AuthorityEntity |
getAuthorityEntity(long authorityEntityId) |
protected AuthorityEntity |
getAuthorityEntity(String authorityName) |
protected Long |
getLatestAclEntityByGuid(String aclGuid) |
protected PermissionEntity |
getPermissionEntity(long permissionEntityId) |
protected PermissionEntity |
getPermissionEntity(long qnameId,
String name) |
protected Long |
selectMaxChangeSetCommitTime() |
protected Long |
selectMaxChangeSetIdBeforeCommitTime(long maxCommitTime) |
void |
setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate) |
protected int |
updateAceEntity(AceEntity updatedAceEntity) |
protected int |
updateAclEntity(AclEntity updatedAclEntity) |
protected int |
updateAclMemberEntity(AclMemberEntity updatedAclMemberEntity) |
protected int |
updateAuthorityEntity(AuthorityEntity authorityEntity) |
protected int |
updateChangeSetEntity(Long id,
long commitTimeMs) |
protected int |
updatePermissionEntity(PermissionEntity permissionEntity) |
addAclMembersToAcl, addAclMembersToAcl, createAce, createAcl, createAclChangeSet, createAuthority, createPermission, deleteAces, deleteAcl, deleteAclChangeSet, deleteAclMembers, deleteAclMembersByAcl, deleteAuthority, deletePermission, getAce, getAce, getAcesAndAuthoritiesByAcl, getAcesByAuthority, getAcl, getAclChangeSet, getAclForUpdate, getAclMembersByAcl, getAclMembersByAclForUpdate, getAclMembersByAuthority, getAclsThatInheritFromAcl, getADMNodesByAcl, getAuthority, getAuthority, getLatestAclByGuid, getMaxChangeSetCommitTime, getMaxChangeSetIdByCommitTime, getOrCreateAce, getOrCreateAuthority, getOrCreatePermission, getPermission, getPermission, renameAuthority, renamePermission, setAclEntityCache, setAuthorityEntityCache, setBatchSize, setCheckAclConsistency, setPermissionEntityCache, setQnameDAO, updateAcl, updateAclChangeSet, updateAclMember
public final void setSqlSessionTemplate(org.mybatis.spring.SqlSessionTemplate sqlSessionTemplate)
protected AclEntity createAclEntity(AclEntity entity)
createAclEntity
in class AbstractAclCrudDAOImpl
protected AclEntity getAclEntity(long aclEntityId)
getAclEntity
in class AbstractAclCrudDAOImpl
protected List<Long> getAclEntitiesThatInheritFromAcl(long aclEntityId)
getAclEntitiesThatInheritFromAcl
in class AbstractAclCrudDAOImpl
protected Long getLatestAclEntityByGuid(String aclGuid)
getLatestAclEntityByGuid
in class AbstractAclCrudDAOImpl
protected List<Long> getADMNodeEntityIdsByAcl(long aclEntityId, int maxResults)
getADMNodeEntityIdsByAcl
in class AbstractAclCrudDAOImpl
protected int updateAclEntity(AclEntity updatedAclEntity)
updateAclEntity
in class AbstractAclCrudDAOImpl
protected int updateAceEntity(AceEntity updatedAceEntity)
updateAceEntity
in class AbstractAclCrudDAOImpl
protected int deleteAclEntity(long aclEntityId)
deleteAclEntity
in class AbstractAclCrudDAOImpl
protected AclMemberEntity createAclMemberEntity(AclMemberEntity entity)
createAclMemberEntity
in class AbstractAclCrudDAOImpl
protected List<AclMemberEntity> getAclMemberEntitiesByAcl(long aclEntityId)
getAclMemberEntitiesByAcl
in class AbstractAclCrudDAOImpl
protected List<AclMemberEntity> getAclMemberEntitiesByAuthority(String authorityName)
getAclMemberEntitiesByAuthority
in class AbstractAclCrudDAOImpl
protected int updateAclMemberEntity(AclMemberEntity updatedAclMemberEntity)
updateAclMemberEntity
in class AbstractAclCrudDAOImpl
protected int deleteAclMemberEntities(List<Long> aclMemberEntityIds)
deleteAclMemberEntities
in class AbstractAclCrudDAOImpl
protected int deleteAclMemberEntitiesByAcl(long aclEntityId)
deleteAclMemberEntitiesByAcl
in class AbstractAclCrudDAOImpl
protected Long createAclChangeSetEntity()
createAclChangeSetEntity
in class AbstractAclCrudDAOImpl
protected AclChangeSetEntity getAclChangeSetEntity(Long aclChangeSetEntityId)
getAclChangeSetEntity
in class AbstractAclCrudDAOImpl
protected int deleteAclChangeSetEntity(Long aclChangeSetEntityId)
deleteAclChangeSetEntity
in class AbstractAclCrudDAOImpl
protected int updateChangeSetEntity(Long id, long commitTimeMs)
updateChangeSetEntity
in class AbstractAclCrudDAOImpl
protected long createAceEntity(AceEntity entity)
createAceEntity
in class AbstractAclCrudDAOImpl
protected AceEntity getAceEntity(long aceEntityId)
getAceEntity
in class AbstractAclCrudDAOImpl
protected AceEntity getAceEntity(long permissionId, long authorityId, boolean allowed, ACEType type)
getAceEntity
in class AbstractAclCrudDAOImpl
protected AclMemberEntity getAclMemberEntity(long aclId, long aceId, int pos)
getAclMemberEntity
in class AbstractAclCrudDAOImpl
protected List<Ace> getAceEntitiesByAuthority(long authorityEntityId)
getAceEntitiesByAuthority
in class AbstractAclCrudDAOImpl
protected List<Map<String,Object>> getAceAndAuthorityEntitiesByAcl(long aclEntityId)
getAceAndAuthorityEntitiesByAcl
in class AbstractAclCrudDAOImpl
protected int deleteAceEntities(List<Long> aceEntityIds)
deleteAceEntities
in class AbstractAclCrudDAOImpl
protected long createAceContextEntity(AceContextEntity entity)
createAceContextEntity
in class AbstractAclCrudDAOImpl
protected AceContextEntity getAceContextEntity(long aceContextEntityId)
getAceContextEntity
in class AbstractAclCrudDAOImpl
protected int deleteAceContextEntity(long aceContextEntityId)
deleteAceContextEntity
in class AbstractAclCrudDAOImpl
protected PermissionEntity createPermissionEntity(PermissionEntity entity)
createPermissionEntity
in class AbstractAclCrudDAOImpl
protected PermissionEntity getPermissionEntity(long permissionEntityId)
getPermissionEntity
in class AbstractAclCrudDAOImpl
protected PermissionEntity getPermissionEntity(long qnameId, String name)
getPermissionEntity
in class AbstractAclCrudDAOImpl
protected int updatePermissionEntity(PermissionEntity permissionEntity)
updatePermissionEntity
in class AbstractAclCrudDAOImpl
protected int deletePermissionEntity(long permissionEntityId)
deletePermissionEntity
in class AbstractAclCrudDAOImpl
protected AuthorityEntity createAuthorityEntity(AuthorityEntity entity)
createAuthorityEntity
in class AbstractAclCrudDAOImpl
protected AuthorityEntity getAuthorityEntity(long authorityEntityId)
getAuthorityEntity
in class AbstractAclCrudDAOImpl
protected AuthorityEntity getAuthorityEntity(String authorityName)
getAuthorityEntity
in class AbstractAclCrudDAOImpl
protected int updateAuthorityEntity(AuthorityEntity authorityEntity)
updateAuthorityEntity
in class AbstractAclCrudDAOImpl
protected int deleteAuthorityEntity(long authorityEntityId)
deleteAuthorityEntity
in class AbstractAclCrudDAOImpl
protected long createAuthorityAliasEntity(AuthorityAliasEntity entity)
createAuthorityAliasEntity
in class AbstractAclCrudDAOImpl
protected int deleteAuthorityAliasEntity(long authorityAliasEntityId)
deleteAuthorityAliasEntity
in class AbstractAclCrudDAOImpl
protected Long selectMaxChangeSetCommitTime()
selectMaxChangeSetCommitTime
in class AbstractAclCrudDAOImpl
protected Long selectMaxChangeSetIdBeforeCommitTime(long maxCommitTime)
selectMaxChangeSetIdBeforeCommitTime
in class AbstractAclCrudDAOImpl
maxCommitTime
- longCopyright © 2005–2017 Alfresco Software. All rights reserved.