de.espirit.firstspirit.storage
Enum ChangeType

java.lang.Object
  extended by java.lang.Enum<ChangeType>
      extended by de.espirit.firstspirit.storage.ChangeType
All Implemented Interfaces:
Serializable, Comparable<ChangeType>

public enum ChangeType
extends Enum<ChangeType>

This enum represents change types used for storeelement changes in RevisionMetaData.getChangedStoreElements()

Since:
4.0.59

Enum Constant Summary
CHILDREN
          Indicates changes in children list of the related storeelement.
DATA_XML
          Indicates changes in data of related storeelement.
META_DATA_XML
          Indicates changes in meta data content.
PERMISSION
          Indicates permission changes in related storeelement.
REFERENCES
          Indicates changes in the reference list of the related store element.
XML
          Indicates any changes in xml node of related storeelement (e.g. displayname changes).
 
Method Summary
static ChangeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ChangeType[] 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

PERMISSION

public static final ChangeType PERMISSION
Indicates permission changes in related storeelement. Belonging change detail is of type PermissionChangeDetail

Since:
4.0.59

XML

public static final ChangeType XML
Indicates any changes in xml node of related storeelement (e.g. displayname changes).

Since:
4.0.90

DATA_XML

public static final ChangeType DATA_XML
Indicates changes in data of related storeelement.
Belonging change detail is of type DataChangeDetail

Since:
4.0.90

META_DATA_XML

public static final ChangeType META_DATA_XML
Indicates changes in meta data content.
Belonging change detail is of type DataChangeDetail

Since:
4.0.90

CHILDREN

public static final ChangeType CHILDREN
Indicates changes in children list of the related storeelement.
Belonging change detail is of type ChildrenChangeDetail

Since:
4.0.120

REFERENCES

public static final ChangeType REFERENCES
Indicates changes in the reference list of the related store element.
Belonging change detail is of type ReferencesChangeDetail

Since:
4.2.400
Method Detail

values

public static final ChangeType[] 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(ChangeType c : ChangeType.values())
        System.out.println(c);

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

valueOf

public static ChangeType 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