org.kuali.rice.kew.engine.node
Class RouteNode

java.lang.Object
  extended by org.kuali.rice.kew.engine.node.RouteNode
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
RuleQuickLinksAction.RouteNodeForDisplay

@Sequence(name="KREW_RTE_NODE_S",
          property="routeNodeId")
public class RouteNode
extends Object
implements Serializable

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

Field Summary
private  String activationType
           
private  BranchPrototype branch
           
private  List<RouteNodeConfigParam> configParams
           
static String CONTENT_FRAGMENT_CFG_KEY
           
private  DocumentType documentType
           
private  Long documentTypeId
           
private  String exceptionWorkgroupId
           
private  String exceptionWorkgroupName
           
private  Boolean finalApprovalInd
           
private  Integer lockVerNbr
           
private  Boolean mandatoryRouteInd
           
private  String nextDocStatus
          The nextDocStatus property represents the value of the ApplicationDocumentStatus to be set in the RouteHeader upon transitioning from this node.
private  List<RouteNode> nextNodes
           
private  String nodeType
           
private  List<RouteNode> previousNodes
           
private  String routeMethodCode
           
private  String routeMethodName
           
private  Long routeNodeId
           
private  String routeNodeName
           
static String RULE_SELECTOR_CFG_KEY
           
private  RuleTemplate ruleTemplate
           
private static long serialVersionUID
           
 
Constructor Summary
RouteNode()
           
 
Method Summary
 void addNextNode(RouteNode nextNode)
           
 void beforeInsert()
           
 String getActivationType()
           
 BranchPrototype getBranch()
           
protected  RouteNodeConfigParam getConfigParam(String key)
          Looks up a config parameter for this route node definition
 List<RouteNodeConfigParam> getConfigParams()
           
 String getContentFragment()
           
 DocumentType getDocumentType()
           
 Long getDocumentTypeId()
           
 Group getExceptionWorkgroup()
           
 String getExceptionWorkgroupId()
           
 String getExceptionWorkgroupName()
           
 Boolean getFinalApprovalInd()
           
 Integer getLockVerNbr()
           
 Boolean getMandatoryRouteInd()
           
 String getNextDocStatus()
           
 List<RouteNode> getNextNodes()
           
 String getNodeType()
           
 List<RouteNode> getPreviousNodes()
           
 String getRouteMethodCode()
           
 String getRouteMethodName()
           
 Long getRouteNodeId()
           
 String getRouteNodeName()
           
 RuleTemplate getRuleTemplate()
           
 boolean isExceptionGroupDefined()
           
 boolean isFlexRM()
           
 boolean isRoleNode()
           
 void setActivationType(String activationType)
           
 void setBranch(BranchPrototype branch)
           
protected  void setConfigParam(String key, String value)
          Sets a config parameter for this route node definition.
 void setConfigParams(List<RouteNodeConfigParam> configParams)
           
 void setContentFragment(String contentFragment)
           
 void setDocumentType(DocumentType documentType)
           
 void setDocumentTypeId(Long documentTypeId)
           
 void setExceptionWorkgroupId(String workgroupId)
           
 void setExceptionWorkgroupName(String exceptionWorkgroupName)
           
 void setFinalApprovalInd(Boolean finalApprovalInd)
           
 void setLockVerNbr(Integer lockVerNbr)
           
 void setMandatoryRouteInd(Boolean mandatoryRouteInd)
           
 void setNextDocStatus(String nextDocStatus)
           
 void setNextNodes(List<RouteNode> nextNodes)
           
 void setNodeType(String nodeType)
           
 void setPreviousNodes(List<RouteNode> parentNodes)
           
 void setRouteMethodCode(String routeMethodCode)
           
 void setRouteMethodName(String routeMethodName)
           
 void setRouteNodeId(Long routeNodeId)
           
 void setRouteNodeName(String routeLevelName)
           
 String toString()
          This overridden method ...
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

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

routeNodeId

private Long routeNodeId

documentTypeId

private Long documentTypeId

routeNodeName

private String routeNodeName

routeMethodName

private String routeMethodName

finalApprovalInd

private Boolean finalApprovalInd

mandatoryRouteInd

private Boolean mandatoryRouteInd

exceptionWorkgroupId

private String exceptionWorkgroupId

routeMethodCode

private String routeMethodCode

activationType

private String activationType

nextDocStatus

private String nextDocStatus
The nextDocStatus property represents the value of the ApplicationDocumentStatus to be set in the RouteHeader upon transitioning from this node.


lockVerNbr

private Integer lockVerNbr

documentType

private DocumentType documentType

exceptionWorkgroupName

private String exceptionWorkgroupName

ruleTemplate

private RuleTemplate ruleTemplate

nodeType

private String nodeType

previousNodes

private List<RouteNode> previousNodes

nextNodes

private List<RouteNode> nextNodes

branch

private BranchPrototype branch

configParams

private List<RouteNodeConfigParam> configParams
Constructor Detail

RouteNode

public RouteNode()
Method Detail

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 set
value - 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()

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()

setRouteMethodName

public void setRouteMethodName(String routeMethodName)

getDocumentTypeId

public Long getDocumentTypeId()

setDocumentTypeId

public void setDocumentTypeId(Long documentTypeId)

getRouteNodeId

public Long getRouteNodeId()

setRouteNodeId

public void setRouteNodeId(Long 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()

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()

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 RuleTemplate 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()


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.