oracle.owb.processflow
Interface ProcessFlow
- All Superinterfaces:
- ActivityType, BaseProcess, Component, OWBNamedObject, ProcessActivityParameterOwner, Snapshotable, ValidatableObject
- public interface ProcessFlow
- extends BaseProcess, ValidatableObject, Component
A Process is a logical design for Process flow object
which is often composed of one or more Activities and Transitions.
The top level process that can be created by a user directly, this is
the instance that will appear as a separate object in the object tree
| Fields inherited from interface oracle.owb.processflow.ActivityType |
ACTIVITY_TYPE_AND, ACTIVITY_TYPE_EMAIL, ACTIVITY_TYPE_END, ACTIVITY_TYPE_END_ERROR, ACTIVITY_TYPE_END_WARNING, ACTIVITY_TYPE_EXTERNAL, ACTIVITY_TYPE_FILE_EXISTS, ACTIVITY_TYPE_FORK, ACTIVITY_TYPE_FTP, ACTIVITY_TYPE_FUNCTION, ACTIVITY_TYPE_MAP, ACTIVITY_TYPE_OR, ACTIVITY_TYPE_START, ACTIVITY_TYPE_SUBPROCESS |
| Methods inherited from interface oracle.owb.processflow.BaseProcess |
createActivity, createActivity, createActivity, createTransition, createTransition, findActivity, findTransition, findTransition, getActivities, getActivities, getEndActivity, getStartActivity, getTransitions |
| Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
getOwningPackage
public ProcessFlowPackage getOwningPackage()
- Find Process flow Package in which this Process contains.
- Returns:
- ProcessFlowPackage object.
createSubProcess
public SubProcess createSubProcess(java.lang.String name,
ProcessFlow processFlow,
boolean isEmbedded)
throws NameSpaceException,
oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException,
OWBException
- Creates and returns instance of SubProcess. These are any process flow
that a has user defined within OWB and would want to include as an activity
within another bigger process flow.
- Parameters:
name - the name of the SubProcess being created.processFlow - The type code of the activity that is being createdisEmbedded - Boolean flag identifying if this sub-process is embedded
or not.
- true - the sub-process will be an exact clone of the process that it is representing and is de-coupled from the referred ProcessFlow. NOTE: for this release 'true' flag is not supported, will be defaulted to 'false'
- false - the sub-process is tightly coupled to the process that it is representing and can be reconciled inbound and is read only.
- Returns:
- The newly create SubProcess object.
- Throws:
NameSpaceException - if Process Flow name is not unique.oracle.owb.processflow.WBProcessInvalidOperationException - if the type of activity is
one that cannot be created by a user, example of this could be the user
creation of a second Start or End activity of a process.OWBException - if any internal error is encountered.
findSubProcess
public SubProcess findSubProcess(java.lang.String name)
throws OWBException
- Find a SubProcess in the ProcessFlow with the specified name.
The names of the SubProcess must be unique, so only one SubProcess
will be returned.
- Parameters:
name - - The name of the SubProcess.- Returns:
- A SubProcess with the specified name, null if not found.
- Throws:
OWBException - if any internal error is encountered.
getSubProcesses
public SubProcess[] getSubProcesses()
throws OWBException
- Find all SubProcesses in the ProcessFlow.
- Returns:
- An array of SubProcess with the specified name, null if not
found.
- Throws:
OWBException - if any internal error is encountered.