org.dspace.usage
Enum UsageEvent.Action

java.lang.Object
  extended by java.lang.Enum<UsageEvent.Action>
      extended by org.dspace.usage.UsageEvent.Action
All Implemented Interfaces:
Serializable, Comparable<UsageEvent.Action>
Enclosing class:
UsageEvent

public static enum UsageEvent.Action
extends Enum<UsageEvent.Action>


Enum Constant Summary
ADD
           
BROWSE
           
CREATE
           
DELETE
           
LOGIN
           
REINSTATE
           
REMOVE
           
SEARCH
           
SUBSCRIBE
           
UNSUBSCRIBE
           
UPDATE
           
VIEW
           
WITHDRAW
           
 
Method Summary
static UsageEvent.Action valueOf(String name)
          Returns the enum constant of this type with the specified name.
static UsageEvent.Action[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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 © 2010 DuraSpace. All Rights Reserved.