|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.repo.domain.permissions.AclMemberEntity
public class AclMemberEntity
Entity for alf_access_control_member persistence. Relates an ACE to an ACL with a position
Constructor Summary | |
---|---|
AclMemberEntity()
Default constructor |
|
AclMemberEntity(long aclId,
long aceId,
int pos)
|
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.Long |
getAceId()
Get the ACE included in the ACL |
java.lang.Long |
getAclId()
Get the ACL to which the ACE belongs |
java.lang.Long |
getId()
Get the ID for this ACL member |
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. |
java.lang.Long |
getVersion()
Get the version for this ACL member - for optimistic locking |
int |
hashCode()
|
void |
incrementVersion()
|
void |
setAceId(java.lang.Long aceId)
|
void |
setAclId(java.lang.Long aclId)
|
void |
setId(java.lang.Long id)
|
void |
setPos(java.lang.Integer pos)
Set the position for the ACL-ACE relationship |
void |
setVersion(java.lang.Long version)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AclMemberEntity()
public AclMemberEntity(long aclId, long aceId, int pos)
Method Detail |
---|
public java.lang.Long getId()
getId
in interface AclMember
public void setId(java.lang.Long id)
public java.lang.Long getVersion()
public void setVersion(java.lang.Long version)
public void incrementVersion()
public java.lang.Long getAclId()
getAclId
in interface AclMember
public void setAclId(java.lang.Long aclId)
public java.lang.Long getAceId()
getAceId
in interface AclMember
public void setAceId(java.lang.Long aceId)
public java.lang.Integer getPos()
getPos
in interface AclMember
public void setPos(java.lang.Integer pos)
position
- public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |