com.filenet.api.constants
Class SortOrder
- java.lang.Object
-
- com.filenet.api.constants.SortOrder
-
- All Implemented Interfaces:
- java.io.Serializable
public class SortOrder extends java.lang.Object implements java.io.Serializable
Specifies the sort order for Stored Search queries.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static SortOrder
ASCENDING
Specifies that an ascending sort order will be used.static SortOrder
DESCENDING
Specifies that a descending sort order will be used.static SortOrder
NONE
Sort order is not specified.
-
Method Summary
Methods Modifier and Type Method and Description static SortOrder
getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the*_AS_INT
fields).int
getValue()
Returns an integer value associated with a specific instance of this class.java.lang.String
toString()
Returns aString
representation of this instance.
-
-
-
Field Detail
-
NONE
public static final SortOrder NONE
Sort order is not specified.
-
ASCENDING
public static final SortOrder ASCENDING
Specifies that an ascending sort order will be used.
-
DESCENDING
public static final SortOrder DESCENDING
Specifies that a descending sort order will be used.
-
-
Method Detail
-
getValue
public int getValue()
Returns an integer value associated with a specific instance of this class.- Returns:
- An integer representing a specific instance of this class.
-
getInstanceFromInt
public static SortOrder getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the*_AS_INT
fields).- Parameters:
value
- An integer representing a particular static instance of this class.- Returns:
- The referenced
RefreshMode
instance. - Throws:
- Thrown when theEngineRuntimeException
value
parameter isnull
or invalid.
-
toString
public java.lang.String toString()
Returns aString
representation of this instance.- Overrides:
toString
in classjava.lang.Object
- Returns:
- A
String
representing the instance.
-
-