|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<CrudAction>
org.olat.core.logging.activity.CrudAction
public enum CrudAction
enum representing the four CRUD types which are stored with each log entry:
NOTE: Make sure that the initial of any two CrudActions are different! The initial is what is stored to the DB!
Initial Date: 20.10.2009
| Enum Constant Summary | |
|---|---|
create
a resource is created |
|
delete
a resource is deleted |
|
exit
an exit from viewing/editing/etc a resource |
|
retrieve
a resource is retrieved/read - this includes open/close |
|
update
a resource is updated |
|
| Method Summary | |
|---|---|
static CrudAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static CrudAction[] |
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 |
|---|
public static final CrudAction create
public static final CrudAction retrieve
public static final CrudAction update
public static final CrudAction delete
public static final CrudAction exit
| Method Detail |
|---|
public static CrudAction[] values()
for (CrudAction c : CrudAction.values()) System.out.println(c);
public static CrudAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||