org.alfresco.repo.domain
Interface DbAccessControlEntry

All Known Implementing Classes:
DbAccessControlEntryImpl

public interface DbAccessControlEntry

The interface against which permission entries are persisted


Method Summary
 void delete()
          Helper method to delete the instance and make sure that all inverse associations are properly maintained.
 ACEType getAceType()
          Get the ACE type
 DbAuthority getAuthority()
           
 DbAccessControlEntryContext getContext()
          Get the ACE context - may be null and may well mostly be null
 java.lang.Long getId()
           
 DbPermission getPermission()
           
 java.lang.Long getVersion()
           
 boolean isAllowed()
           
 void setAceType(ACEType type)
          Set the ACEType
 void setAllowed(boolean allowed)
          Set if this permission is allowed, otherwise it is denied.
 void setAuthority(DbAuthority authority)
           
 void setContext(DbAccessControlEntryContext context)
          Set the ACE context
 void setPermission(DbPermission permission)
           
 

Method Detail

getId

java.lang.Long getId()
Returns:
Returns the identifier for this object

getVersion

java.lang.Long getVersion()
Returns:
Returns the version number for optimistic locking

getPermission

DbPermission getPermission()
Returns:
Returns the permission to which this entry applies

setPermission

void setPermission(DbPermission permission)
Parameters:
permission - the permission to which the entry applies

getAuthority

DbAuthority getAuthority()
Returns:
Returns the authority to which this entry applies

setAuthority

void setAuthority(DbAuthority authority)
Parameters:
authority - the authority to which this entry applies

isAllowed

boolean isAllowed()
Returns:
Returns true if this permission is allowed

setAllowed

void setAllowed(boolean allowed)
Set if this permission is allowed, otherwise it is denied.

Parameters:
allowed -

getAceType

ACEType getAceType()
Get the ACE type

Returns:

setAceType

void setAceType(ACEType type)
Set the ACEType

Parameters:
type -

getContext

DbAccessControlEntryContext getContext()
Get the ACE context - may be null and may well mostly be null

Returns:

setContext

void setContext(DbAccessControlEntryContext context)
Set the ACE context

Parameters:
context -

delete

void delete()
Helper method to delete the instance and make sure that all inverse associations are properly maintained.



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