Package org.alfresco.opencmis
Enum CMISAccessControlFormatEnum
- java.lang.Object
-
- java.lang.Enum<CMISAccessControlFormatEnum>
-
- org.alfresco.opencmis.CMISAccessControlFormatEnum
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CMISAccessControlFormatEnum>
,EnumLabel
public enum CMISAccessControlFormatEnum extends java.lang.Enum<CMISAccessControlFormatEnum> implements EnumLabel
- Author:
- andyh
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CMIS_BASIC_PERMISSIONS
Report only CMIS basic permissionsREPOSITORY_SPECIFIC_PERMISSIONS
May report CMIS basic permission, repository specific permissions or a mixture of both.
-
Field Summary
Fields Modifier and Type Field Description static EnumFactory<CMISAccessControlFormatEnum>
FACTORY
Factory for CMISAclPropagationEnum
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getLabel()
Gets the enum label (as defined by CMIS)static CMISAccessControlFormatEnum
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CMISAccessControlFormatEnum[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CMIS_BASIC_PERMISSIONS
public static final CMISAccessControlFormatEnum CMIS_BASIC_PERMISSIONS
Report only CMIS basic permissions
-
REPOSITORY_SPECIFIC_PERMISSIONS
public static final CMISAccessControlFormatEnum REPOSITORY_SPECIFIC_PERMISSIONS
May report CMIS basic permission, repository specific permissions or a mixture of both.
-
-
Field Detail
-
FACTORY
public static EnumFactory<CMISAccessControlFormatEnum> FACTORY
Factory for CMISAclPropagationEnum
-
-
Method Detail
-
values
public static CMISAccessControlFormatEnum[] 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 (CMISAccessControlFormatEnum c : CMISAccessControlFormatEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CMISAccessControlFormatEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-