de.espirit.firstspirit.storage
Enum PermissionChangeDetail.ChangeFlag

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

public static enum PermissionChangeDetail.ChangeFlag
extends Enum<PermissionChangeDetail.ChangeFlag>

Flag identifiying the type of change.

Since:
4.0.59

Enum Constant Summary
CHANGED
          Indicates that the permission definition has changed in the belonging revision for the belonging storeelement.
DEFINED
          Indicates that the permisson attribute was initially created in the belonging revision for the belonging storeelement.
REMOVED
          Indicates that the permission definition was removed in the belonging revision for the belonging storeelement.
 
Method Summary
static PermissionChangeDetail.ChangeFlag valueOf(String name)
          Returns the enum constant of this type with the specified name.
static PermissionChangeDetail.ChangeFlag[] 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

DEFINED

public static final PermissionChangeDetail.ChangeFlag DEFINED
Indicates that the permisson attribute was initially created in the belonging revision for the belonging storeelement. Hierarchical inheritance of permissions was broken

Since:
4.0.59

CHANGED

public static final PermissionChangeDetail.ChangeFlag CHANGED
Indicates that the permission definition has changed in the belonging revision for the belonging storeelement.

Since:
4.0.59

REMOVED

public static final PermissionChangeDetail.ChangeFlag REMOVED
Indicates that the permission definition was removed in the belonging revision for the belonging storeelement. Hierachical inheritance of permissions is reactivated.

Since:
4.0.59
Method Detail

values

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

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

valueOf

public static PermissionChangeDetail.ChangeFlag 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