|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.filenet.api.constants.VersionStatus
public final class VersionStatus
Provides a set of constants that allow the server to specify the current version state of a document version. A document version can be an in-process (latest) minor version, a released (latest) major version, a reservation (checked-out) version, or a superseded minor or major version. These constants are returned by the VersionStatus property.
Field Summary | |
---|---|
static VersionStatus |
IN_PROCESS
Specifies that the document version is an in-process minor version. |
static int |
IN_PROCESS_AS_INT
An int value associated with the IN_PROCESS instance of this class. |
static VersionStatus |
RELEASED
Specifies that the document version is a released major version. |
static int |
RELEASED_AS_INT
An int value associated with the RELEASED instance of this class. |
static VersionStatus |
RESERVATION
Specifies that the document version is a reservation version. |
static int |
RESERVATION_AS_INT
An int value associated with the RESERVATION instance of this class. |
static VersionStatus |
SUPERSEDED
Specifies that the document version is a superseded version. |
static int |
SUPERSEDED_AS_INT
An int value associated with the SUPERSEDED instance of this class. |
Method Summary | |
---|---|
static VersionStatus |
getInstanceFromInt(int value)
Returns an instance of this class using its associated integer value. |
int |
getValue()
Returns the internal integer value associated with a specific instance of this class. |
java.lang.String |
toString()
Returns a String representation of this enumeration instance. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int RESERVATION_AS_INT
int
value associated with the RESERVATION instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final VersionStatus RESERVATION
RESERVATION
state.
public static final int IN_PROCESS_AS_INT
int
value associated with the IN_PROCESS instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final VersionStatus IN_PROCESS
IN_PROCESS
state. When a reservation version is checked in as a minor version,
it becomes the new in-process version and the previous in-process version becomes a superseded version.
public static final int RELEASED_AS_INT
int
value associated with the RELEASED instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final VersionStatus RELEASED
RELEASED
state. When a reservation version is checked in as a major version,
it becomes the new released version and the previously released version becomes a superseded version.
public static final int SUPERSEDED_AS_INT
int
value associated with the SUPERSEDED instance of this class. Consider using the static instances of this class instead of the associated int values. The int values risk binary incompatibility (but not source incompatibility) from release to release.
public static final VersionStatus SUPERSEDED
Method Detail |
---|
public int getValue()
getInstanceFromInt(int)
public java.lang.String toString()
String
representation of this enumeration instance.
toString
in class java.lang.Object
public static VersionStatus getInstanceFromInt(int value)
value
- The integer value. (See the *_AS_INT fields.)
EngineRuntimeException
- If an enumeration instance with the given
ordinal value does not exist.getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |