com.stimulsoft.webdesigner.enums
Enum StiDesignerPermissions

java.lang.Object
  extended by java.lang.Enum<StiDesignerPermissions>
      extended by com.stimulsoft.webdesigner.enums.StiDesignerPermissions
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<StiDesignerPermissions>

public enum StiDesignerPermissions
extends java.lang.Enum<StiDesignerPermissions>

Copyright Stimulsoft


Enum Constant Summary
All
          Allow any action with an item.
Create
          Allows to create an item.
Delete
          Allows to delete an item.
Modify
          Allows to modify an item.
ModifyView
          Allows modify and view an item.
None
           
View
          Allows to view an item.
 
Field Summary
 int intValue
           
 
Method Summary
static StiDesignerPermissions forValue(int value)
           
 int getValue()
           
static StiDesignerPermissions valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static StiDesignerPermissions[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

None

public static final StiDesignerPermissions None

Create

public static final StiDesignerPermissions Create
Allows to create an item.


Delete

public static final StiDesignerPermissions Delete
Allows to delete an item.


Modify

public static final StiDesignerPermissions Modify
Allows to modify an item.


View

public static final StiDesignerPermissions View
Allows to view an item.


ModifyView

public static final StiDesignerPermissions ModifyView
Allows modify and view an item.


All

public static final StiDesignerPermissions All
Allow any action with an item.

Field Detail

intValue

public final int intValue
Method Detail

values

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

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

valueOf

public static StiDesignerPermissions valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

getValue

public int getValue()

forValue

public static StiDesignerPermissions forValue(int value)