Enum Class AuthorizablePrivilegesInfo.PropertyUpdateTypes
java.lang.Object
java.lang.Enum<AuthorizablePrivilegesInfo.PropertyUpdateTypes>
org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo.PropertyUpdateTypes
- All Implemented Interfaces:
Serializable,Comparable<AuthorizablePrivilegesInfo.PropertyUpdateTypes>,Constable
- Enclosing interface:
- AuthorizablePrivilegesInfo
public static enum AuthorizablePrivilegesInfo.PropertyUpdateTypes
extends Enum<AuthorizablePrivilegesInfo.PropertyUpdateTypes>
An enumeration of the possible types of property changes
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.useADD_PROPERTYinsteadDeprecated.useALTER_PROPERTYinsteadDeprecated.useREMOVE_PROPERTYinstead -
Method Summary
Modifier and TypeMethodDescriptionIf the supplied item is one of the deprecated ones, then return the equivalent item that replaced it.Returns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
addProperty
Deprecated.useADD_PROPERTYinstead -
addNestedProperty
Deprecated.useADD_NESTED_PROPERTYinstead -
alterProperty
Deprecated.useALTER_PROPERTYinstead -
removeProperty
Deprecated.useREMOVE_PROPERTYinstead -
ADD_PROPERTY
-
ADD_NESTED_PROPERTY
-
ALTER_PROPERTY
-
REMOVE_PROPERTY
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
convertDeprecated
public static AuthorizablePrivilegesInfo.PropertyUpdateTypes convertDeprecated(AuthorizablePrivilegesInfo.PropertyUpdateTypes updateType) If the supplied item is one of the deprecated ones, then return the equivalent item that replaced it.- Parameters:
updateType- the item to check- Returns:
- the non-deprecated equivalent or the original if it is not one of the deprecated items
-
ADD_NESTED_PROPERTYinstead