public abstract class NodeDetail
extends java.lang.Object
Constructor and Description |
---|
NodeDetail() |
Modifier and Type | Method and Description |
---|---|
abstract void |
add()
Setup a new record and any subrecords.
|
abstract void |
addedAction(boolean wasPositive)
This method tells the node that an action now originates from it.
|
abstract boolean |
canTakeNegative()
Determines whether this node can take a negative action.
|
abstract boolean |
canTakePositive()
Determines whether this node can take a positive action.
|
protected void |
checkActionConnections(java.util.Vector errs)
Validation helper method makes sure all actions from the node go somewhere.
|
protected void |
checkActionReturn(java.util.Vector errs)
Makes sure there's at least one action exiting this node
|
protected void |
checkProcessInclusion(java.util.Vector errs)
Make sure there's an action pointing to this action.
|
abstract void |
delete(long modifier)
Delete any extra records associated with the node.
|
WFNode |
getNode()
Get the node the details are for.
|
static NodeDetail |
getNodeDetail(WFNode node)
Factory returns the NodeDetail for the node type
|
boolean |
isInput()
Is this an manual input node?
|
boolean |
isInteractive()
Is this a interactive node?
|
boolean |
isStart()
Is this a start node?
|
boolean |
isStop()
Is this a stop node?
|
boolean |
isTask()
Is this a task node?
|
boolean |
isWait()
Is this a wait node?
|
abstract void |
removedAction(boolean wasPositive)
This method tells the node that an action no longer originates from it.
|
protected void |
setNode(WFNode node)
Set the node the details will work from
|
abstract void |
undelete()
Undo the affect of delete
|
abstract void |
validateNode(java.util.Vector errs,
java.util.Hashtable hinfo)
Validates a node within a work flow process.
|
public static NodeDetail getNodeDetail(WFNode node) throws java.rmi.RemoteException, MXException
node
- The node to get details for.java.rmi.RemoteException
MXException
public abstract void validateNode(java.util.Vector errs, java.util.Hashtable hinfo) throws MXException, java.rmi.RemoteException
errs
- A vector of MXExceptions where there are problems in the process.
Any errors found will be added to this list.hinfo
- A hashtable of information that is passed throughout the validation processMXException
java.rmi.RemoteException
public abstract boolean canTakePositive() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public abstract boolean canTakeNegative() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public abstract void addedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
public abstract void removedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
public WFNode getNode()
protected void setNode(WFNode node)
node
- The node.protected void checkActionConnections(java.util.Vector errs) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
protected void checkProcessInclusion(java.util.Vector errs) throws java.rmi.RemoteException, MXException
errs
- This vector is used to collect the error messages.java.rmi.RemoteException
MXException
protected void checkActionReturn(java.util.Vector errs) throws java.rmi.RemoteException, MXException
errs
- This vector is used to collect the error messages.java.rmi.RemoteException
MXException
public abstract void delete(long modifier) throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract void undelete() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public abstract void add() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isTask() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isStop() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isStart() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isInput() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isInteractive() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean isWait() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException