Enum CmsContainerpageController.ElementRemoveMode
- java.lang.Object
-
- java.lang.Enum<CmsContainerpageController.ElementRemoveMode>
-
- org.opencms.ade.containerpage.client.CmsContainerpageController.ElementRemoveMode
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<CmsContainerpageController.ElementRemoveMode>
- Enclosing class:
- CmsContainerpageController
public static enum CmsContainerpageController.ElementRemoveMode extends java.lang.Enum<CmsContainerpageController.ElementRemoveMode>
Enum which is used to control how elements are removed from the page.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description confirmRemove
Reference checks are performed and the user is asked for confirmation whether they really want to remove the element before the page is saved.saveAndCheckReferences
Reference checks are only performed after the page or group has been saved.silent
Element is just removed, no checks are performed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsContainerpageController.ElementRemoveMode
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsContainerpageController.ElementRemoveMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
confirmRemove
public static final CmsContainerpageController.ElementRemoveMode confirmRemove
Reference checks are performed and the user is asked for confirmation whether they really want to remove the element before the page is saved.
-
saveAndCheckReferences
public static final CmsContainerpageController.ElementRemoveMode saveAndCheckReferences
Reference checks are only performed after the page or group has been saved.
-
silent
public static final CmsContainerpageController.ElementRemoveMode silent
Element is just removed, no checks are performed.
-
-
Method Detail
-
values
public static CmsContainerpageController.ElementRemoveMode[] 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 (CmsContainerpageController.ElementRemoveMode c : CmsContainerpageController.ElementRemoveMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsContainerpageController.ElementRemoveMode 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
-
-