com.filenet.api.constants
Class VersionSelection
- java.lang.Object
-
- com.filenet.api.constants.VersionSelection
-
- All Implemented Interfaces:
- java.io.Serializable
public class VersionSelection extends java.lang.Object implements java.io.SerializableSpecifies the document version that will be included in a Stored Search query.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field and Description static VersionSelectionALL_VERSIONSSpecifies that all document versions will be returned in the query.static VersionSelectionCURRENT_VERSIONSpecifies that only the current document version will be returned in the query.static VersionSelectionRELEASED_VERSIONSpecifies that only the released document version will be returned in the query.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description static VersionSelectiongetInstanceFromInt(int value)Gets an instance of this class using its associated integer value (the*_AS_INTfields).intgetValue()Returns an integer value associated with a specific instance of this class.java.lang.StringtoString()Returns aStringrepresentation of this instance.
-
-
-
Field Detail
-
ALL_VERSIONS
public static final VersionSelection ALL_VERSIONS
Specifies that all document versions will be returned in the query.
-
CURRENT_VERSION
public static final VersionSelection CURRENT_VERSION
Specifies that only the current document version will be returned in the query.
-
RELEASED_VERSION
public static final VersionSelection RELEASED_VERSION
Specifies that only the released document version will be returned in the query.
-
-
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 VersionSelection getInstanceFromInt(int value)
Gets an instance of this class using its associated integer value (the*_AS_INTfields).- Parameters:
value- An integer representing a particular static instance of this class.- Returns:
- The referenced
RefreshModeinstance. - Throws:
- Thrown when theEngineRuntimeExceptionvalueparameter isnullor invalid.
-
toString
public java.lang.String toString()
Returns aStringrepresentation of this instance.- Overrides:
toStringin classjava.lang.Object- Returns:
- A
Stringrepresenting the instance.
-
-