Package org.opencms.file
Class CmsResource.CmsResourceDeleteMode
java.lang.Object
org.opencms.util.A_CmsModeIntEnumeration
org.opencms.file.CmsResource.CmsResourceDeleteMode
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CmsResource
Enumeration class for resource delete modes.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CmsResource.CmsResourceDeleteMode
Signals that siblings of this resource should not be deleted.protected static final CmsResource.CmsResourceDeleteMode
Signals that siblings of this resource should be deleted. -
Method Summary
Modifier and TypeMethodDescriptionvalueOf
(int mode) Returns the delete mode object from the old delete mode integer.Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
-
Field Details
-
MODE_DELETE_PRESERVE_SIBLINGS
Signals that siblings of this resource should not be deleted. -
MODE_DELETE_REMOVE_SIBLINGS
Signals that siblings of this resource should be deleted.
-
-
Method Details
-
valueOf
Returns the delete mode object from the old delete mode integer.- Parameters:
mode
- the old delete mode integer- Returns:
- the delete mode object
-