public class AclEntity extends java.lang.Object implements Acl, java.io.Serializable
Constructor and Description |
---|
AclEntity()
Default constructor
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getAclChangeSetId()
Get the acl change set
|
java.lang.String |
getAclId()
Get the ACL ID
|
ACLType |
getAclType()
Get the type for this ACL
|
java.lang.Long |
getAclVersion()
Get the ACL version
|
java.lang.Long |
getId()
Get the long key
|
java.lang.Long |
getInheritedAcl()
Get the ACL inherited from nodes which have this ACL
|
java.lang.Boolean |
getInherits()
Get inheritance behaviour
|
java.lang.Long |
getInheritsFrom()
Get the ACL from which this one inherits
|
java.lang.Boolean |
getRequiresVersion() |
java.lang.Integer |
getType() |
java.lang.Long |
getVersion() |
int |
hashCode() |
void |
incrementVersion() |
java.lang.Boolean |
isLatest()
Is this the latest version of the acl identified by the acl id string?
|
java.lang.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(java.lang.Long aclChangeSet) |
void |
setAclId(java.lang.String aclId) |
void |
setAclType(ACLType type) |
void |
setAclVersion(java.lang.Long aclVersion) |
void |
setId(java.lang.Long id) |
void |
setInheritedAcl(java.lang.Long inheritedAcl) |
void |
setInherits(boolean inherits) |
void |
setInheritsFrom(java.lang.Long inheritsFrom) |
void |
setLatest(boolean latest) |
void |
setRequiresVersion(boolean requiresVersion) |
void |
setType(java.lang.Integer type) |
void |
setVersion(java.lang.Long version) |
void |
setVersioned(boolean isVersioned) |
java.lang.String |
toString() |
public java.lang.Long getId()
Acl
getId
in interface Acl
getId
in interface AccessControlListProperties
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.String getAclId()
Acl
getAclId
in interface Acl
getAclId
in interface AccessControlListProperties
public void setAclId(java.lang.String aclId)
public java.lang.Boolean isLatest()
Acl
isLatest
in interface Acl
isLatest
in interface AccessControlListProperties
public void setLatest(boolean latest)
public java.lang.Long getAclVersion()
Acl
getAclVersion
in interface Acl
getAclVersion
in interface AccessControlListProperties
public void setAclVersion(java.lang.Long aclVersion)
public java.lang.Boolean getInherits()
Acl
getInherits
in interface Acl
getInherits
in interface AccessControlListProperties
public void setInherits(boolean inherits)
public java.lang.Long getInheritsFrom()
Acl
getInheritsFrom
in interface Acl
public void setInheritsFrom(java.lang.Long inheritsFrom)
public java.lang.Integer getType()
public void setType(java.lang.Integer type)
public java.lang.Long getInheritedAcl()
Acl
getInheritedAcl
in interface Acl
public void setInheritedAcl(java.lang.Long inheritedAcl)
public java.lang.Boolean isVersioned()
Acl
isVersioned
in interface Acl
isVersioned
in interface AccessControlListProperties
public void setVersioned(boolean isVersioned)
public java.lang.Boolean getRequiresVersion()
getRequiresVersion
in interface Acl
public void setRequiresVersion(boolean requiresVersion)
public java.lang.Long getAclChangeSetId()
AccessControlListProperties
getAclChangeSetId
in interface Acl
getAclChangeSetId
in interface AccessControlListProperties
public void setAclChangeSetId(java.lang.Long aclChangeSet)
public ACLType getAclType()
Acl
getAclType
in interface Acl
getAclType
in interface AccessControlListProperties
public void setAclType(ACLType type)
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
Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.