public static final class CmsResource.CmsResourceUndoMode extends A_CmsModeIntEnumeration
Modifier and Type | Field and Description |
---|---|
static CmsResource.CmsResourceUndoMode |
MODE_UNDO_CONTENT
Indicates that the undo method will only undo content changes.
|
static CmsResource.CmsResourceUndoMode |
MODE_UNDO_CONTENT_RECURSIVE
Indicates that the undo method will only recursive undo content changes.
|
static CmsResource.CmsResourceUndoMode |
MODE_UNDO_MOVE_CONTENT
Indicates that the undo method will undo move operations and content changes.
|
static CmsResource.CmsResourceUndoMode |
MODE_UNDO_MOVE_CONTENT_RECURSIVE
Indicates that the undo method will undo move operations and recursive content changes.
|
Modifier and Type | Method and Description |
---|---|
static CmsResource.CmsResourceUndoMode |
getUndoMode(boolean move,
boolean recursive)
Gets the undo mode for the given parameters.
|
CmsResource.CmsResourceUndoMode |
includeMove()
Returns a mode that includes the move operation with the same semantic as this mode.
|
boolean |
isRecursive()
Returns
true if this undo operation is recursive. |
boolean |
isUndoMove()
Returns
true if this undo mode will undo move operations. |
java.lang.String |
toString() |
static CmsResource.CmsResourceUndoMode |
valueOf(int mode)
Returns the undo mode object from the old undo mode integer.
|
equals, getMode, hashCode
public static final CmsResource.CmsResourceUndoMode MODE_UNDO_CONTENT
public static final CmsResource.CmsResourceUndoMode MODE_UNDO_CONTENT_RECURSIVE
public static final CmsResource.CmsResourceUndoMode MODE_UNDO_MOVE_CONTENT
public static final CmsResource.CmsResourceUndoMode MODE_UNDO_MOVE_CONTENT_RECURSIVE
public static CmsResource.CmsResourceUndoMode getUndoMode(boolean move, boolean recursive)
move
- flag for undoing move operationsrecursive
- flag for recursive undopublic static CmsResource.CmsResourceUndoMode valueOf(int mode)
mode
- the old undo mode integerpublic CmsResource.CmsResourceUndoMode includeMove()
public boolean isRecursive()
true
if this undo operation is recursive.true
if this undo operation is recursivepublic boolean isUndoMove()
true
if this undo mode will undo move operations.true
if this undo mode will undo move operationspublic java.lang.String toString()
toString
in class A_CmsModeIntEnumeration
Object.toString()