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 Details

  • Constructor Details

    • RouteNode

      public RouteNode()
  • Method Details

    • 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()
      Specified by:
      getActivationType in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • setActivationType

      public void setActivationType(String activationType)
    • getExceptionWorkgroup

      public org.kuali.rice.kim.api.group.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 org.kuali.rice.kew.api.doctype.RouteNodeContract
    • setRouteMethodName

      public void setRouteMethodName(String routeMethodName)
    • getDocumentTypeId

      public String getDocumentTypeId()
      Specified by:
      getDocumentTypeId in interface org.kuali.rice.kew.api.doctype.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 org.kuali.rice.kew.api.doctype.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)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getVersionNumber

      public Long getVersionNumber()
      Specified by:
      getVersionNumber in interface org.kuali.rice.core.api.mo.common.Versioned
    • getId

      public String getId()
      Specified by:
      getId in interface org.kuali.rice.core.api.mo.common.Identifiable
    • getName

      public String getName()
      Specified by:
      getName in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • isFinalApproval

      public boolean isFinalApproval()
      Specified by:
      isFinalApproval in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • isMandatory

      public boolean isMandatory()
      Specified by:
      isMandatory in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getExceptionGroupId

      public String getExceptionGroupId()
      Specified by:
      getExceptionGroupId in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getType

      public String getType()
      Specified by:
      getType in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getBranchName

      public String getBranchName()
      Specified by:
      getBranchName in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getNextDocumentStatus

      public String getNextDocumentStatus()
      Specified by:
      getNextDocumentStatus in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getConfigurationParameters

      public List<? extends org.kuali.rice.kew.api.doctype.RouteNodeConfigurationParameterContract> getConfigurationParameters()
      Specified by:
      getConfigurationParameters in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getPreviousNodeIds

      public List<String> getPreviousNodeIds()
      Specified by:
      getPreviousNodeIds in interface org.kuali.rice.kew.api.doctype.RouteNodeContract
    • getNextNodeIds

      public List<String> getNextNodeIds()
      Specified by:
      getNextNodeIds in interface org.kuali.rice.kew.api.doctype.RouteNodeContract