|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<VersionStrategy> com.ibm.workplace.wcm.api.versioning.VersionStrategy
public enum VersionStrategy
The version strategy defines the policy used to version a given item.
The Global version strategy for each item type is defined in the WCM Config properties. For templated items such as Content, the items template can also override the configured value.
Note that workflowed items in draft state are never versioned so the version strategy does not directly apply.
Enum Constant Summary | |
---|---|
AUTOMATIC
A version is saved each time you save an item, or if the item is participating in a workflow, each time the item's state changes to published. |
|
MANUAL
By default no version are created. |
|
NEVER
Versions are never created for this item |
Method Summary | |
---|---|
static VersionStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static VersionStrategy[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final VersionStrategy MANUAL
public static final VersionStrategy AUTOMATIC
public static final VersionStrategy NEVER
Method Detail |
---|
public static VersionStrategy[] values()
for (VersionStrategy c : VersionStrategy.values()) System.out.println(c);
public static VersionStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |