Class AclMemberEntity
- java.lang.Object
-
- org.alfresco.repo.domain.permissions.AclMemberEntity
-
-
Constructor Summary
Constructors Constructor Description AclMemberEntity()Default constructorAclMemberEntity(long aclId, long aceId, int pos)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.LonggetAceId()Get the ACE included in the ACLjava.lang.LonggetAclId()Get the ACL to which the ACE belongsjava.lang.LonggetId()Get the ID for this ACL memberjava.lang.IntegergetPos()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.java.lang.LonggetVersion()Get the version for this ACL member - for optimistic lockinginthashCode()voidincrementVersion()voidsetAceId(java.lang.Long aceId)voidsetAclId(java.lang.Long aclId)voidsetId(java.lang.Long id)voidsetPos(java.lang.Integer pos)Set the position for the ACL-ACE relationshipvoidsetVersion(java.lang.Long version)java.lang.StringtoString()
-
-
-
Method Detail
-
getId
public java.lang.Long getId()
Get the ID for this ACL member
-
setId
public void setId(java.lang.Long id)
-
getVersion
public java.lang.Long getVersion()
Get the version for this ACL member - for optimistic locking- Returns:
- - the version
-
setVersion
public void setVersion(java.lang.Long version)
-
incrementVersion
public void incrementVersion()
-
getAclId
public java.lang.Long getAclId()
Get the ACL to which the ACE belongs
-
setAclId
public void setAclId(java.lang.Long aclId)
-
getAceId
public java.lang.Long getAceId()
Get the ACE included in the ACL
-
setAceId
public void setAceId(java.lang.Long aceId)
-
getPos
public java.lang.Integer 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
public void setPos(java.lang.Integer pos)
Set the position for the ACL-ACE relationship- Parameters:
pos- Integer
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-