Class SimpleAccessControlListProperties
java.lang.Object
org.alfresco.repo.security.permissions.SimpleAccessControlListProperties
- All Implemented Interfaces:
AccessControlListProperties
public class SimpleAccessControlListProperties
extends Object
implements AccessControlListProperties
Basic implementation of access control list properties
- Author:
- andyh
-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionGet the acl change setgetAclId()Get the ACL IDGet the type for this ACLGet the ACL versiongetId()The ACL DB idGet inheritance behaviourisLatest()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 aclChangeSetId) voidSet the acl idvoidsetAclType(ACLType aclType) Set the acl typevoidsetAclVersion(Long aclVersion) Set the acl versionvoidSet the idvoidsetInherits(boolean inherits) Set inheritancevoidsetLatest(boolean latest) Set latestvoidsetVersioned(boolean versioned) Set versionedtoString()
-
Constructor Details
-
SimpleAccessControlListProperties
public SimpleAccessControlListProperties() -
SimpleAccessControlListProperties
-
-
Method Details
-
toString
-
getAclId
Description copied from interface:AccessControlListPropertiesGet the ACL ID- Specified by:
getAclIdin interfaceAccessControlListProperties- Returns:
- the acl id
-
getAclType
Description copied from interface:AccessControlListPropertiesGet the type for this ACL- Specified by:
getAclTypein interfaceAccessControlListProperties- Returns:
- the acl type
-
getAclVersion
Description copied from interface:AccessControlListPropertiesGet the ACL version- Specified by:
getAclVersionin interfaceAccessControlListProperties- Returns:
- the acl version
-
getInherits
Description copied from interface:AccessControlListPropertiesGet inheritance behaviour- Specified by:
getInheritsin interfaceAccessControlListProperties- Returns:
- Returns the inheritance status of this list
-
isLatest
Description copied from interface:AccessControlListPropertiesIs this the latest version of the acl identified by the acl id string?- Specified by:
isLatestin interfaceAccessControlListProperties- Returns:
- - true if the acl is the latest version
-
isVersioned
Description copied from interface:AccessControlListPropertiesIs 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- Returns:
- if the acl is verioned
-
setAclId
Set the acl id- Parameters:
aclId- String
-
setAclType
Set the acl type- Parameters:
aclType- ACLType
-
setAclVersion
Set the acl version- Parameters:
aclVersion- Long
-
setInherits
public void setInherits(boolean inherits) Set inheritance- Parameters:
inherits- boolean
-
setLatest
public void setLatest(boolean latest) Set latest- Parameters:
latest- boolean
-
setVersioned
public void setVersioned(boolean versioned) Set versioned- Parameters:
versioned- boolean
-
getId
Description copied from interface:AccessControlListPropertiesThe ACL DB id- Specified by:
getIdin interfaceAccessControlListProperties- Returns:
- the id
-
setId
Set the id- Parameters:
id- Long
-
getAclChangeSetId
Description copied from interface:AccessControlListPropertiesGet the acl change set- Specified by:
getAclChangeSetIdin interfaceAccessControlListProperties- Returns:
- - the id of the change set
-
setAclChangeSetId
-