Package org.nuxeo.ecm.core.model
Enum BaseSession.VersionAclMode
- java.lang.Object
-
- java.lang.Enum<BaseSession.VersionAclMode>
-
- org.nuxeo.ecm.core.model.BaseSession.VersionAclMode
-
- All Implemented Interfaces:
Serializable
,Comparable<BaseSession.VersionAclMode>
- Enclosing class:
- BaseSession
public static enum BaseSession.VersionAclMode extends Enum<BaseSession.VersionAclMode>
INTERNAL. How we deal with ACLs on versions.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BaseSession.VersionAclMode
getConfiguration()
static BaseSession.VersionAclMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static BaseSession.VersionAclMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLED
public static final BaseSession.VersionAclMode ENABLED
Version ACL enabled.
-
DISABLED
public static final BaseSession.VersionAclMode DISABLED
Version ACL disabled.
-
LEGACY
public static final BaseSession.VersionAclMode LEGACY
Version ACL disabled for direct access but enabled for queries.
-
-
Method Detail
-
values
public static BaseSession.VersionAclMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (BaseSession.VersionAclMode c : BaseSession.VersionAclMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BaseSession.VersionAclMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getConfiguration
public static BaseSession.VersionAclMode getConfiguration()
-
-