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, phantomQueueALLROWS, 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.
|
protected boolean |
skipCopyField(MboValueInfo mvi)
Skip the copying of fields ProcessName, ProcessRev, TakeNegative, TakePositive.
|
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, checkRecordLock, checkSiteOrgAccessForSave, clear, clearRelatedSets, clearRelatedSets, commit, copy, copy, copy, copyFake, copyValue, copyValue, createComm, delete, deleteDoclinks, 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, getMboSetInfo, getMboValue, getMboValueData, getMboValueData, getMboValueData, getMboValueDataForDownload, getMboValueInfoStatic, getMboValueInfoStatic, getMessage, getMessage, getMessage, getMessage, getMXTransaction, getName, getOrgForGL, getOrgSiteForMaxvar, getOwner, getProfile, getPropagateKeyFlag, getProxy, getRecordIdentifer, getRecordMboName, getRecordType, getRelatedSets, getRelatedWhere, getRelatedWhere, getRelationshipNameToLangTable, getResourceName, getRowRestrictionFlag, getRowStamp, getRowStampObject, getSecurityLogger, getSiteOrg, getSqlLogger, getString, getString, getStringInBaseLanguage, getStringInSpecificLocale, getStringTransparent, getSynonymValueWhere, getTenantId, getTenantIdForNoMboRecordData, getThisMboSet, getTranslator, getUniqueIdentifer, getUniqueIDName, getUniqueIDValue, getUniqueLanguageIDRecord, getUserInfo, getUserName, hasFieldAccess, hasHierarchyLink, hasLockSaveRights, hasRelatedQbe, hasUniqueID, initFieldFlagsOnMbo, isApiBatchError, isAppLockEnabled, isAutoKeyed, isBasedOn, isChangeByUserWhenSetFromLookup, isDuringInit, 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, save, select, setAppDefaultValue, setApplicationError, setApplicationRequired, setAutokeyFields, setCopyDefaults, setDatabaseDefaultValues, setDatabaseDefaultValues, setDefaultValue, setDefaultValues, setDeleted, setDuringInit, 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, setRecordType, setReferencedMbo, setReferencedMbo, setResolveNoSqlWhere, setResourceName, setTenantIdForNoMboRecordData, 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, sigopGranted, sigOptionAccessAuthorized, smartFill, smartFind, smartFind, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, throwRequiredException, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, undeleteDoclinks, unlock, unselect, useDataSecurity, validate, validateAttributes, validateKeyUniqueness, valueChangedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddMboSetForRequiredCheck, 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, smartFind, smartFindByObjectName, smartFindByObjectName, smartFindByObjectNameDirect, startCheckpoint, thisToBeUpdated, toBeAdded, toBeDeleted, toBeSaved, toBeUpdated, toBeValidated, unlock, unselect, validate, validateAttributespublic WFNode(MboSet ms) throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void init()
throws MXException
init in class MboMXExceptionpublic void initRelationship(java.lang.String relationName,
MboSetRemote mboSet)
throws MXException,
java.rmi.RemoteException
initRelationship in class MborelationName - The relationship name of the related MboSet which need to initialize.mboSet - The related MboSet which need to initialize.MXExceptionjava.rmi.RemoteExceptionpublic void add()
throws MXException,
java.rmi.RemoteException
add in interface MboRemoteadd in class MboMXExceptionjava.rmi.RemoteExceptionpublic WFCallStack getWFCallStack()
public WFActionSet getWorkflowActions() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic WFActionSet getWorkflowActionsIn() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void applyWorkflowAction(WFActionRemote action, java.lang.String memo) throws java.rmi.RemoteException, MXException
action - The action taken.memo - Memojava.rmi.RemoteExceptionMXExceptionWFAction.applyWorkflowAction(java.lang.String)public final void applyWorkflowAction(WFActionRemote action) throws java.rmi.RemoteException, MXException
action - The action taken.java.rmi.RemoteExceptionMXExceptionCalled with an empty string memo.public void makeNodeNotifications()
throws java.rmi.RemoteException,
MXException
java.rmi.RemoteExceptionMXExceptionpublic 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.MXExceptionjava.rmi.RemoteExceptionpublic void stopAtNode(java.lang.String memo)
throws java.rmi.RemoteException,
MXException
memo - Stop assignment memo.java.rmi.RemoteExceptionMXExceptionpublic void writeTransaction(java.lang.String transType,
java.lang.String memo)
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean hasOwnerNode()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int countPositiveAction()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int countNegativeAction()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean hasPositiveActionIn()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic boolean hasNegativeActionIn()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int countPositiveActionIn()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic int countNegativeActionIn()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionpublic MboSetRemote getCompanionSet() throws MXException, java.rmi.RemoteException
getCompanionSet in interface WFNodeRemoteMXExceptionjava.rmi.RemoteExceptionWFNode.getCompanionSet()public boolean canTakePositive()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionThis abstract method allows the
different node types determine the result.public boolean canTakeNegative()
throws MXException,
java.rmi.RemoteException
MXExceptionjava.rmi.RemoteExceptionThis 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?MXExceptionjava.rmi.RemoteExceptionOpposite 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?MXExceptionjava.rmi.RemoteExceptionOpposite 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 MboRemotedelete in class Mbomodifier - 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.MXExceptionjava.rmi.RemoteExceptionMbo.delete(long)public void undelete()
throws java.rmi.RemoteException,
MXException
Mboundelete in interface MboRemoteundelete in class Mbojava.rmi.RemoteExceptionMXExceptionpublic boolean hasNodeActions(boolean isPositive)
throws MXException,
java.rmi.RemoteException
isPositive - Is this a positive action?MXExceptionjava.rmi.RemoteExceptionpublic NodeDetail getNodeDetail() throws java.rmi.RemoteException, MXException
java.rmi.RemoteExceptionMXExceptionpublic void canDelete()
throws MXException,
java.rmi.RemoteException
canDelete in class MboMXApplicationException - Thrown with "workflow", "NoDelStart" if this is a start
node.MXExceptionjava.rmi.RemoteExceptionpublic void duplicateDetails(WFNode origNode) throws java.rmi.RemoteException, MXException
origNode - The original node detailsjava.rmi.RemoteExceptionMXExceptionprotected boolean skipCopyField(MboValueInfo mvi) throws java.rmi.RemoteException, MXException
skipCopyField in class Mbojava.rmi.RemoteExceptionMXExceptionMbo.skipCopyField(psdi.mbo.MboValueInfo)public java.lang.String[] getValidateOrder()
getValidateOrder in class Mbo