org.gcube.portlets.user.homelibrary.util.accesslog
Enum HLAccessLogEntryType

java.lang.Object
  extended by java.lang.Enum<HLAccessLogEntryType>
      extended by org.gcube.portlets.user.homelibrary.util.accesslog.HLAccessLogEntryType
All Implemented Interfaces:
Serializable, Comparable<HLAccessLogEntryType>

public enum HLAccessLogEntryType
extends Enum<HLAccessLogEntryType>

Author:
Federico De Faveri defaveri@isti.cnr.it

Enum Constant Summary
HL_FOLDER_ITEM_CREATED
          When a folder item is created.
HL_FOLDER_ITEM_IMPORTED
          When a folder item is imported.
HL_FOLDER_ITEM_REMOVED
          When a folder item is removed.
HL_ITEM_SENT
          When one item is sent to one or more users.
HL_WORKSPACE_CREATED
          When a new workspace is created.
 
Method Summary
static HLAccessLogEntryType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static HLAccessLogEntryType[] 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

HL_FOLDER_ITEM_CREATED

public static final HLAccessLogEntryType HL_FOLDER_ITEM_CREATED
When a folder item is created.


HL_FOLDER_ITEM_REMOVED

public static final HLAccessLogEntryType HL_FOLDER_ITEM_REMOVED
When a folder item is removed.


HL_FOLDER_ITEM_IMPORTED

public static final HLAccessLogEntryType HL_FOLDER_ITEM_IMPORTED
When a folder item is imported.


HL_ITEM_SENT

public static final HLAccessLogEntryType HL_ITEM_SENT
When one item is sent to one or more users.


HL_WORKSPACE_CREATED

public static final HLAccessLogEntryType HL_WORKSPACE_CREATED
When a new workspace is created.

Method Detail

values

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

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

valueOf

public static HLAccessLogEntryType 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 © 2013. All Rights Reserved.