Enum AuthorizablePrivilegesInfo.PropertyUpdateTypes
java.lang.Object
java.lang.Enum<AuthorizablePrivilegesInfo.PropertyUpdateTypes>
org.apache.sling.jackrabbit.usermanager.AuthorizablePrivilegesInfo.PropertyUpdateTypes
- All Implemented Interfaces:
Serializable
,Comparable<AuthorizablePrivilegesInfo.PropertyUpdateTypes>
- Enclosing interface:
- AuthorizablePrivilegesInfo
public static enum AuthorizablePrivilegesInfo.PropertyUpdateTypes
extends Enum<AuthorizablePrivilegesInfo.PropertyUpdateTypes>
An enumeration of the possible types of property changes
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeprecated.Deprecated.useADD_PROPERTY
insteadDeprecated.useALTER_PROPERTY
insteadDeprecated.useREMOVE_PROPERTY
instead -
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 type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
addProperty
Deprecated.useADD_PROPERTY
instead -
addNestedProperty
Deprecated.useADD_NESTED_PROPERTY
instead -
alterProperty
Deprecated.useALTER_PROPERTY
instead -
removeProperty
Deprecated.useREMOVE_PROPERTY
instead -
ADD_PROPERTY
-
ADD_NESTED_PROPERTY
-
ALTER_PROPERTY
-
REMOVE_PROPERTY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
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_PROPERTY
instead