Class AclMemberEntity
java.lang.Object
org.alfresco.repo.domain.permissions.AclMemberEntity
- All Implemented Interfaces:
AclMember
Entity for alf_access_control_member persistence.
Relates an ACE to an ACL with a position
- Since:
- 3.4
- Author:
- janv
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAceId()Get the ACE included in the ACLgetAclId()Get the ACL to which the ACE belongsgetId()Get the ID for this ACL membergetPos()Get the position group for this member in the ACL 0 - implies the ACE is on the object >0 - that it is inherited in some way The lower values are checked first so take precedence.Get the version for this ACL member - for optimistic lockinginthashCode()voidvoidvoidvoidvoidSet the position for the ACL-ACE relationshipvoidsetVersion(Long version) toString()
-
Constructor Details
-
AclMemberEntity
public AclMemberEntity()Default constructor -
AclMemberEntity
public AclMemberEntity(long aclId, long aceId, int pos)
-
-
Method Details
-
getId
Get the ID for this ACL member -
setId
-
getVersion
Get the version for this ACL member - for optimistic locking- Returns:
- - the version
-
setVersion
-
incrementVersion
public void incrementVersion() -
getAclId
Get the ACL to which the ACE belongs -
setAclId
-
getAceId
Get the ACE included in the ACL -
setAceId
-
getPos
Get the position group for this member in the ACL 0 - implies the ACE is on the object >0 - that it is inherited in some way The lower values are checked first so take precedence. -
setPos
Set the position for the ACL-ACE relationship- Parameters:
pos- Integer
-
hashCode
public int hashCode() -
equals
-
toString
-