org.alfresco.repo.security.permissions
Class ACEType

java.lang.Object
  extended by java.lang.Enum
      extended by org.alfresco.repo.security.permissions.ACEType
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public class ACEType
extends java.lang.Enum

The ACE Type

See Also:
Serialized Form

Field Summary
static ACEType ALL
          ACE applies to the object and its children
static ACEType CHILDREN
          ACE only applies to children
static ACEType OBJECT
          ACE applies to the object only
 
Method Summary
static ACEType getACETypeFromId(int id)
          Get the ACEType from the value stored in the DB.
abstract  int getId()
          Get the id for the ACEType stored in the DB.
static ACEType valueOf(java.lang.String name)
           
static ACEType[] values()
           
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL

public static final ACEType ALL
ACE applies to the object and its children


OBJECT

public static final ACEType OBJECT
ACE applies to the object only


CHILDREN

public static final ACEType CHILDREN
ACE only applies to children

Method Detail

values

public static ACEType[] values()

valueOf

public static ACEType valueOf(java.lang.String name)

getId

public abstract int getId()
Get the id for the ACEType stored in the DB.

Returns:

getACETypeFromId

public static ACEType getACETypeFromId(int id)
Get the ACEType from the value stored in the DB.

Parameters:
id -
Returns:


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