|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectwt.workflow.definer.WfDefinitionDefaultDelegate
Defines the default behavior for all methods that can be called from
the WfDefinitionHandler.
Supported API: false
Extendable: false
Field Summary | |
private static int |
APPLICATION_TEMPLATE
|
private static int |
ASSIGNED_ACTIVITY_TEMPLATE
|
private static int |
BLOCK_TEMPLATE
|
private static String |
CLASSNAME
|
private static int |
CONNECTOR_TEMPLATE
|
private static int |
EXPRESSION
|
private static int |
EXPRESSION_TEMPLATE
|
private static int |
EXTERNAL_METHOD_TEMPLATE
|
static long |
EXTERNALIZATION_VERSION_UID
|
private static int |
INTERNAL_METHOD_TEMPLATE
|
private static int |
NODE_TEMPLATE_LINK
|
protected static long |
OLD_FORMAT_VERSION_UID
|
private static int |
OTHER_BC_OBJECT
|
private static int |
OTHER_RBC_OBJECT
|
private static int |
PROCESS_STEP_TEMPLATE_LINK
|
private static int |
PROCESS_TEMPLATE
|
private static int |
PROXY_TEMPLATE
|
private static String |
RESOURCE
|
(package private) static long |
serialVersionUID
|
private static int |
SYNCHRONIZATION_TEMPLATE
|
private static int |
TIMER_TEMPLATE
|
private static boolean |
VERBOSE
|
Constructor Summary | |
WfDefinitionDefaultDelegate()
|
Method Summary | |
private static void |
deleteApplicationTemplate(WfApplRobotTemplate bt)
Process the deletion of an WfApplRobotTemplate object. |
private static void |
deleteBlockTemplate(WfBlockTemplate bt)
Process the deletion of an WfBlockTemplate object. |
private static void |
deleteExpression(WfExpression e)
Process the deletion of an Expression object. |
private static void |
deleteExpressionTemplate(WfExprRobotTemplate bt)
Process the deletion of an WfExprRobotTemplate object. |
private static void |
deleteNodeTemplateLink(NodeTemplateLink ntl)
Process the deletion of an NodeTemplateLink object. |
private static void |
deleteProcessStepTemplateLink(ProcessStepTemplateLink pstl)
Process the deletion of an ProcessStepTemplateLink object. |
private static void |
deleteProxyTemplate(WfProxyTemplate pt)
Process the deletion of an WfProxyTemplate object. |
private static void |
deleteSynchronizationTemplate(WfSynchRobotTemplate bt)
Process the deletion of an WfSynchRobotTemplate object. |
private static int |
getType(Assertion asser)
Determine the type of object in the Assertion. |
private static void |
handleApplicationTemplate(Assertion asser)
Process the WfApplRobotTemplate object's assertion. |
private static void |
handleAssignedActivityTemplate(Assertion asser)
Process the AssignedActivityTemplate object's assertion. |
private static void |
handleBlockTemplate(Assertion asser)
Process the WfBlockTemplate object's assertion. |
private static void |
handleConnectorTemplate(Assertion asser)
Process the Connector object's assertion. |
private static void |
handleExpression(Assertion asser)
Process the Expression's assertion. |
private static void |
handleExpressionTemplate(Assertion asser)
Process the WfExprRobotTemplate object's assertion. |
private static void |
handleExternalMethodTemplate(Assertion asser)
Process the ExternalMethodTemplate object's assertion. |
private static void |
handleInternalMethodTemplate(Assertion asser)
Process the InternalMethodTemplate object's assertion. |
private static void |
handleNodeTemplateLink(Assertion asser)
Process the NodeTemplateLink link object's assertion. |
private static void |
handleProcessStepTemplateLink(Assertion asser)
Process the ProcessStepTemplateLink link object's assertion. |
private static void |
handleProcessTemplate(Assertion asser)
Process the WfProcessTemplate object's assertion. |
private static void |
handleProxyTemplate(Assertion asser)
Process the WfProxyTemplateLink link object's assertion. |
private static void |
handleSynchronizationTemplate(Assertion asser)
Process the handleSynchronizationTemplate object's assertion. |
private static void |
handleTimerTemplate(Assertion asser)
Process the TimerTemplate object's assertion. |
void |
postProcessAssertion(Assertion asser)
Given a BatchContainer assertion, perform the post-processing validation on the target object/type of assertion. |
void |
postValidateAssertion(Assertion asser)
Given a BatchContainer assertion, perform the post validation on the target object/type of assertion. |
void |
preValidateAssertion(Assertion asser)
Given a BatchContainer Assertion, perform the pre-processing validation on the target object/type of assertion. |
void |
processAssertion(Assertion asser)
Given a BatchContainer Assertion, process the assertion Supported API: false |
void |
readExternal(ObjectInput input)
Reads the non-transient fields of this class from an external source. |
private boolean |
readOldVersion(ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source, which is not the current version. |
protected boolean |
readVersion(WfDefinitionDefaultDelegate thisObject,
ObjectInput input,
long readSerialVersionUID,
boolean passThrough,
boolean superDone)
Reads the non-transient fields of this class from an external source. |
private static void |
removeConnectorTemplate(WfConnectorTemplate ct)
Process the deletion of an Connector template object. |
private static void |
removeProcessTemplate(WfProcessTemplate aWfProcessTemplate)
Removes process template |
private static void |
removeStepTemplate(WfTemplateObject step_def)
Removes step template from its containing process. |
private static void |
updateStepTemplate(ProcessStepTemplateLink link,
boolean isRemove)
Updates both the parent process reference and the link reference on the step side of the link. |
private static WfApplRobotTemplate |
validateApplicationTemplate(WfApplRobotTemplate Ap)
|
private static WfAssignedActivityTemplate |
validateAssignedActivityTemplate(WfAssignedActivityTemplate aat)
|
private static WfBlockTemplate |
validateBlockTemplate(WfBlockTemplate bt)
|
private static WfConnectorTemplate |
validateConnectorTemplate(WfConnectorTemplate ct)
|
private static WfExpression |
validateExpression(WfExpression e)
|
private static WfExprRobotTemplate |
validateExpressionTemplate(WfExprRobotTemplate Ex)
|
private static WfExternalMethodTemplate |
validateExternalMethodTemplate(WfExternalMethodTemplate emt)
|
private static WfInternalMethodTemplate |
validateInternalMethodTemplate(WfInternalMethodTemplate imt)
|
private static NodeTemplateLink |
validateNodeTemplateLink(NodeTemplateLink ntl)
|
private static ProcessStepTemplateLink |
validateProcessStepTemplateLink(ProcessStepTemplateLink pstl)
|
private static WfProcessTemplate |
validateProcessTemplate(WfProcessTemplate pt)
|
private static WfProxyTemplate |
validateProxyTemplate(WfProxyTemplate pt)
|
private static WfSynchRobotTemplate |
validateSynchronizationTemplate(WfSynchRobotTemplate Synch)
|
private static WfTimerTemplate |
validateTimerTemplate(WfTimerTemplate tt)
|
void |
writeExternal(ObjectOutput output)
Writes the non-transient fields of this class to an external source. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static final String RESOURCE
private static final String CLASSNAME
static final long serialVersionUID
public static final long EXTERNALIZATION_VERSION_UID
protected static final long OLD_FORMAT_VERSION_UID
private static final int PROCESS_TEMPLATE
private static final int ASSIGNED_ACTIVITY_TEMPLATE
private static final int CONNECTOR_TEMPLATE
private static final int EXPRESSION
private static final int INTERNAL_METHOD_TEMPLATE
private static final int EXTERNAL_METHOD_TEMPLATE
private static final int PROCESS_STEP_TEMPLATE_LINK
private static final int NODE_TEMPLATE_LINK
private static final int PROXY_TEMPLATE
private static final int BLOCK_TEMPLATE
private static final int APPLICATION_TEMPLATE
private static final int EXPRESSION_TEMPLATE
private static final int TIMER_TEMPLATE
private static final int SYNCHRONIZATION_TEMPLATE
private static final int OTHER_BC_OBJECT
private static final int OTHER_RBC_OBJECT
private static final boolean VERBOSE
Constructor Detail |
public WfDefinitionDefaultDelegate()
Method Detail |
public void writeExternal(ObjectOutput output) throws IOException
writeExternal
in interface Externalizable
output
-
IOException
public void readExternal(ObjectInput input) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
input
-
IOException
ClassNotFoundException
protected boolean readVersion(WfDefinitionDefaultDelegate thisObject, ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
thisObject
- input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
private boolean readOldVersion(ObjectInput input, long readSerialVersionUID, boolean passThrough, boolean superDone) throws IOException, ClassNotFoundException
input
- readSerialVersionUID
- passThrough
- superDone
-
IOException
ClassNotFoundException
public void preValidateAssertion(Assertion asser) throws WfException, WTException
preValidateAssertion
in interface WfDefinitionDelegate
asser
- the BatchContainer assertion to be processed
WfException
WTException
public void processAssertion(Assertion asser) throws WfException, WTException
processAssertion
in interface WfDefinitionDelegate
asser
- the BatchContainer assertion to be procesed
WfException
WTException
public void postValidateAssertion(Assertion asser) throws WfException, WTException
postValidateAssertion
in interface WfDefinitionDelegate
asser
- the BatchContainer assertion to be processed
WfException
WTException
public void postProcessAssertion(Assertion asser) throws WfException, WTException
postProcessAssertion
in interface WfDefinitionDelegate
asser
- the BatchContainer assertion to be processed
WfException
WTException
private static int getType(Assertion asser)
asser
- The assertion whose object type needs to be determined
private static void handleProcessTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the WfProcessTemplate to be processed.
WTException
- An error occurred in the persistence of the object.private static void handleAssignedActivityTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the AssignedActivytTemplate to be processed.
WTException
- An error occurred during the persistenceprivate static void handleConnectorTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the ConnectorTemplate to be processed.
WTException
- An error occurred in the persistence of the object.private static void handleInternalMethodTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the to be processed.
WTException
- An error occurred during the persistenceprivate static void handleTimerTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the to be processed.
WTException
- An error occurred during the persistenceprivate static void handleExternalMethodTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the to be processed.
WTException
- An error occurred during the persistenceprivate static void handleExpression(Assertion asser) throws WTException
asser
- The assertion that contains the PhaseLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void handleProcessStepTemplateLink(Assertion asser) throws WTException
asser
- The assertion that contains the ProcessStepTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void updateStepTemplate(ProcessStepTemplateLink link, boolean isRemove) throws WTException
Note: Both a reference to the parent template and to the link are kept with the template object for performance reasons (avoid navigate operations).
link
- ProcessStepTemplateLink
WTException
- An error occurred in the persistence of the link object.private static void handleNodeTemplateLink(Assertion asser) throws WTException
asser
- The assertion that contains the NodeTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void handleProxyTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the NodeTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void handleBlockTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the WfBlockTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void handleExpressionTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the WfExprRobotTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void handleApplicationTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the WfApplRobotTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void handleSynchronizationTemplate(Assertion asser) throws WTException
asser
- The assertion that contains the WfSynchRobotTemplateLink to be processed.
WTException
- An error occurred in the persistence of the link object.private static void removeProcessTemplate(WfProcessTemplate aWfProcessTemplate) throws WTException
WTException
private static void removeStepTemplate(WfTemplateObject step_def) throws WTException
step_def
-
WTException
private static void removeConnectorTemplate(WfConnectorTemplate ct) throws WTException
ct
- The connector to be deleted.
WTException
- An error occurred in the processing of the delete.private static void deleteExpression(WfExpression e) throws WTException
e
- The Expression to be deleted.
WTException
- An error occurred in the processing of the delete.private static void deleteProcessStepTemplateLink(ProcessStepTemplateLink pstl) throws WTException
pstl
- The step template link to be deleted.
WTException
private static void deleteNodeTemplateLink(NodeTemplateLink ntl) throws WTException
ntl
- The node template link to be deleted.
WTException
private static void deleteProxyTemplate(WfProxyTemplate pt) throws WTException
pt
- The node template link to be deleted.
WTException
private static void deleteBlockTemplate(WfBlockTemplate bt) throws WTException
bt
- The block template link to be deleted.
WTException
private static void deleteExpressionTemplate(WfExprRobotTemplate bt) throws WTException
bt
- The Expressiontemplate link to be deleted.
WTException
private static void deleteApplicationTemplate(WfApplRobotTemplate bt) throws WTException
bt
- The WfApplRobotTemplate link to be deleted.
WTException
private static void deleteSynchronizationTemplate(WfSynchRobotTemplate bt) throws WTException
bt
- The WfSynchRobotTemplate link to be deleted.
WTException
private static WfProcessTemplate validateProcessTemplate(WfProcessTemplate pt) throws WTException
WTException
private static WfAssignedActivityTemplate validateAssignedActivityTemplate(WfAssignedActivityTemplate aat) throws WTException
WTException
private static WfConnectorTemplate validateConnectorTemplate(WfConnectorTemplate ct) throws WTException
WTException
private static ProcessStepTemplateLink validateProcessStepTemplateLink(ProcessStepTemplateLink pstl) throws WTException
WTException
private static NodeTemplateLink validateNodeTemplateLink(NodeTemplateLink ntl) throws WTException
WTException
private static WfExpression validateExpression(WfExpression e) throws WTException
WTException
private static WfInternalMethodTemplate validateInternalMethodTemplate(WfInternalMethodTemplate imt) throws WTException
WTException
private static WfTimerTemplate validateTimerTemplate(WfTimerTemplate tt) throws WTException
WTException
private static WfExternalMethodTemplate validateExternalMethodTemplate(WfExternalMethodTemplate emt) throws WTException
WTException
private static WfProxyTemplate validateProxyTemplate(WfProxyTemplate pt) throws WTException
WTException
private static WfBlockTemplate validateBlockTemplate(WfBlockTemplate bt) throws WTException
WTException
private static WfExprRobotTemplate validateExpressionTemplate(WfExprRobotTemplate Ex) throws WTException
WTException
private static WfApplRobotTemplate validateApplicationTemplate(WfApplRobotTemplate Ap) throws WTException
WTException
private static WfSynchRobotTemplate validateSynchronizationTemplate(WfSynchRobotTemplate Synch) throws WTException
WTException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |