public class SimpleAccessControlListProperties extends Object implements AccessControlListProperties
Constructor and Description |
---|
SimpleAccessControlListProperties() |
SimpleAccessControlListProperties(AccessControlListProperties props) |
Modifier and Type | Method and Description |
---|---|
Long |
getAclChangeSetId()
Get the acl change set
|
String |
getAclId()
Get the ACL ID
|
ACLType |
getAclType()
Get the type for this ACL
|
Long |
getAclVersion()
Get the ACL version
|
Long |
getId()
The ACL DB id
|
Boolean |
getInherits()
Get inheritance behaviour
|
Boolean |
isLatest()
Is this the latest version of the acl identified by the acl id string?
|
Boolean |
isVersioned()
Is this ACL versioned - if not there will be no old versions of the ACL
and the long id will remain unchanged.
|
void |
setAclChangeSetId(Long aclChangeSetId) |
void |
setAclId(String aclId)
Set the acl id
|
void |
setAclType(ACLType aclType)
Set the acl type
|
void |
setAclVersion(Long aclVersion)
Set the acl version
|
void |
setId(Long id)
Set the id
|
void |
setInherits(boolean inherits)
Set inheritance
|
void |
setLatest(boolean latest)
Set latest
|
void |
setVersioned(boolean versioned)
Set versioned
|
String |
toString() |
public SimpleAccessControlListProperties()
public SimpleAccessControlListProperties(AccessControlListProperties props)
public String getAclId()
AccessControlListProperties
getAclId
in interface AccessControlListProperties
public ACLType getAclType()
AccessControlListProperties
getAclType
in interface AccessControlListProperties
public Long getAclVersion()
AccessControlListProperties
getAclVersion
in interface AccessControlListProperties
public Boolean getInherits()
AccessControlListProperties
getInherits
in interface AccessControlListProperties
public Boolean isLatest()
AccessControlListProperties
isLatest
in interface AccessControlListProperties
public Boolean isVersioned()
AccessControlListProperties
isVersioned
in interface AccessControlListProperties
public void setAclId(String aclId)
aclId
- Stringpublic void setAclType(ACLType aclType)
aclType
- ACLTypepublic void setAclVersion(Long aclVersion)
aclVersion
- Longpublic void setInherits(boolean inherits)
inherits
- booleanpublic void setLatest(boolean latest)
latest
- booleanpublic void setVersioned(boolean versioned)
versioned
- booleanpublic Long getId()
AccessControlListProperties
getId
in interface AccessControlListProperties
public void setId(Long id)
id
- Longpublic Long getAclChangeSetId()
AccessControlListProperties
getAclChangeSetId
in interface AccessControlListProperties
public void setAclChangeSetId(Long aclChangeSetId)
Copyright © 2005–2017 Alfresco Software. All rights reserved.