Package org.opencms.file
Class CmsResource.CmsResourceDeleteMode
- java.lang.Object
-
- org.opencms.util.A_CmsModeIntEnumeration
-
- org.opencms.file.CmsResource.CmsResourceDeleteMode
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CmsResource
public static final class CmsResource.CmsResourceDeleteMode extends A_CmsModeIntEnumeration
Enumeration class for resource delete modes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static CmsResource.CmsResourceDeleteMode
MODE_DELETE_PRESERVE_SIBLINGS
Signals that siblings of this resource should not be deleted.protected static CmsResource.CmsResourceDeleteMode
MODE_DELETE_REMOVE_SIBLINGS
Signals that siblings of this resource should be deleted.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsResource.CmsResourceDeleteMode
valueOf(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 Detail
-
MODE_DELETE_PRESERVE_SIBLINGS
protected static final CmsResource.CmsResourceDeleteMode MODE_DELETE_PRESERVE_SIBLINGS
Signals that siblings of this resource should not be deleted.
-
MODE_DELETE_REMOVE_SIBLINGS
protected static final CmsResource.CmsResourceDeleteMode MODE_DELETE_REMOVE_SIBLINGS
Signals that siblings of this resource should be deleted.
-
-
Method Detail
-
valueOf
public static CmsResource.CmsResourceDeleteMode valueOf(int mode)
Returns the delete mode object from the old delete mode integer.- Parameters:
mode
- the old delete mode integer- Returns:
- the delete mode object
-
-