Package org.opencms.file
Class CmsResource.CmsResourceCopyMode
- java.lang.Object
-
- org.opencms.util.A_CmsModeIntEnumeration
-
- org.opencms.file.CmsResource.CmsResourceCopyMode
-
- All Implemented Interfaces:
java.io.Serializable
- Enclosing class:
- CmsResource
public static final class CmsResource.CmsResourceCopyMode extends A_CmsModeIntEnumeration
Enumeration class for resource copy modes.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected static CmsResource.CmsResourceCopyMode
MODE_COPY_AS_NEW
Copy mode for copy resources as new resource.protected static CmsResource.CmsResourceCopyMode
MODE_COPY_AS_SIBLING
Copy mode for copy resources as sibling.protected static CmsResource.CmsResourceCopyMode
MODE_COPY_PRESERVE_SIBLING
Copy mode to preserve siblings during copy.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsResource.CmsResourceCopyMode
valueOf(int mode)
Returns the copy mode object from the old copy mode integer.-
Methods inherited from class org.opencms.util.A_CmsModeIntEnumeration
equals, getMode, hashCode, toString
-
-
-
-
Field Detail
-
MODE_COPY_AS_NEW
protected static final CmsResource.CmsResourceCopyMode MODE_COPY_AS_NEW
Copy mode for copy resources as new resource.
-
MODE_COPY_AS_SIBLING
protected static final CmsResource.CmsResourceCopyMode MODE_COPY_AS_SIBLING
Copy mode for copy resources as sibling.
-
MODE_COPY_PRESERVE_SIBLING
protected static final CmsResource.CmsResourceCopyMode MODE_COPY_PRESERVE_SIBLING
Copy mode to preserve siblings during copy.
-
-
Method Detail
-
valueOf
public static CmsResource.CmsResourceCopyMode valueOf(int mode)
Returns the copy mode object from the old copy mode integer.- Parameters:
mode
- the old copy mode integer- Returns:
- the copy mode object
-
-