org.alfresco.repo.security.permissions
Class SimpleAccessControlListProperties

java.lang.Object
  extended by org.alfresco.repo.security.permissions.SimpleAccessControlListProperties
All Implemented Interfaces:
AccessControlListProperties

public class SimpleAccessControlListProperties
extends java.lang.Object
implements AccessControlListProperties

Basic implementation of access control list properties


Constructor Summary
SimpleAccessControlListProperties()
           
SimpleAccessControlListProperties(AccessControlListProperties props)
           
 
Method Summary
 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()
          The ACL DB id
 java.lang.Boolean getInherits()
          Get inheritance behaviour
 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 aclChangeSetId)
           
 void setAclId(java.lang.String aclId)
          Set the acl id
 void setAclType(ACLType aclType)
          Set the acl type
 void setAclVersion(java.lang.Long aclVersion)
          Set the acl version
 void setId(java.lang.Long id)
          Set the id
 void setInherits(boolean inherits)
          Set inheritance
 void setLatest(boolean latest)
          Set latest
 void setVersioned(boolean versioned)
          Set versioned
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleAccessControlListProperties

public SimpleAccessControlListProperties()

SimpleAccessControlListProperties

public SimpleAccessControlListProperties(AccessControlListProperties props)
Method Detail

getAclId

public java.lang.String getAclId()
Description copied from interface: AccessControlListProperties
Get the ACL ID

Specified by:
getAclId in interface AccessControlListProperties
Returns:
the acl id

getAclType

public ACLType getAclType()
Description copied from interface: AccessControlListProperties
Get the type for this ACL

Specified by:
getAclType in interface AccessControlListProperties
Returns:
the acl type

getAclVersion

public java.lang.Long getAclVersion()
Description copied from interface: AccessControlListProperties
Get the ACL version

Specified by:
getAclVersion in interface AccessControlListProperties
Returns:
the acl version

getInherits

public java.lang.Boolean getInherits()
Description copied from interface: AccessControlListProperties
Get inheritance behaviour

Specified by:
getInherits in interface AccessControlListProperties
Returns:
Returns the inheritance status of this list

isLatest

public java.lang.Boolean isLatest()
Description copied from interface: AccessControlListProperties
Is this the latest version of the acl identified by the acl id string?

Specified by:
isLatest in interface AccessControlListProperties
Returns:
- true if the acl is the latest version

isVersioned

public java.lang.Boolean isVersioned()
Description copied from interface: AccessControlListProperties
Is 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:
isVersioned in interface AccessControlListProperties
Returns:
if the acl is verioned

setAclId

public void setAclId(java.lang.String aclId)
Set the acl id

Parameters:
aclId -

setAclType

public void setAclType(ACLType aclType)
Set the acl type

Parameters:
aclType -

setAclVersion

public void setAclVersion(java.lang.Long aclVersion)
Set the acl version

Parameters:
aclVersion -

setInherits

public void setInherits(boolean inherits)
Set inheritance

Parameters:
inherits -

setLatest

public void setLatest(boolean latest)
Set latest

Parameters:
latest -

setVersioned

public void setVersioned(boolean versioned)
Set versioned

Parameters:
versioned -

getId

public java.lang.Long getId()
Description copied from interface: AccessControlListProperties
The ACL DB id

Specified by:
getId in interface AccessControlListProperties
Returns:
the id

setId

public void setId(java.lang.Long id)
Set the id

Parameters:
id -

getAclChangeSetId

public java.lang.Long getAclChangeSetId()
Description copied from interface: AccessControlListProperties
Get the acl change set

Specified by:
getAclChangeSetId in interface AccessControlListProperties
Returns:
- the id of the change set

setAclChangeSetId

public void setAclChangeSetId(java.lang.Long aclChangeSetId)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.