Package org.opencms.file
Class CmsResource.CmsResourceCopyMode
java.lang.Object
org.opencms.util.A_CmsModeIntEnumeration
org.opencms.file.CmsResource.CmsResourceCopyMode
- All Implemented Interfaces:
Serializable
- Enclosing class:
- CmsResource
Enumeration class for resource copy modes.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionprotected static final CmsResource.CmsResourceCopyMode
Copy mode for copy resources as new resource.protected static final CmsResource.CmsResourceCopyMode
Copy mode for copy resources as sibling.protected static final CmsResource.CmsResourceCopyMode
Copy mode to preserve siblings during copy. -
Method Summary
Modifier and TypeMethodDescriptionvalueOf
(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 Details
-
MODE_COPY_AS_NEW
Copy mode for copy resources as new resource. -
MODE_COPY_AS_SIBLING
Copy mode for copy resources as sibling. -
MODE_COPY_PRESERVE_SIBLING
Copy mode to preserve siblings during copy.
-
-
Method Details
-
valueOf
Returns the copy mode object from the old copy mode integer.- Parameters:
mode
- the old copy mode integer- Returns:
- the copy mode object
-