org.dspace.usage
Enum UsageEvent.Action
java.lang.Object
java.lang.Enum<UsageEvent.Action>
org.dspace.usage.UsageEvent.Action
- All Implemented Interfaces:
- Serializable, Comparable<UsageEvent.Action>
- Enclosing class:
- UsageEvent
public static enum UsageEvent.Action
- extends Enum<UsageEvent.Action>
VIEW
public static final UsageEvent.Action VIEW
CREATE
public static final UsageEvent.Action CREATE
UPDATE
public static final UsageEvent.Action UPDATE
DELETE
public static final UsageEvent.Action DELETE
ADD
public static final UsageEvent.Action ADD
REMOVE
public static final UsageEvent.Action REMOVE
BROWSE
public static final UsageEvent.Action BROWSE
SEARCH
public static final UsageEvent.Action SEARCH
LOGIN
public static final UsageEvent.Action LOGIN
SUBSCRIBE
public static final UsageEvent.Action SUBSCRIBE
UNSUBSCRIBE
public static final UsageEvent.Action UNSUBSCRIBE
WITHDRAW
public static final UsageEvent.Action WITHDRAW
REINSTATE
public static final UsageEvent.Action REINSTATE
values
public static UsageEvent.Action[] 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 (UsageEvent.Action c : UsageEvent.Action.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static UsageEvent.Action 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
NullPointerException - if the argument is null
Copyright © 2011 DuraSpace. All Rights Reserved.