|
Project: stp | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<CqQueryFolderItem.OverwriteMode>
CqQueryFolderItem.OverwriteMode
public static enum CqQueryFolderItem.OverwriteMode
An enumeration of the values for specifying what doCopy and/or doMove should do when a resource already exists at the targeted destination.
Enum Constant Summary | |
---|---|
FORBID
If a resource exists at the target location, the operation will fail; the resource at the target location will not be overwritten. |
|
MERGE
If the source resource is a folder and a folder exists at the target location, that folder is not deleted, but the contents of the source folder are merged with the contents of the target folder and this rule is applied recursively for each member of the source folder. |
|
REPLACE
If a resource exists at the target location, that resource is to be deleted and replaced by the source resource. |
Method Summary | |
---|---|
static CqQueryFolderItem.OverwriteMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CqQueryFolderItem.OverwriteMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class Enum |
---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CqQueryFolderItem.OverwriteMode FORBID
public static final CqQueryFolderItem.OverwriteMode MERGE
public static final CqQueryFolderItem.OverwriteMode REPLACE
Method Detail |
---|
public static CqQueryFolderItem.OverwriteMode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified namepublic static final CqQueryFolderItem.OverwriteMode[] values()
for(CqQueryFolderItem.OverwriteMode c : CqQueryFolderItem.OverwriteMode.values()) System.out.println(c);
|
Generated Fri 26-Feb-2010 04:01 AM | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |