de.espirit.firstspirit.storage
Enum RevisionOperation.OperationType

java.lang.Object
  extended by java.lang.Enum<RevisionOperation.OperationType>
      extended by de.espirit.firstspirit.storage.RevisionOperation.OperationType
All Implemented Interfaces:
Serializable, Comparable<RevisionOperation.OperationType>
Enclosing interface:
RevisionOperation<T>

public static enum RevisionOperation.OperationType
extends Enum<RevisionOperation.OperationType>

The type of the revision operation.

Since:
4.0.120

Enum Constant Summary
CONTENT_COMMIT
          Indicates a commit of content changes.
CREATE
          Indicates a create operation
DELETE
          Indicates a delete operation
MODIFY
          Indicates a modification operation
MOVE
          Indicates a move operation
RELEASE
          Indicates a release operation
SERVER_RELEASE
          Indicates a server release operation
 
Method Summary
static RevisionOperation.OperationType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static RevisionOperation.OperationType[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CREATE

public static final RevisionOperation.OperationType CREATE
Indicates a create operation

Since:
4.0.122
See Also:
PageFolder.createPage(String, de.espirit.firstspirit.access.store.templatestore.Template), CreateOperation

MODIFY

public static final RevisionOperation.OperationType MODIFY
Indicates a modification operation

Since:
4.0.122
See Also:
StoreElement.save(), ModifyOperation

MOVE

public static final RevisionOperation.OperationType MOVE
Indicates a move operation

Since:
4.0.120
See Also:
IDProvider.moveChild(de.espirit.firstspirit.access.store.IDProvider), MoveOperation

DELETE

public static final RevisionOperation.OperationType DELETE
Indicates a delete operation

Since:
4.0.120
See Also:
StoreElement.delete(), DeleteOperation

CONTENT_COMMIT

public static final RevisionOperation.OperationType CONTENT_COMMIT
Indicates a commit of content changes.

Since:
4.0.122
See Also:
Session.commit(), ContentOperation

RELEASE

public static final RevisionOperation.OperationType RELEASE
Indicates a release operation

Since:
4.0.122
See Also:
IDProvider.release(), ReleaseOperation

SERVER_RELEASE

public static final RevisionOperation.OperationType SERVER_RELEASE
Indicates a server release operation

Since:
4.0.124
See Also:
AccessUtil.release(de.espirit.firstspirit.access.store.IDProvider, boolean), ServerReleaseOperation
Method Detail

values

public static final RevisionOperation.OperationType[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RevisionOperation.OperationType c : RevisionOperation.OperationType.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RevisionOperation.OperationType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name


Copyright © 2012 e-Spirit AG. All Rights Reserved. Build 4.2.480