Class AclEntity
java.lang.Object
org.alfresco.repo.domain.permissions.AclEntity
- All Implemented Interfaces:
Serializable,Acl,AccessControlListProperties
- Direct Known Subclasses:
AclUpdateEntity
Entity for alf_acess_control_list persistence.
- Since:
- 3.4
- Author:
- janv
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGet the acl change setgetAclId()Get the ACL IDGet the type for this ACLGet the ACL versiongetId()Get the long keyGet the ACL inherited from nodes which have this ACLGet inheritance behaviourGet the ACL from which this one inheritsgetType()inthashCode()voidisLatest()Is this the latest version of the acl identified by the acl id string?Is this ACL versioned - if not there will be no old versions of the ACL and the long id will remain unchanged.voidsetAclChangeSetId(Long aclChangeSet) voidvoidsetAclType(ACLType type) voidsetAclVersion(Long aclVersion) voidvoidsetInheritedAcl(Long inheritedAcl) voidsetInherits(boolean inherits) voidsetInheritsFrom(Long inheritsFrom) voidsetLatest(boolean latest) voidsetRequiresVersion(boolean requiresVersion) voidvoidsetVersion(Long version) voidsetVersioned(boolean isVersioned) toString()
-
Constructor Details
-
AclEntity
public AclEntity()Default constructor
-
-
Method Details
-
getId
Description copied from interface:AclGet the long key- Specified by:
getIdin interfaceAccessControlListProperties- Specified by:
getIdin interfaceAcl- Returns:
- Long
-
setId
-
getVersion
-
setVersion
-
incrementVersion
public void incrementVersion() -
getAclId
Description copied from interface:AclGet the ACL ID- Specified by:
getAclIdin interfaceAccessControlListProperties- Specified by:
getAclIdin interfaceAcl- Returns:
- String
-
setAclId
-
isLatest
Description copied from interface:AclIs this the latest version of the acl identified by the acl id string?- Specified by:
isLatestin interfaceAccessControlListProperties- Specified by:
isLatestin interfaceAcl- Returns:
- Boolean
-
setLatest
public void setLatest(boolean latest) -
getAclVersion
Description copied from interface:AclGet the ACL version- Specified by:
getAclVersionin interfaceAccessControlListProperties- Specified by:
getAclVersionin interfaceAcl- Returns:
- Long
-
setAclVersion
-
getInherits
Description copied from interface:AclGet inheritance behaviour- Specified by:
getInheritsin interfaceAccessControlListProperties- Specified by:
getInheritsin interfaceAcl- Returns:
- Returns the inheritance status of this list
-
setInherits
public void setInherits(boolean inherits) -
getInheritsFrom
Description copied from interface:AclGet the ACL from which this one inherits- Specified by:
getInheritsFromin interfaceAcl- Returns:
- Long
-
setInheritsFrom
-
getType
-
setType
-
getInheritedAcl
Description copied from interface:AclGet the ACL inherited from nodes which have this ACL- Specified by:
getInheritedAclin interfaceAcl- Returns:
- Long
-
setInheritedAcl
-
isVersioned
Description copied from interface:AclIs this ACL versioned - if not there will be no old versions of the ACL and the long id will remain unchanged. If an acl is versioned it can not be updated - a new copy has to be created,- Specified by:
isVersionedin interfaceAccessControlListProperties- Specified by:
isVersionedin interfaceAcl- Returns:
- Boolean
-
setVersioned
public void setVersioned(boolean isVersioned) -
getRequiresVersion
- Specified by:
getRequiresVersionin interfaceAcl
-
setRequiresVersion
public void setRequiresVersion(boolean requiresVersion) -
getAclChangeSetId
Description copied from interface:AccessControlListPropertiesGet the acl change set- Specified by:
getAclChangeSetIdin interfaceAccessControlListProperties- Specified by:
getAclChangeSetIdin interfaceAcl- Returns:
- - the id of the change set
-
setAclChangeSetId
-
getAclType
Description copied from interface:AclGet the type for this ACL- Specified by:
getAclTypein interfaceAccessControlListProperties- Specified by:
getAclTypein interfaceAcl- Returns:
- ACLType
-
setAclType
-
hashCode
public int hashCode() -
equals
-
toString
-