Class WfProcess

All Implemented Interfaces:
Externalizable, Serializable, wt.access._AccessControlled, wt.access._PolicyAccessControlled, wt.access._SecurityLabeled, AccessControlled, wt.access.PolicyAccessControlled, SecurityLabeled, wt.admin._DomainAdministered, DomainAdministered, wt.content._ContentHolder, ContentHolder, wt.fc._NetFactor, wt.fc._ObjectMappable, wt.fc._Persistable, wt.fc.adminlock._AdministrativelyLockable, AdministrativelyLockable, wt.fc.BusinessInformation, NetFactor, ObjectMappable, Persistable, DisplayIdentification, wt.inf.container._WTContained, WTContained, wt.notify._Notifiable, Notifiable, wt.ownership._Ownable, wt.ownership.Ownable, wt.project._RoleHolder, wt.project.RoleHolder, wt.recent.RecentlyVisited, _TeamManaged, TeamManaged, wt.workflow.engine.LWWfProcessIfc, wt.workflow.forum._SubjectOfForum, SubjectOfForum, wt.workflow.notebook._SubjectOfNotebook, wt.workflow.notebook.SubjectOfNotebook
Direct Known Subclasses:
_ProjectPlan

@GenAsPersistable(superClass=WfContainer.class,interfaces={wt.project.RoleHolder.class,wt.ownership.Ownable.class,ContentHolder.class,SubjectOfForum.class,wt.workflow.notebook.SubjectOfNotebook.class,TeamManaged.class,wt.workflow.engine.LWWfProcessIfc.class},versions=4095058676939613564L,properties={@GeneratedProperty(name="projectRef",type=ObjectReference.class,javaDoc="Reference to the project that the workflow uses to resolve roles onto actual participants. May be null."),@GeneratedProperty(name="creator",type=WTPrincipalReference.class,supportedAPI=PUBLIC,javaDoc="Reference to the user whoc initiated the process."),@GeneratedProperty(name="businessObjReference",type=java.lang.String.class,javaDoc="String containing reference to primary business object. This reference is set at process start and is accessible only through the process\' context (\'primaryBusinessObject\' variable). @see ProcessData @see WfVariable",accessors=@PropertyAccessors(getAccess=PUBLIC,setExceptions={}),columnProperties=@ColumnProperties(index=true)),@GeneratedProperty(name="userWorkQueueReference",type=ObjectReference.class,javaDoc="Reference to queue that holds user work requests. The queue is only associated with at most one process. This happens if dedicatedQueue attribute is set to true. <p>The queue is created when process is started for the first time and deleted when the process is deleted.",accessors=@PropertyAccessors(getAccess=PROTECTED,setExceptions={})),@GeneratedProperty(name="propagationQueueReference",type=ObjectReference.class,javaDoc="Reference to queue that holds internal work requests. The queue is only associated with at most one process. This happens if dedicatedQueue attribute is set to true. <p>The queue is created when process is started for the first time and deleted when the process is deleted.",accessors=@PropertyAccessors(getAccess=PROTECTED,setExceptions={})),@GeneratedProperty(name="teamId",type=TeamReference.class)},tableProperties=@TableProperties(compositeIndex4="creator.key.id",compositeIndex8="+ state + businessObjReference",compositeIndex11="+UPPER(PREFIX(name))",compositeIndex12="thePersistInfo.markForDelete",compositeIndex16="template.key.id + state",compositeIndex20="template.key.id",oracleTableSize=LARGE),iconProperties=@IconProperties(standardIcon="wt/clients/images/process.gif",openIcon="wt/clients/images/process.gif")) public class WfProcess extends _WfProcess
A WfProcess is the performer of a workflow. It specializes WfExecutionObject and, in general, a WfProcess will represent an instance of a particular process model (e. g., 'approveCreditRequest'), the process steps are represented by WfActivity objects. The WfProcess class may also represent any other discrete unit of work, which needs to be performed asynchronously.

Use the newWfProcess static factory method(s), not the WfProcess constructor, to construct instances of this class. Instances must be constructed using the static factory(s), in order to ensure proper initialization of the instance.



Supported API: true

Extendable: false

See Also:
  • Method Details

    • getProcessRoles

      public Vector getProcessRoles() throws WTException
      Returns a Vector of Role objects used by this process

      Supported API: true
      Returns:
      Vector
      Throws:
      WTException
    • getPrincipals

      public Enumeration getPrincipals(Role role) throws WTException
      Get principals which are part of the selected Role

      Supported API: true
      Parameters:
      role -
      Throws:
      WTException
    • getBusinessObjectReference

      public WTReference getBusinessObjectReference(ReferenceFactory rf)
      Gets the value of the attribute: businessObjReference.

      Supported API: true
      Returns:
      String