Enum Constant Summary
Enum Constants
Download of a file (pdf, epub) belonging to a record
REST-call to an image or other media resource of a record
Call of a viewer html page belonging to a record
Method Summary
All Methods Static Methods Instance Methods Concrete Methods
Get a message key serving as label to this type
int
int
Index of the total request count within the array of values of the SOLR-field recording requests for a record
Get the RequestType for the given index of the count array for total count in the SOLR field for the counts of a record identifier
Get the RequestType for the given index of the count array for unique count in the SOLR field for the counts of a record identifier
int
Index of the count of requests by a unique http session within the array of values of the SOLR-field recording requests for a record
Get the values for which request are recorded
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
RECORD_VIEW
Call of a viewer html page belonging to a record
FILE_DOWNLOAD
Download of a file (pdf, epub) belonging to a record
Method Details
values
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (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 class has no constant with the specified name
NullPointerException
- if the argument is null
getLabel
Get a message key serving as label to this type
Returns:
a message key
getTotalCountIndex
public int getTotalCountIndex ()
Index of the total request count within the array of values of the SOLR-field recording requests for a record
Returns:
the totalCountIndex
getUniqueCountIndex
public int getUniqueCountIndex ()
Index of the count of requests by a unique http session within the array of values of the SOLR-field recording requests for a record
Returns:
the uniqueCountIndex
getSessionCountIndex
public int getSessionCountIndex ()
Returns:
the ordinal of the instance
getTypeForSessionCountIndex
public static RequestType getTypeForSessionCountIndex (int index)
Parameters:
index
-
Returns:
the type
getTypeForTotalCountIndex
public static RequestType getTypeForTotalCountIndex (int index)
Get the RequestType for the given index of the count array for total count in the SOLR field for the counts of a record identifier
Parameters:
index
-
Returns:
the type
getTypeForUniqueCountIndex
public static RequestType getTypeForUniqueCountIndex (int index)
Get the RequestType for the given index of the count array for unique count in the SOLR field for the counts of a record identifier
Parameters:
index
-
Returns:
the type
getUsedValues
Get the values for which request are recorded
Returns:
An array