findActivity(WorkflowProcess workflow, String activityId) Finds an activity within a workflow process definition.
Parameters: workflow - The workflow process definition to search. Parameters: activityId - The activity ID.
findParticipant(WorkflowProcess wp, String participantId) Finds the Participant with the specified ID in the given workflow or
package.
Parameters: wp - The workflow process definition. Parameters: participantId - The participant ID.
findParticipants(WorkflowProcess wp, String particips) Find the Participants with the specified IDs in the given workflow or
package.
Parameters: wp - The workflow process definition. Parameters: particips - The participant ID(s).
findToolDefinition(WorkflowProcess wp, String toolId) Finds the definition of the specified tool in a workflow or package.
Parameters: wp - The WorkflowProcess to search. Parameters: toolId - The ID of the tool for which the definition is required.
findTypeDeclaration(XPDLPackage pkg, String declaredTypeId) Finds a type declaration within a package.
Parameters: pkg - The package to search. Parameters: declaredTypeId - The ID of the declared type.
public static int
findWorkflowPriority(WorkflowProcess workflow) Finds the workflow priority from the workflow or its package.
Parameters: workflow - The workflow definition to search.
findWorkflowProcess(XPDLPackage pkg, String processDefinitionId) Finds a workflow definition within a package.
Parameters: pkg - The package to search. Parameters: processDefinitionId - The ID of the process definition required.
Finds an activity within a workflow process definition.
Parameters: workflow - The workflow process definition to search. Parameters: activityId - The activity ID. The activity definition. throws: WMInvalidActivityNameException - if the activity was not found.
findActivityPriority
public static int findActivityPriority(Activity activity)(Code)
Finds the priority to assign to an activity. The priority is taken from
the activity itself if defined therein, or from its associated workflow
priority if not.
Parameters: activity - The activity definition. The activity priority.
Gets the ParameterMode for the named parameter in the given application.
Parameters: app - The Application Parameters: paramName - The parameter name The ParameterMode throws: FormalParameterNotFoundException - If the named parameter couldbe found.
Finds the Participant with the specified ID in the given workflow or
package.
Parameters: wp - The workflow process definition. Parameters: participantId - The participant ID. This can be a comma-separatedlist if there are two or more participants. The participant definition. throws: WMInvalidTargetUserException - if any of the participants couldnot be located.
Find the Participants with the specified IDs in the given workflow or
package.
Parameters: wp - The workflow process definition. Parameters: particips - The participant ID(s). This can be a comma-separatedlist if there are two or more participants. The participant definition. throws: WMInvalidTargetUserException - if any of the participants couldnot be located.
Finds the definition of the specified tool in a workflow or package.
Parameters: wp - The WorkflowProcess to search. Parameters: toolId - The ID of the tool for which the definition is required. The tool definition. throws: WMInvalidToolException - if the tool definition could not belocated.
Finds a type declaration within a package.
Parameters: pkg - The package to search. Parameters: declaredTypeId - The ID of the declared type. The type declaration. throws: WMInvalidProcessDefinitionException - if the type declaration couldnot be found.
Finds the workflow priority from the workflow or its package.
Parameters: workflow - The workflow definition to search. The workflow or package priority.
Finds a workflow definition within a package.
Parameters: pkg - The package to search. Parameters: processDefinitionId - The ID of the process definition required. The process definition. throws: WMInvalidProcessDefinitionException - if the process definitioncould not be found in the package.