Package wt.workflow.engine
Class WfProcess
java.lang.Object
wt.fc._WTObject
wt.fc.WTObject
wt.enterprise._Simple
wt.enterprise.Simple
wt.workflow.engine._WfExecutionObject
wt.workflow.engine.WfExecutionObject
wt.workflow.engine._WfContainer
wt.workflow.engine.WfContainer
wt.workflow.engine._WfProcess
wt.workflow.engine.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:
-
Field Summary
Fields inherited from class wt.workflow.engine._WfProcess
BUSINESS_OBJ_REFERENCE, CREATOR, EXTERNALIZATION_VERSION_UID, PROJECT_REF, PROPAGATION_QUEUE_REFERENCE, TEAM_ID, USER_WORK_QUEUE_REFERENCEFields inherited from class wt.workflow.engine._WfContainer
REQUESTER_REFFields inherited from class wt.workflow.engine.WfExecutionObject
EXCEPTION_MESSAGEFields inherited from class wt.workflow.engine._WfExecutionObject
AD_SQEN, ALERT_TIME, CHANGE_STATE_TIME, CONTEXT, D_SQEN, DEADLINE, DEADLINE_DURATION, DESCRIPTION, END_TIME, EVENT_CONFIGURATION, KEY, NAME, PD_SQEN, PRIORITY, START_TIME, STATE, SUSPEND_TIME, TEMPLATE, TIME_PAST_DEADLINE, TIME_TO_DEADLINE, TIME_TO_STARTFields inherited from class wt.fc._WTObject
CREATE_TIMESTAMP, MODIFY_TIMESTAMPFields inherited from interface wt.fc.adminlock._AdministrativelyLockable
ADMINISTRATIVE_LOCKFields inherited from interface wt.content._ContentHolder
CONTENT_VECTOR, HAS_CONTENTS, HTTP_VECTOR, OPERATIONFields inherited from interface wt.admin._DomainAdministered
DOMAIN_REF, INHERITED_DOMAINFields inherited from interface wt.notify._Notifiable
EVENT_SETFields inherited from interface wt.ownership._Ownable
OWNERSHIPFields inherited from interface wt.fc._Persistable
PERSIST_INFOFields inherited from interface wt.project._RoleHolder
ROLE_PRINCIPAL_MAPFields inherited from interface wt.access._SecurityLabeled
SECURITY_LABELSFields inherited from interface wt.team._TeamManaged
TEAM_IDENTITY, TEAM_NAME, TEAM_TEMPLATE_ID, TEAM_TEMPLATE_IDENTITY, TEAM_TEMPLATE_NAMEFields inherited from interface wt.inf.container._WTContained
CONTAINER, CONTAINER_NAME, CONTAINER_REFERENCEFields inherited from interface wt.fc.BusinessInformation
BUSINESS_TYPE, IDENTITYFields inherited from interface wt.identity.DisplayIdentification
DISPLAY_IDENTIFIER, DISPLAY_IDENTITY, DISPLAY_TYPEFields inherited from interface wt.fc.Persistable
IDENTITY, TYPEFields inherited from interface wt.access.SecurityLabeled
SECURITY_LABELS_INTERNAL_VALUEFields inherited from interface wt.inf.container.WTContained
CONTAINER_ID -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the attribute: businessObjReference.getPrincipals(Role role) Get principals which are part of the selected Role
Supported API: trueReturns a Vector of Role objects used by this process
Supported API: trueMethods inherited from class wt.workflow.engine._WfProcess
getBusinessObjReference, getClassInfo, getConceptualClassname, getContentVector, getCreator, getHttpVector, getOperation, getOwnership, getProjectRef, getPropagationQueueReference, getRolePrincipalMap, getTeamId, getTeamIdentity, getTeamName, getTeamTemplateId, getTeamTemplateIdentity, getTeamTemplateName, getType, getUserWorkQueueReference, isHasContents, readExternal, readExternal, readVersion, setBusinessObjReference, setContentVector, setCreator, setHasContents, setHttpVector, setOperation, setOwnership, setPropagationQueueReference, setRolePrincipalMap, setTeamId, setTeamTemplateId, setUserWorkQueueReference, super_readExternal_WfProcess, super_readVersion_WfProcess, super_writeExternal_WfProcess, writeExternal, writeExternalMethods inherited from class wt.workflow.engine.WfContainer
abortContainedActivities, getContainerNodes, getRequester, getStartConnector, resetContainedActivities, resumeContainedActivities, sendEventToRequester, suspendContainedActivities, terminateContainedActivitiesMethods inherited from class wt.workflow.engine._WfContainer
getRequesterRef, readVersion, setRequesterRef, super_readExternal_WfContainer, super_readVersion_WfContainer, super_writeExternal_WfContainerMethods inherited from class wt.workflow.engine.WfExecutionObject
calculateTimePastDeadline, calculateTimeToDeadline, calculateTimeToDeadline, changeDeadline, changeStateAttributes, computeTimePastDeadline, computeTimeToDeadline, evaluateExpression, getEventConfiguration, getIdentity, getTimePastDeadline, getTimeToDeadline, getTimeToDeadline, getVarDueDate, getVarDuration, getVarNotification, initialize, isOverdue, readVersion, removeDeadlineQueueEntries, resetValues, setDeadline, validTransitionsMethods inherited from class wt.workflow.engine._WfExecutionObject
getAdSQEN, getAlertTime, getChangeStateTime, getContainer, getContainerName, getContainerReference, getContext, getDeadline, getDeadlineDuration, getDescription, getDSQEN, getEndTime, getKey, getPdSQEN, getPriority, getStartTime, getState, getSuspendTime, getTemplate, getTimeToStart, setAdSQEN, setAlertTime, setChangeStateTime, setContainer, setContainerReference, setContext, setDeadlineDuration, setDescription, setDSQEN, setEndTime, setEventConfiguration, setKey, setName, setPdSQEN, setPriority, setStartTime, setState, setSuspendTime, setTemplate, setTimePastDeadline, setTimeToDeadline, setTimeToStart, super_readExternal_WfExecutionObject, super_readVersion_WfExecutionObject, super_writeExternal_WfExecutionObjectMethods inherited from class wt.enterprise.Simple
getBusinessTypeMethods inherited from class wt.enterprise._Simple
getAdministrativeLock, getDomainRef, getEventSet, getSecurityLabels, isInheritedDomain, readVersion, setAdministrativeLock, setDomainRef, setEventSet, setInheritedDomain, setSecurityLabels, super_readExternal_Simple, super_readVersion_Simple, super_writeExternal_SimpleMethods inherited from class wt.fc.WTObject
checkAttributes, duplicate, getDisplayIdentifier, getDisplayIdentity, getDisplayTypeMethods inherited from class wt.fc._WTObject
equals, getCreateTimestamp, getModifyTimestamp, getPersistInfo, hashCode, readVersion, setPersistInfoMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface wt.fc._Persistable
getPersistInfo, setPersistInfoMethods inherited from interface wt.workflow.engine.LWWfProcessIfc
getStateMethods inherited from interface wt.fc.Persistable
checkAttributes, getIdentity
-
Method Details
-
getProcessRoles
Returns a Vector of Role objects used by this process
Supported API: true- Returns:
- Vector
- Throws:
WTException
-
getPrincipals
Get principals which are part of the selected Role
Supported API: true- Parameters:
role-- Throws:
WTException
-
getBusinessObjectReference
Gets the value of the attribute: businessObjReference.
Supported API: true- Returns:
- String
-