FileNet Content Services
Java Connector v3.0

com.filenet.wcm.api
Class PublishRequestStatus

java.lang.Object
  extended bycom.filenet.wcm.api.PublishRequestStatus

public final class PublishRequestStatus
extends java.lang.Object

The PublishRequestStatus class indicates the status of a publish request. Its constants are the values stored in the PublishRequest object's Status property.


Field Summary
static PublishRequestStatus complete
          Value of 4; for a request returned from a publish operation in which no transform is involved, specifies that the processing operation is complete.
static PublishRequestStatus deleting
          Value of 5; specifies that the request is pending deletion.
static PublishRequestStatus inError
          Value of 3; specifies that the request was unsuccessfully processed by an engine.
static PublishRequestStatus inQueue
          Value of 1; specifies that the request has not yet been processed by an engine.
static PublishRequestStatus inWork
          Value of 2; specifies that the request is currently being processed by an engine.
 
Method Summary
 int asInt()
          Returns the PublishRequestStatus as an integer.
static PublishRequestStatus fromInt(int choice)
          Returns the PublishRequestStatus object from the specified integer value.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

inQueue

public static final PublishRequestStatus inQueue
Value of 1; specifies that the request has not yet been processed by an engine.


inWork

public static final PublishRequestStatus inWork
Value of 2; specifies that the request is currently being processed by an engine.


inError

public static final PublishRequestStatus inError
Value of 3; specifies that the request was unsuccessfully processed by an engine.


complete

public static final PublishRequestStatus complete
Value of 4; for a request returned from a publish operation in which no transform is involved, specifies that the processing operation is complete. Note that, in this case, the request object does not represent a persisted request.


deleting

public static final PublishRequestStatus deleting
Value of 5; specifies that the request is pending deletion.

Method Detail

fromInt

public static PublishRequestStatus fromInt(int choice)
Returns the PublishRequestStatus object from the specified integer value.


asInt

public int asInt()
Returns the PublishRequestStatus as an integer.


FileNet Content Services
Java Connector v3.0