org.kuali.rice.kew.engine.node
Class RouteNode
java.lang.Object
org.kuali.rice.kew.engine.node.RouteNode
- All Implemented Interfaces:
- Serializable, Identifiable, Versioned, RouteNodeContract
- Direct Known Subclasses:
- RuleQuickLinksAction.RouteNodeForDisplay
@Entity
public class RouteNode
- extends Object
- implements Serializable, RouteNodeContract
Represents the prototype definition of a node in the route path of DocumentType
.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
- Serialized Form
CONTENT_FRAGMENT_CFG_KEY
public static final String CONTENT_FRAGMENT_CFG_KEY
- See Also:
- Constant Field Values
RULE_SELECTOR_CFG_KEY
public static final String RULE_SELECTOR_CFG_KEY
- See Also:
- Constant Field Values
RouteNode
public RouteNode()
getConfigParam
protected RouteNodeConfigParam getConfigParam(String key)
- Looks up a config parameter for this route node definition
- Parameters:
key
- the config param key
- Returns:
- the RouteNodeConfigParam if present
setConfigParam
protected void setConfigParam(String key,
String value)
- 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
public List<RouteNodeConfigParam> getConfigParams()
setConfigParams
public void setConfigParams(List<RouteNodeConfigParam> configParams)
getContentFragment
public String getContentFragment()
- Returns:
- the RouteNodeConfigParam value under the 'contentFragment' key
setContentFragment
public void setContentFragment(String contentFragment)
- Parameters:
contentFragment
- the content fragment of the node, which will be set as a RouteNodeConfigParam under the 'contentFragment' key
getActivationType
public String getActivationType()
- Specified by:
getActivationType
in interface RouteNodeContract
setActivationType
public void setActivationType(String activationType)
getExceptionWorkgroup
public Group getExceptionWorkgroup()
isExceptionGroupDefined
public boolean isExceptionGroupDefined()
getExceptionWorkgroupId
public String getExceptionWorkgroupId()
setExceptionWorkgroupId
public void setExceptionWorkgroupId(String workgroupId)
setFinalApprovalInd
public void setFinalApprovalInd(Boolean finalApprovalInd)
setMandatoryRouteInd
public void setMandatoryRouteInd(Boolean mandatoryRouteInd)
getRouteMethodName
public String getRouteMethodName()
- Specified by:
getRouteMethodName
in interface RouteNodeContract
setRouteMethodName
public void setRouteMethodName(String routeMethodName)
getDocumentTypeId
public String getDocumentTypeId()
- Specified by:
getDocumentTypeId
in interface RouteNodeContract
setDocumentTypeId
public void setDocumentTypeId(String documentTypeId)
getRouteNodeId
public String getRouteNodeId()
setRouteNodeId
public void setRouteNodeId(String routeNodeId)
getRouteNodeName
public String getRouteNodeName()
setRouteNodeName
public void setRouteNodeName(String routeLevelName)
getDocumentType
public DocumentType getDocumentType()
setDocumentType
public void setDocumentType(DocumentType documentType)
getRouteMethodCode
public String getRouteMethodCode()
- Specified by:
getRouteMethodCode
in interface RouteNodeContract
setRouteMethodCode
public void setRouteMethodCode(String routeMethodCode)
setNextDocStatus
public void setNextDocStatus(String nextDocStatus)
- Parameters:
nextDocStatus
- the nextDocStatus to set
getNextDocStatus
public String getNextDocStatus()
- Returns:
- the nextDocStatus
getExceptionWorkgroupName
public String getExceptionWorkgroupName()
setExceptionWorkgroupName
public void setExceptionWorkgroupName(String exceptionWorkgroupName)
getLockVerNbr
public Integer getLockVerNbr()
setLockVerNbr
public void setLockVerNbr(Integer lockVerNbr)
isFlexRM
public boolean isFlexRM()
isRulesEngineNode
public boolean isRulesEngineNode()
isPeopleFlowNode
public boolean isPeopleFlowNode()
isRoleNode
public boolean isRoleNode()
getFinalApprovalInd
public Boolean getFinalApprovalInd()
getMandatoryRouteInd
public Boolean getMandatoryRouteInd()
addNextNode
public void addNextNode(RouteNode nextNode)
getNextNodes
public List<RouteNode> getNextNodes()
setNextNodes
public void setNextNodes(List<RouteNode> nextNodes)
getPreviousNodes
public List<RouteNode> getPreviousNodes()
setPreviousNodes
public void setPreviousNodes(List<RouteNode> parentNodes)
getRuleTemplate
public RuleTemplateBo getRuleTemplate()
getNodeType
public String getNodeType()
setNodeType
public void setNodeType(String nodeType)
getBranch
public BranchPrototype getBranch()
setBranch
public void setBranch(BranchPrototype branch)
beforeInsert
public void beforeInsert()
toString
public String toString()
- This overridden method ...
- Overrides:
toString
in class Object
- See Also:
Object.toString()
getVersionNumber
public Long getVersionNumber()
- Description copied from interface:
Versioned
- Returns the version number for this object. In general, this value should only
be null if the object has not yet been stored to a persistent data store.
This version number is generally used for the purposes of optimistic locking.
- Specified by:
getVersionNumber
in interface Versioned
- Returns:
- the version number, or null if one has not been assigned yet
getId
public String getId()
- Description copied from interface:
Identifiable
- The unique identifier for an object. This can be null.
- Specified by:
getId
in interface Identifiable
- Returns:
- the id
getName
public String getName()
- Specified by:
getName
in interface RouteNodeContract
isFinalApproval
public boolean isFinalApproval()
- Specified by:
isFinalApproval
in interface RouteNodeContract
isMandatory
public boolean isMandatory()
- Specified by:
isMandatory
in interface RouteNodeContract
getExceptionGroupId
public String getExceptionGroupId()
- Specified by:
getExceptionGroupId
in interface RouteNodeContract
getType
public String getType()
- Specified by:
getType
in interface RouteNodeContract
getBranchName
public String getBranchName()
- Specified by:
getBranchName
in interface RouteNodeContract
getNextDocumentStatus
public String getNextDocumentStatus()
- Specified by:
getNextDocumentStatus
in interface RouteNodeContract
getConfigurationParameters
public List<? extends RouteNodeConfigurationParameterContract> getConfigurationParameters()
- Specified by:
getConfigurationParameters
in interface RouteNodeContract
getPreviousNodeIds
public List<String> getPreviousNodeIds()
- Specified by:
getPreviousNodeIds
in interface RouteNodeContract
getNextNodeIds
public List<String> getNextNodeIds()
- Specified by:
getNextNodeIds
in interface RouteNodeContract
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.