|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A BaseProcess is the interface that defines the base functionality of all process interfaces namely ProcessFLow and SubProcess . The common functionality across all sub-interfaces are defined here, the common functions are listed below:
| Field Summary |
| 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 |
| Method Summary | |
Activity |
createActivity(java.lang.String activityName, int activitytype)Creates and returns instance of Activity of a ProcessFlow. |
Activity |
createActivity(java.lang.String activityName, Map mapping)Creates and returns instance of Activity of a ProcessFlow. |
Activity |
createActivity(java.lang.String activityName, Transformation function)Creates and returns instance of Activity of a ProcessFlow. |
Transition |
createTransition(Activity sourceActivity, Activity destinationActivity)Create a transition betweeen two process activities. |
Transition |
createTransition(java.lang.String transName, Activity sourceActivity, Activity destinationActivity)Create a transition betweeen two process activities. |
Activity |
findActivity(java.lang.String name)Find an Activity in the ProcessFlow with the specified name. |
Transition |
findTransition(Activity sourceActivity, Activity destinationActivity)Find a transition between two process activities. |
Transition |
findTransition(java.lang.String name)Find the transition of the ProcessFlow. |
Activity[] |
getActivities()Finds all Activities of the ProcessFlow. |
Activity[] |
getActivities(int activityType)Finds all Activities of the ProcessFlow for a given activity type. |
Activity |
getEndActivity()Find an End Activity in the ProcessFlow. |
Activity |
getStartActivity()Find an Start Activity in the ProcessFlow. |
Transition[] |
getTransitions()Find an array of all the transitions of the ProcessFlow. |
| Methods inherited from interface oracle.owb.processflow.ProcessActivityParameterOwner |
createParameter, createParameter, createParameter, findParameter, getParameters, getParameters, getPosition, setPosition |
| Methods inherited from interface oracle.owb.foundation.OWBNamedObject |
delete, getBusinessName, getClassDefinition, getComponent, getDescription, getName, getUOID, isDeletable, isEditable, isRenamable, setBusinessName, setDescription, setName |
| Method Detail |
public Activity createActivity(java.lang.String activityName,
int activitytype)
throws NameSpaceException,
oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException,
InvalidFormatException,
oracle.wh.repos.sdk.exceptions.WBStringException,
java.lang.Exception
activityName - The name with which to create the Activityactivitytype - The type code of the activity that is being createdNameSpaceException - if Process Flow name is not unique.oracle.wh.repos.sdk.processflow.exceptions.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.InvalidFormatException - if the desired name does not satisfy the format requirements.oracle.wh.repos.sdk.exceptions.WBStringException - if any String definition related error is encountered.java.lang.Exception - if any internal error is encountered.
public Activity createActivity(java.lang.String activityName,
Map mapping)
throws NameSpaceException,
oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException,
InvalidFormatException,
oracle.wh.repos.sdk.exceptions.WBStringException,
java.lang.Exception
activityName - is String object for name of Map activity.mapping - is mapping A Map object. This is a OWB Design time object.NameSpaceException - if Process Flow name is not unique.oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException - if the Map type of activity is one that cannot be created by a user.InvalidFormatException - if the desired name does not satisfy the format requirements.oracle.wh.repos.sdk.exceptions.WBStringException - if any String definition related error is encountered.java.lang.Exception - if any internal error is encountered.
public Activity createActivity(java.lang.String activityName,
Transformation function)
throws NameSpaceException,
oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException,
InvalidFormatException,
oracle.wh.repos.sdk.exceptions.WBStringException,
java.lang.Exception
activityName - is String object for name of Transformation activity.function - is Transformation object. This is a OWB Design time object.NameSpaceException - if Process Flow name is not unique.oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException - if the Function or Procedure type of activity is one that cannot be created by a user.InvalidFormatException - if the desired name does not satisfy the format requirements.oracle.wh.repos.sdk.exceptions.WBStringException - if any String definition related error is encountered.java.lang.Exception - if any internal error is encountered.
public Activity findActivity(java.lang.String name)
throws OWBException
name - - The name of the activity.OWBException - if any internal error is encountered.
public Activity[] getActivities()
throws OWBException
OWBException - if any internal error is encountered.
public Activity[] getActivities(int activityType)
throws OWBException
OWBException - if any internal error is encountered.
public Activity getStartActivity()
throws OWBException
OWBException - if any internal error is encountered.
public Activity getEndActivity()
throws OWBException
OWBException - if any internal error is encountered.
public Transition createTransition(Activity sourceActivity,
Activity destinationActivity)
throws OWBException,
oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException,
NameSpaceException,
InvalidFormatException
sourceActivity - The source activity for this transition.destinationActivity - The destination activity for this transition.NameSpaceException - if Process Flow name is not unique.oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException - if the transition cannot be created.InvalidFormatException - if the desired name does not satisfy the format requirements.OWBException - if any internal error is encountered.
public Transition createTransition(java.lang.String transName,
Activity sourceActivity,
Activity destinationActivity)
throws OWBException,
oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException,
NameSpaceException,
InvalidFormatException
transName - a String name of the Transition.sourceActivity - The source activity for this transition.destinationActivity - The destination activity for this transition.NameSpaceException - if Process Flow name is not unique.oracle.wh.repos.sdk.processflow.exceptions.WBProcessInvalidOperationException - if the transition cannot be created.InvalidFormatException - if the desired name does not satisfy the format requirements.OWBException - if any internal error is encountered.
public Transition findTransition(Activity sourceActivity,
Activity destinationActivity)
throws OWBException
sourceActivity - The source activity for this transition.destinationActivity - The destination activity for this transition.OWBException - if any internal error is encountered.
public Transition findTransition(java.lang.String name)
throws OWBException
name - String type name of the transition.OWBException - if any internal error is encountered.
public Transition[] getTransitions()
throws OWBException
OWBException - if any internal error is encountered.
|
Oracle Warehouse Builder Java API Reference 10g Release 1 (10.1) B12155-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||