public class WrapWFNodeDetail extends NodeDetail
Constructor and Description |
---|
WrapWFNodeDetail(WFNodeDetail detailMbo)
Constructor takes the WFNodeDetail record.
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Add the companion record and set any defaults.
|
void |
addedAction(boolean wasPositive)
This method tells the node that an action now originates from it.
|
boolean |
canTakeNegative()
Determines whether this node can take a negative action.
|
boolean |
canTakePositive()
Determines whether this node can take a positive action.
|
void |
delete(long modifier)
delete the detail record when needed.
|
void |
removedAction(boolean wasPositive)
This method tells the node that an action no longer originates from it.
|
void |
undelete()
Undo the deletion of the detail record.
|
void |
validateNode(java.util.Vector<MXException> errs,
java.util.Hashtable<java.lang.String,java.lang.String> hinfo)
Validate this node.
|
getNode, getNodeDetail, isInput, isInteractive, isStart, isStop, isTask, isWait
public WrapWFNodeDetail(WFNodeDetail detailMbo)
public void validateNode(java.util.Vector<MXException> errs, java.util.Hashtable<java.lang.String,java.lang.String> hinfo) throws MXException, java.rmi.RemoteException
validateNode
in class NodeDetail
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 boolean canTakePositive() throws MXException, java.rmi.RemoteException
NodeDetail
canTakePositive
in class NodeDetail
MXException
java.rmi.RemoteException
public boolean canTakeNegative() throws MXException, java.rmi.RemoteException
NodeDetail
canTakeNegative
in class NodeDetail
MXException
java.rmi.RemoteException
public void addedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
NodeDetail
addedAction
in class NodeDetail
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
public void removedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
NodeDetail
removedAction
in class NodeDetail
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
public void delete(long modifier) throws java.rmi.RemoteException, MXException
delete
in class NodeDetail
java.rmi.RemoteException
MXException
public void undelete() throws java.rmi.RemoteException, MXException
undelete
in class NodeDetail
java.rmi.RemoteException
MXException
public void add() throws java.rmi.RemoteException, MXException
add
in class NodeDetail
java.rmi.RemoteException
MXException