com.ibm.portal.cp
Enum Constants.OrderMetric

java.lang.Object
  extended by java.lang.Enum<Constants.OrderMetric>
      extended by com.ibm.portal.cp.Constants.OrderMetric
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Constants.OrderMetric>
Enclosing interface:
Constants

public static enum Constants.OrderMetric
extends java.lang.Enum<Constants.OrderMetric>

Enum defining valid order metrics for sorting result sets


Enum Constant Summary
DEFAULT
           
RATING_CREATION_DATE
           
RATING_ID
           
RATING_LAST_MODIFIED_DATE
           
RATING_OWNER_ID
           
RATING_RESOURCE_ID
           
RATING_SCOPE
           
RATING_SPACE_COUNT
           
RATING_SPACE_CREATION_DATE
           
RATING_SPACE_LAST_MODIFIED_DATE
           
RATING_SPACE_VALUE
           
RATING_VALUE
           
RESOURCE_CREATION_DATE
           
RESOURCE_ID
           
RESOURCE_LAST_MODIFIED_DATE
           
RESOURCE_RATING
          For sorting resources by their rating
Note: Sorting resources by rating might be very expensive.
RESOURCE_SCHEME_SPECIFIC_PART
           
RESOURCE_TITLE
          For sorting by the title of a resource.
Note: Sorting resources by title might be very expensive.
RESOURCE_TYPE_SCHEMA
           
RESOURCE_URI
           
TAG_CREATION_DATE
           
TAG_ID
           
TAG_LAST_MODIFIED_DATE
           
TAG_LOCALE
           
TAG_NAME
           
TAG_OWNER_ID
           
TAG_RESOURCE_ID
           
TAG_SPACE_COUNT
           
TAG_SPACE_COUNT_NAME
           
TAG_SPACE_COUNT_REVERSE_NAME
          Same as TAG_SPACE_COUNT_NAME but name will be ordered reverse.
TAG_SPACE_CREATION_DATE
           
TAG_SPACE_LAST_MODIFIED_DATE
           
TAG_SPACE_NAME
           
USER_USER_ID
           
 
Method Summary
static Constants.OrderMetric valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Constants.OrderMetric valueOfIgnoreCase(java.lang.String name)
          Returns the enum constant of the specified name ignoring upper and lower cases.
static Constants.OrderMetric[] 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

DEFAULT

public static final Constants.OrderMetric DEFAULT

TAG_ID

public static final Constants.OrderMetric TAG_ID

TAG_CREATION_DATE

public static final Constants.OrderMetric TAG_CREATION_DATE

TAG_LAST_MODIFIED_DATE

public static final Constants.OrderMetric TAG_LAST_MODIFIED_DATE

TAG_LOCALE

public static final Constants.OrderMetric TAG_LOCALE

TAG_NAME

public static final Constants.OrderMetric TAG_NAME

TAG_RESOURCE_ID

public static final Constants.OrderMetric TAG_RESOURCE_ID

TAG_OWNER_ID

public static final Constants.OrderMetric TAG_OWNER_ID

TAG_SPACE_NAME

public static final Constants.OrderMetric TAG_SPACE_NAME

TAG_SPACE_COUNT

public static final Constants.OrderMetric TAG_SPACE_COUNT

TAG_SPACE_CREATION_DATE

public static final Constants.OrderMetric TAG_SPACE_CREATION_DATE

TAG_SPACE_LAST_MODIFIED_DATE

public static final Constants.OrderMetric TAG_SPACE_LAST_MODIFIED_DATE

TAG_SPACE_COUNT_NAME

public static final Constants.OrderMetric TAG_SPACE_COUNT_NAME

TAG_SPACE_COUNT_REVERSE_NAME

public static final Constants.OrderMetric TAG_SPACE_COUNT_REVERSE_NAME
Same as TAG_SPACE_COUNT_NAME but name will be ordered reverse.


RATING_ID

public static final Constants.OrderMetric RATING_ID

RATING_CREATION_DATE

public static final Constants.OrderMetric RATING_CREATION_DATE

RATING_LAST_MODIFIED_DATE

public static final Constants.OrderMetric RATING_LAST_MODIFIED_DATE

RATING_VALUE

public static final Constants.OrderMetric RATING_VALUE

RATING_RESOURCE_ID

public static final Constants.OrderMetric RATING_RESOURCE_ID

RATING_OWNER_ID

public static final Constants.OrderMetric RATING_OWNER_ID

RATING_SCOPE

public static final Constants.OrderMetric RATING_SCOPE

RATING_SPACE_VALUE

public static final Constants.OrderMetric RATING_SPACE_VALUE

RATING_SPACE_COUNT

public static final Constants.OrderMetric RATING_SPACE_COUNT

RATING_SPACE_CREATION_DATE

public static final Constants.OrderMetric RATING_SPACE_CREATION_DATE

RATING_SPACE_LAST_MODIFIED_DATE

public static final Constants.OrderMetric RATING_SPACE_LAST_MODIFIED_DATE

RESOURCE_ID

public static final Constants.OrderMetric RESOURCE_ID

RESOURCE_CREATION_DATE

public static final Constants.OrderMetric RESOURCE_CREATION_DATE

RESOURCE_LAST_MODIFIED_DATE

public static final Constants.OrderMetric RESOURCE_LAST_MODIFIED_DATE

RESOURCE_TYPE_SCHEMA

public static final Constants.OrderMetric RESOURCE_TYPE_SCHEMA

RESOURCE_SCHEME_SPECIFIC_PART

public static final Constants.OrderMetric RESOURCE_SCHEME_SPECIFIC_PART

RESOURCE_URI

public static final Constants.OrderMetric RESOURCE_URI

RESOURCE_TITLE

public static final Constants.OrderMetric RESOURCE_TITLE
For sorting by the title of a resource.
Note: Sorting resources by title might be very expensive.


RESOURCE_RATING

public static final Constants.OrderMetric RESOURCE_RATING
For sorting resources by their rating
Note: Sorting resources by rating might be very expensive.


USER_USER_ID

public static final Constants.OrderMetric USER_USER_ID
Method Detail

values

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

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

valueOf

public static Constants.OrderMetric valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

valueOfIgnoreCase

public static Constants.OrderMetric valueOfIgnoreCase(java.lang.String name)
Returns the enum constant of the specified name ignoring upper and lower cases.

Parameters:
name - the name of the constant to return
Returns:
the enum constant with the specified name