org.olat.core.logging.activity
Enum ActionVerb

java.lang.Object
  extended by java.lang.Enum<ActionVerb>
      extended by org.olat.core.logging.activity.ActionVerb
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<ActionVerb>

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

Global list of actionVerbs existing in OLAT.

The actionVerb will be stored to the logging table and the idea is to keep this list short and clean

Note that the result of ActionVerb.name() will be used directly as the String stored to the database - hence use a meaningful, short (16 characters at max) String.

Initial Date: 10.11.2009

Author:
Stefan

Enum Constant Summary
add
           
close
           
copy
           
denied
           
edit
           
exit
           
hide
           
launch
           
lock
           
move
           
open
           
perform
           
remove
           
view
           
 
Method Summary
static ActionVerb valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static ActionVerb[] 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

add

public static final ActionVerb add

close

public static final ActionVerb close

copy

public static final ActionVerb copy

denied

public static final ActionVerb denied

edit

public static final ActionVerb edit

exit

public static final ActionVerb exit

hide

public static final ActionVerb hide

launch

public static final ActionVerb launch

lock

public static final ActionVerb lock

move

public static final ActionVerb move

open

public static final ActionVerb open

perform

public static final ActionVerb perform

remove

public static final ActionVerb remove

view

public static final ActionVerb view
Method Detail

values

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

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

valueOf

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