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 Constants Enum Constant Description ADD_NESTED_PROPERTYADD_PROPERTYaddNestedPropertyDeprecated.useADD_NESTED_PROPERTYinsteadaddPropertyDeprecated.useADD_PROPERTYinsteadALTER_PROPERTYalterPropertyDeprecated.useALTER_PROPERTYinsteadREMOVE_PROPERTYremovePropertyDeprecated.useREMOVE_PROPERTYinstead
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorizablePrivilegesInfo.PropertyUpdateTypesconvertDeprecated(AuthorizablePrivilegesInfo.PropertyUpdateTypes updateType)If the supplied item is one of the deprecated ones, then return the equivalent item that replaced it.static AuthorizablePrivilegesInfo.PropertyUpdateTypesvalueOf(String name)Returns the enum constant of this type with the specified name.static AuthorizablePrivilegesInfo.PropertyUpdateTypes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
addProperty
@Deprecated public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes addProperty
Deprecated.useADD_PROPERTYinstead
-
addNestedProperty
@Deprecated public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes addNestedProperty
Deprecated.useADD_NESTED_PROPERTYinstead
-
alterProperty
@Deprecated public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes alterProperty
Deprecated.useALTER_PROPERTYinstead
-
removeProperty
@Deprecated public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes removeProperty
Deprecated.useREMOVE_PROPERTYinstead
-
ADD_PROPERTY
public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes ADD_PROPERTY
-
ADD_NESTED_PROPERTY
public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes ADD_NESTED_PROPERTY
-
ALTER_PROPERTY
public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes ALTER_PROPERTY
-
REMOVE_PROPERTY
public static final AuthorizablePrivilegesInfo.PropertyUpdateTypes REMOVE_PROPERTY
-
-
Method Detail
-
values
public static AuthorizablePrivilegesInfo.PropertyUpdateTypes[] 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 (AuthorizablePrivilegesInfo.PropertyUpdateTypes c : AuthorizablePrivilegesInfo.PropertyUpdateTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AuthorizablePrivilegesInfo.PropertyUpdateTypes 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
-
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
-
-