Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


com.oracle.bpel.client
Class BPELProcessRevisionInfo

java.lang.Object
  extended bycom.oracle.bpel.client.AbstractIdentifier
      extended bycom.oracle.bpel.client.BPELProcessId
          extended bycom.oracle.bpel.client.BPELProcessRevisionInfo

All Implemented Interfaces:
java.io.Serializable

public class BPELProcessRevisionInfo
extends BPELProcessId
implements java.io.Serializable

This class contains revision information for a deployed BPEL process; current state for the process and deployment information are available.

Author:
Albert Tam
See Also:
Serialized Form

Constructor Summary
BPELProcessRevisionInfo(java.lang.String domainId, java.lang.String processId, java.lang.String revisionTag, java.lang.String processGUID)
          Creates a process revision object with process name and guid.

 

Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
 long getDeployTimestamp()
          Returns the time the process revision was first deployed.
 java.lang.String getDeployUser()
          Returns the identifier for the user responsible for deploying the process revision.
 int getLifecycle()
          Returns the current lifecycle of the process.
 int getState()
          Returns the current state of the process.
 int getVersionSeq()
          Returns the version sequence of the process revision.
 boolean isLifecycleActive()
          Returns true if the current lifecycle of the process is active.
 boolean isStateOn()
          Returns true if the current state of the process is on.
 void setDeployTimestamp(long timestamp)
          Sets the deployment time for the process revision.
 void setDeployUser(java.lang.String deployUser)
          Sets the identifier for the user responsible for deploying the process revision.
 void setLifecycle(int lifecycle)
          Sets the lifecycle of the process revision.
 void setState(int state)
          Sets the state of the process revision.
 void setVersionSeq(int versionSeq)
          Sets the version sequence of the process revision.
 java.lang.String toString()
          Returns a String containing the current settings for this process revision object.

 

Methods inherited from class com.oracle.bpel.client.BPELProcessId
equals, getProcessGUID, hashCode

 

Methods inherited from class com.oracle.bpel.client.AbstractIdentifier
getDomainId, getInstanceId, getKey, getProcessId, getRevisionTag, hasKey

 

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

 

Constructor Detail

BPELProcessRevisionInfo

public BPELProcessRevisionInfo(java.lang.String domainId,
                               java.lang.String processId,
                               java.lang.String revisionTag,
                               java.lang.String processGUID)
Creates a process revision object with process name and guid.

Method Detail

isStateOn

public final boolean isStateOn()
Returns true if the current state of the process is on.
See Also:
IBPELProcessConstants.STATE_ON

getState

public final int getState()
Returns the current state of the process. Consult IBPELProcessConstants for a list of valid constant values.

setState

public final void setState(int state)
Sets the state of the process revision. Calling this method will not change the state on a BPEL server; the process must be updated via the IBPELDomainHandle.updateRevision( BPELProcessRevisionInfo ) method.

isLifecycleActive

public final boolean isLifecycleActive()
Returns true if the current lifecycle of the process is active.
See Also:
IBPELProcessConstants.LIFECYCLE_ACTIVE

getLifecycle

public final int getLifecycle()
Returns the current lifecycle of the process. Consult IBPELProcessConstants for a list of valid constant values.

setLifecycle

public final void setLifecycle(int lifecycle)
Sets the lifecycle of the process revision. Calling this method will not change the lifecycle on a BPEL server; the process must be updated via the IBPELDomainHandle.updateRevision( BPELProcessRevisionInfo ) method.

getVersionSeq

public final int getVersionSeq()
Returns the version sequence of the process revision. Every revision of a process that is deployed will be numbered in increasing order. Redeploying a revision that already exists on the server will not change its version sequence.

setVersionSeq

public final void setVersionSeq(int versionSeq)
Sets the version sequence of the process revision.

getDeployTimestamp

public final long getDeployTimestamp()
Returns the time the process revision was first deployed.

setDeployTimestamp

public final void setDeployTimestamp(long timestamp)
Sets the deployment time for the process revision.

getDeployUser

public final java.lang.String getDeployUser()
Returns the identifier for the user responsible for deploying the process revision. This field is current not used by the system.

setDeployUser

public final void setDeployUser(java.lang.String deployUser)
Sets the identifier for the user responsible for deploying the process revision.

toString

public java.lang.String toString()
Returns a String containing the current settings for this process revision object.
Overrides:
toString in class AbstractIdentifier

clone

public java.lang.Object clone()
Returns a copy of this object.

Oracle BPEL Process Manager
Client API Reference
10g Release 2 (10.1.2)
B25709-01


Copyright © 2005, Oracle. All rights reserved.