Package org.kuali.rice.kew.engine.node
Class RouteNode
java.lang.Object
org.kuali.rice.kew.engine.node.RouteNode
- All Implemented Interfaces:
Serializable,org.kuali.rice.core.api.mo.common.Identifiable,org.kuali.rice.core.api.mo.common.Versioned,org.kuali.rice.kew.api.doctype.RouteNodeContract
- Direct Known Subclasses:
RuleQuickLinksAction.RouteNodeForDisplay
@Entity
public class RouteNode
extends Object
implements Serializable, org.kuali.rice.kew.api.doctype.RouteNodeContract
Represents the prototype definition of a node in the route path of
DocumentType.- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddNextNode(RouteNode nextNode) protected RouteNodeConfigParamgetConfigParam(String key) Looks up a config parameter for this route node definitionList<? extends org.kuali.rice.kew.api.doctype.RouteNodeConfigurationParameterContract> org.kuali.rice.kim.api.group.GroupgetId()getName()getType()booleanbooleanbooleanisFlexRM()booleanbooleanbooleanbooleanvoidsetActivationType(String activationType) voidsetBranch(BranchPrototype branch) protected voidsetConfigParam(String key, String value) Sets a config parameter for this route node definition.voidsetConfigParams(List<RouteNodeConfigParam> configParams) voidsetContentFragment(String contentFragment) voidsetDocumentType(DocumentType documentType) voidsetDocumentTypeId(String documentTypeId) voidsetExceptionWorkgroupId(String workgroupId) voidsetExceptionWorkgroupName(String exceptionWorkgroupName) voidsetFinalApprovalInd(Boolean finalApprovalInd) voidsetLockVerNbr(Integer lockVerNbr) voidsetMandatoryRouteInd(Boolean mandatoryRouteInd) voidsetNextDocStatus(String nextDocStatus) voidsetNextNodes(List<RouteNode> nextNodes) voidsetNodeType(String nodeType) voidsetPreviousNodes(List<RouteNode> parentNodes) voidsetRouteMethodCode(String routeMethodCode) voidsetRouteMethodName(String routeMethodName) voidsetRouteNodeId(String routeNodeId) voidsetRouteNodeName(String routeLevelName) toString()
-
Field Details
-
CONTENT_FRAGMENT_CFG_KEY
- See Also:
-
RULE_SELECTOR_CFG_KEY
- See Also:
-
-
Constructor Details
-
RouteNode
public RouteNode()
-
-
Method Details
-
getConfigParam
Looks up a config parameter for this route node definition- Parameters:
key- the config param key- Returns:
- the RouteNodeConfigParam if present
-
setConfigParam
Sets a config parameter for this route node definition. If the key already exists the existing RouteNodeConfigParam is modified, otherwise a new one is created- Parameters:
key- the key of the parameter to setvalue- the value to set
-
getConfigParams
-
setConfigParams
-
getContentFragment
- Returns:
- the RouteNodeConfigParam value under the 'contentFragment' key
-
setContentFragment
- Parameters:
contentFragment- the content fragment of the node, which will be set as a RouteNodeConfigParam under the 'contentFragment' key
-
getActivationType
- Specified by:
getActivationTypein interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
setActivationType
-
getExceptionWorkgroup
public org.kuali.rice.kim.api.group.Group getExceptionWorkgroup() -
isExceptionGroupDefined
public boolean isExceptionGroupDefined() -
getExceptionWorkgroupId
-
setExceptionWorkgroupId
-
setFinalApprovalInd
-
setMandatoryRouteInd
-
getRouteMethodName
- Specified by:
getRouteMethodNamein interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
setRouteMethodName
-
getDocumentTypeId
- Specified by:
getDocumentTypeIdin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
setDocumentTypeId
-
getRouteNodeId
-
setRouteNodeId
-
getRouteNodeName
-
setRouteNodeName
-
getDocumentType
-
setDocumentType
-
getRouteMethodCode
- Specified by:
getRouteMethodCodein interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
setRouteMethodCode
-
setNextDocStatus
- Parameters:
nextDocStatus- the nextDocStatus to set
-
getNextDocStatus
- Returns:
- the nextDocStatus
-
getExceptionWorkgroupName
-
setExceptionWorkgroupName
-
getLockVerNbr
-
setLockVerNbr
-
isFlexRM
public boolean isFlexRM() -
isRulesEngineNode
public boolean isRulesEngineNode() -
isPeopleFlowNode
public boolean isPeopleFlowNode() -
isRoleNode
public boolean isRoleNode() -
getFinalApprovalInd
-
getMandatoryRouteInd
-
addNextNode
-
getNextNodes
-
setNextNodes
-
getPreviousNodes
-
setPreviousNodes
-
getRuleTemplate
-
getNodeType
-
setNodeType
-
getBranch
-
setBranch
-
toString
-
getVersionNumber
- Specified by:
getVersionNumberin interfaceorg.kuali.rice.core.api.mo.common.Versioned
-
getId
- Specified by:
getIdin interfaceorg.kuali.rice.core.api.mo.common.Identifiable
-
getName
- Specified by:
getNamein interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
isFinalApproval
public boolean isFinalApproval()- Specified by:
isFinalApprovalin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
isMandatory
public boolean isMandatory()- Specified by:
isMandatoryin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getExceptionGroupId
- Specified by:
getExceptionGroupIdin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getType
- Specified by:
getTypein interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getBranchName
- Specified by:
getBranchNamein interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getNextDocumentStatus
- Specified by:
getNextDocumentStatusin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getConfigurationParameters
public List<? extends org.kuali.rice.kew.api.doctype.RouteNodeConfigurationParameterContract> getConfigurationParameters()- Specified by:
getConfigurationParametersin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getPreviousNodeIds
- Specified by:
getPreviousNodeIdsin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-
getNextNodeIds
- Specified by:
getNextNodeIdsin interfaceorg.kuali.rice.kew.api.doctype.RouteNodeContract
-