public class WFNode extends Mbo implements WFNodeRemote
This is a system level object.
The key attributes for this object are ProcessName, NodeId and ProcessRev. Process Name & Revision identify the process this node is a member of. Node ID identifies the node within the process.
The attributes in this object are as follows:
Attribute Name | Description |
---|---|
Description | Description of the node. |
ImageFile | The filename of the IMAGE to be displayed for this type of node. |
LdKey | Long description key for DESCRIPTION field. |
NodeId | The identifier for the node. |
NodeType | The type of node. |
ProcessName | The Process that this node is related to.
|
ProcessRev | Process revision. |
Title | Name of the node. |
Xcoordinate | X Coordinate on the graphical palette. |
Xcoordinate | Y Coordinate on the graphical palette. |
MULTILANGCOPY, phantomList, phantomQueue
ALLROWS, CHANGEDBY_USER, COUNT_ADDITIONS, COUNT_AFTERSAVE, COUNT_DATABASE, COUNT_DELETED, COUNT_EXISTING, DBCONFIG, DELAYVALIDATION, DELAYVALIDATIONONLY, DISCARDABLE, GOTCOMPLETEWHERE, HIDDEN, NO_RELATEDMBOS_OF_OWNERSCHILDREN_FETCH, NOACCESSCHECK, NOACTION, NOADD, NOCOMMIT, NODELETE, NONE, NOOVERWRITE, NOSAVE, NOSETVALUE, NOUPDATE, NOVALIDATION, NOVALIDATION_AND_NOACTION, NOVALIDATION_AND_NOACTION_ALLOWCROSSOVER, READONLY, REBUILD, REQUIRED, SAMEVALUEVALIDATION, SETBYPARENT, USER
Constructor and Description |
---|
WFNode(MboSet ms)
Construct the WFNode object
|
Modifier and Type | Method and Description |
---|---|
void |
add()
Called when a new workflow node is created.
|
void |
addedAction(boolean wasPositive)
This method tells the node that an action now originates from it.
|
void |
applyWorkflowAction(WFActionRemote action)
Tell workflow that the action has been taken.
|
void |
applyWorkflowAction(WFActionRemote action,
java.lang.String memo)
Tell workflow that the action has been taken.
|
void |
canDelete()
The Start node cannot be deleted.
|
boolean |
canTakeNegative()
Determines whether this node can take a negative action.
|
boolean |
canTakePositive()
Determines whether this node can take a positive action.
|
boolean |
completeWorkflowAssignment(WFAssignment assignMbo,
WFAction actionMbo,
java.lang.String memo)
Complete the workflow assignment.
|
int |
countNegativeAction()
Counts the number of negative actions extending from this node.
|
int |
countNegativeActionIn()
Counts the number of negative actions extending to this node.
|
int |
countPositiveAction()
Counts the number of positive actions extending from this node.
|
int |
countPositiveActionIn()
Counts the number of positive actions extending to this node.
|
void |
delete(long modifier)
When a node is deleted, all actions originating or arriving at the node are deleted, too.
|
void |
duplicateDetails(WFNode origNode)
Copy the details of this node.
|
MboSetRemote |
getCompanionSet()
Get the companion MboSet that has node type specific information for this node.
|
NodeDetail |
getNodeDetail()
This returns an object which has node specific data about this node.
|
java.lang.String[] |
getValidateOrder()
Validation Order for WFNode attributes.
|
WFCallStack |
getWFCallStack()
Nodes are owned by the CallStack during run-time.
|
WFActionSet |
getWorkflowActions()
Returns the set of actions extending from this node.
|
WFActionSet |
getWorkflowActionsIn()
Returns the set of actions pointing to this node.
|
boolean |
hasNegativeActionIn()
Determine whether any negative actions point to this node.
|
boolean |
hasNodeActions(boolean isPositive)
Determines whether a node has an action, of a certain type, coming out
of it.
|
boolean |
hasOwnerNode()
Called by the validation routines to determine whether this node has at least one arrow pointing
to it.
|
boolean |
hasPositiveActionIn()
Determine whether any postive actions point to this node.
|
void |
init()
Mbo Initialization routine.
|
void |
initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
Called whenever a relationship is initialized or reset from this Mbo to another MboSet.
|
void |
makeNodeNotifications()
Creates Notifications from templates.
|
void |
removedAction(boolean wasPositive)
This method tells the node that an action no longer originates from it.
|
void |
stopAtNode(java.lang.String memo)
Stop assignments related to this node.
|
void |
undelete()
Unmark the Mbo for deletion.
|
void |
writeTransaction(java.lang.String transType,
java.lang.String memo)
Write a transaction
|
addMboSetForRequiredCheck, addToDeleteForInsertList, andEvaluateConditions, appValidate, blindCopy, checkFieldAccess, checkMethodAccess, checkMethodAccess, checkQualifiedRestriction, checkSiteOrgAccessForSave, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, determineRequiredFieldsFromERM, duplicate, enableMethod, evaluateCondition, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, evaluateRestriction, excludeObjectForPropagate, findAllNullRequiredFields, fireEvent, generateAutoKey, generateContentUID, getAlwaysFlags, getAttrRestrictionFlag, getAttrRestrictions, getBoolean, getByte, getBytes, getCheckpoint, getClientLocale, getClientTimeZone, getCommLogOwnerNameAndUniqueId, getCondition, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainFilterWhere, getDomainIDs, getDouble, getESId, getExistingMboSet, getFetchIndex, getFieldExceptions, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertOrgForSite, getInsertSite, getInstanciatedMboSet, getInstanciatedMboValue, getInt, getIntegrationService, getKeyValue, getLanguageRecordRowStamp, getLinesRelationship, getList, getLockedByDisplayName, getLockedByUserID, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboCtx, getMboData, getMboDataSet, getMboForAttribute, getMboForAttributeStatic, getMboInitialValue, getMboList, getMboLogger, getMboRecordData, getMboServer, getMboSet, getMboSet, getMboSet, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, isApiBatchError, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isEAuditFieldModified, isESigFieldModified, isFlagSet, isForDM, isLocked, isLocked, isLockedByMe, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNoSql, isNull, isOptionGranted, isSelected, isSkipCopyField, isValid, isZombie, lock, modify, moveFieldFlagsToMboValue, needCallInitFieldFlag, orEvaluateConditions, propagateKeyValue, removeCtx, removeRelatedSet, resolveNoSqlWhere, rollbackToCheckpoint, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDefaultValue, setDefaultValues, setDeleted, setEAuditFieldModified, setESId, setESigFieldModified, setFetchIndex, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setHierarchyLink, setIgnoreRecordLockCheck, setLangCodeDefault, setMboCtx, setMLValue, setModified, setModifiedForIntegrationOnly, setNewMbo, setNoSql, setPropagateKeyFlag, setPropagateKeyFlag, setProxy, setReadonlyWhenParentIsReadonly, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setUniqueIDValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueFromSequence, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChanged
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addMboSetForRequiredCheck, addToDeleteForInsertList, blindCopy, checkMethodAccess, clear, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, duplicate, evaluateCondition, evaluateCtrlConditions, evaluateCtrlConditions, excludeObjectForPropagate, generateAutoKey, getBoolean, getByte, getBytes, getCommLogOwnerNameAndUniqueId, getDatabaseValue, getDate, getDeleteForInsertList, getDocLinksCount, getDomainIDs, getDouble, getExistingMboSet, getFlags, getFloat, getIgnoreLockCheck, getInitialValue, getInsertCompanySetId, getInsertItemSetId, getInsertOrganization, getInsertSite, getInt, getKeyValue, getLinesRelationship, getList, getLockedByDisplayName, getLong, getMatchingAttr, getMatchingAttr, getMatchingAttrs, getMaxMessage, getMboData, getMboDataSet, getMboInitialValue, getMboList, getMboSet, getMboSet, getMboSet, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getPropagateKeyFlag, getRecordIdentifer, getSiteOrg, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getThisMboSet, getUniqueIDName, getUniqueIDValue, getUserInfo, getUserName, hasHierarchyLink, hasLockSaveRights, isAutoKeyed, isBasedOn, isFlagSet, isForDM, isLocked, isLocked, isMasterTenant, isMboLockedByMe, isModified, isModified, isNew, isNull, isOptionGranted, isSelected, isZombie, lock, propagateKeyValue, rollbackToCheckpoint, select, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDeleted, setESigFieldModified, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlag, setFieldFlags, setFlag, setFlag, setFlags, setForDM, setIgnoreRecordLockCheck, setMLValue, setModified, setNewMbo, setPropagateKeyFlag, setPropagateKeyFlag, setReferencedMbo, setReferencedMbo, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueNull, setValueNull, sigopGranted, sigopGranted, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributes
public WFNode(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteException
public void init() throws MXException
init
in class Mbo
MXException
public void initRelationship(java.lang.String relationName, MboSetRemote mboSet) throws MXException, java.rmi.RemoteException
initRelationship
in class Mbo
relationName
- The relationship name of the related MboSet which need to initialize.mboSet
- The related MboSet which need to initialize.MXException
java.rmi.RemoteException
public void add() throws MXException, java.rmi.RemoteException
add
in interface MboRemote
add
in class Mbo
MXException
java.rmi.RemoteException
public WFCallStack getWFCallStack()
public WFActionSet getWorkflowActions() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public WFActionSet getWorkflowActionsIn() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void applyWorkflowAction(WFActionRemote action, java.lang.String memo) throws java.rmi.RemoteException, MXException
action
- The action taken.memo
- Memojava.rmi.RemoteException
MXException
WFAction.applyWorkflowAction(java.lang.String)
public final void applyWorkflowAction(WFActionRemote action) throws java.rmi.RemoteException, MXException
action
- The action taken.java.rmi.RemoteException
MXException
Called with an empty string memo.
public void makeNodeNotifications() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public boolean completeWorkflowAssignment(WFAssignment assignMbo, WFAction actionMbo, java.lang.String memo) throws MXException, java.rmi.RemoteException
assignment
- The assignment completed.action
- The action to now take.MXException
java.rmi.RemoteException
public void stopAtNode(java.lang.String memo) throws java.rmi.RemoteException, MXException
memo
- Stop assignment memo.java.rmi.RemoteException
MXException
public void writeTransaction(java.lang.String transType, java.lang.String memo) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasOwnerNode() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int countPositiveAction() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int countNegativeAction() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasPositiveActionIn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public boolean hasNegativeActionIn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int countPositiveActionIn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public int countNegativeActionIn() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public MboSetRemote getCompanionSet() throws MXException, java.rmi.RemoteException
getCompanionSet
in interface WFNodeRemote
MXException
java.rmi.RemoteException
getCompanionSet()
public boolean canTakePositive() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
This abstract method allows the
different node types determine the result.
public boolean canTakeNegative() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
This abstract method allows the
different node types determine the result.
public void addedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
Opposite method.
,
This method allows the
different node types determine what happens.
public void removedAction(boolean wasPositive) throws MXException, java.rmi.RemoteException
wasPositive
- Was a positive action added?MXException
java.rmi.RemoteException
Opposite method.
,
This method allows the
different node types determine what happens.
,
Deletion of an action causes this method
to be called.
public void delete(long modifier) throws MXException, java.rmi.RemoteException
delete
in interface MboRemote
delete
in class Mbo
modifier
- The bitwise flag specified to determine
if certain normal security checks are to be
bypassed for this delete request.
For example:
if the accessModifer is NOACCESSCHECK, then the
check for the object's NODELETE flag and the
call to the object's canDelete() method
will not be performed.
If the accessModifer is NONE, then all the
access checks are performed before this object
is marked delete.MXException
java.rmi.RemoteException
Mbo.delete(long)
public void undelete() throws java.rmi.RemoteException, MXException
Mbo
undelete
in interface MboRemote
undelete
in class Mbo
java.rmi.RemoteException
MXException
public boolean hasNodeActions(boolean isPositive) throws MXException, java.rmi.RemoteException
isPositive
- Is this a positive action?MXException
java.rmi.RemoteException
public NodeDetail getNodeDetail() throws java.rmi.RemoteException, MXException
java.rmi.RemoteException
MXException
public void canDelete() throws MXException, java.rmi.RemoteException
canDelete
in class Mbo
MXApplicationException
- Thrown with "workflow", "NoDelStart" if this is a start
node.MXException
java.rmi.RemoteException
public void duplicateDetails(WFNode origNode) throws java.rmi.RemoteException, MXException
origNode
- The original node detailsjava.rmi.RemoteException
MXException
public java.lang.String[] getValidateOrder()
getValidateOrder
in class Mbo