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.
|
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.
|
abstract void |
undelete()
Undo the affect of delete
|
abstract void |
validateNode(java.util.Vector<MXException> errs,
java.util.Hashtable<java.lang.String,java.lang.String> 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<MXException> errs, java.util.Hashtable<java.lang.String,java.lang.String> 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()
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