org.opencms.file
Class CmsResource.CmsResourceCopyMode

java.lang.Object
  extended by org.opencms.util.A_CmsModeIntEnumeration
      extended by 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
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
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
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

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