org.alfresco.repo.domain.permissions
Interface Acl

All Superinterfaces:
AccessControlListProperties
All Known Implementing Classes:
AclEntity, AclUpdateEntity

public interface Acl
extends AccessControlListProperties

Entity for alf_access_control_list persistence.

Since:
3.4

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()
          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.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.
 

Method Detail

getId

java.lang.Long getId()
Get the long key

Specified by:
getId in interface AccessControlListProperties
Returns:

getAclId

java.lang.String getAclId()
Get the ACL ID

Specified by:
getAclId in interface AccessControlListProperties
Returns:

getAclVersion

java.lang.Long getAclVersion()
Get the ACL version

Specified by:
getAclVersion in interface AccessControlListProperties
Returns:

isLatest

java.lang.Boolean isLatest()
Is this the latest version of the acl identified by the acl id string?

Specified by:
isLatest in interface AccessControlListProperties
Returns:

getInherits

java.lang.Boolean getInherits()
Get inheritance behaviour

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

getInheritsFrom

java.lang.Long getInheritsFrom()
Get the ACL from which this one inherits

Returns:

getAclType

ACLType getAclType()
Get the type for this ACL

Specified by:
getAclType in interface AccessControlListProperties
Returns:

getInheritedAcl

java.lang.Long getInheritedAcl()
Get the ACL inherited from nodes which have this ACL

Returns:

isVersioned

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. If an acl is versioned it can not be updated - a new copy has to be created,

Specified by:
isVersioned in interface AccessControlListProperties
Returns:

getRequiresVersion

java.lang.Boolean getRequiresVersion()

getAclChangeSetId

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


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