當前位置: 首頁>>代碼示例>>Java>>正文


Java RouteNode.setRouteNodeName方法代碼示例

本文整理匯總了Java中org.kuali.rice.kew.engine.node.RouteNode.setRouteNodeName方法的典型用法代碼示例。如果您正苦於以下問題:Java RouteNode.setRouteNodeName方法的具體用法?Java RouteNode.setRouteNodeName怎麽用?Java RouteNode.setRouteNodeName使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在org.kuali.rice.kew.engine.node.RouteNode的用法示例。


在下文中一共展示了RouteNode.setRouteNodeName方法的6個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: getSplitNode

import org.kuali.rice.kew.engine.node.RouteNode; //導入方法依賴的package包/類
/**
 * @param process
 * @return Route Node of the JoinNode that will be prototype for the split RouteNodeInstances generated by this component
 */
private static RouteNode getSplitNode(RouteNodeInstance process) {
    RouteNode dynamicNode = process.getRouteNode();
    RouteNode splitNode = new RouteNode();
    splitNode.setActivationType(dynamicNode.getActivationType());
    splitNode.setDocumentType(dynamicNode.getDocumentType());
    splitNode.setFinalApprovalInd(dynamicNode.getFinalApprovalInd());
    splitNode.setExceptionWorkgroupId(dynamicNode.getExceptionWorkgroupId());
    splitNode.setMandatoryRouteInd(dynamicNode.getMandatoryRouteInd());
    splitNode.setNodeType(SimpleSplitNode.class.getName());
    splitNode.setRouteMethodCode("FR");
    splitNode.setRouteMethodName(null);
    splitNode.setRouteNodeName(SPLIT_PROCESS_NAME);
    return splitNode;
    //SubRequests
}
 
開發者ID:kuali,項目名稱:kc-rice,代碼行數:20,代碼來源:HierarchyRoutingNode.java

示例2: getRequestNode

import org.kuali.rice.kew.engine.node.RouteNode; //導入方法依賴的package包/類
/**
 * @param process
 * @return RouteNode of RequestsNode that will be prototype for RouteNodeInstances having requets that are generated by this component
 */
private RouteNode getRequestNode(HierarchyProvider provider, RouteNodeInstance process) {
    RouteNode dynamicNode = process.getRouteNode();
    RouteNode requestsNode = new RouteNode();
    requestsNode.setActivationType(dynamicNode.getActivationType());
    requestsNode.setDocumentType(dynamicNode.getDocumentType());
    requestsNode.setFinalApprovalInd(dynamicNode.getFinalApprovalInd());
    requestsNode.setExceptionWorkgroupId(dynamicNode.getExceptionWorkgroupId());
    requestsNode.setMandatoryRouteInd(dynamicNode.getMandatoryRouteInd());
    requestsNode.setNodeType(RequestsNode.class.getName());
    requestsNode.setRouteMethodCode("FR");
    requestsNode.setRouteMethodName(process.getRouteNode().getRouteMethodName());
    requestsNode.setRouteNodeName(REQUEST_PROCESS_NAME);
    provider.configureRequestNode(process, requestsNode);
    return requestsNode;
}
 
開發者ID:kuali,項目名稱:kc-rice,代碼行數:20,代碼來源:HierarchyRoutingNode.java

示例3: installSimulationTerminationNode

import org.kuali.rice.kew.engine.node.RouteNode; //導入方法依賴的package包/類
private void installSimulationTerminationNode(RouteContext context, DocumentType documentType, RouteNodeInstance lastNodeInstance) {
	RouteNode terminationNode = new RouteNode();
	terminationNode.setDocumentType(documentType);
	terminationNode.setDocumentTypeId(documentType.getDocumentTypeId());
	terminationNode.setNodeType(NoOpNode.class.getName());
	terminationNode.setRouteNodeName("SIMULATION_TERMINATION_NODE");
	RouteNodeInstance terminationNodeInstance = helper.getNodeFactory().createRouteNodeInstance(lastNodeInstance.getDocumentId(), terminationNode);
	terminationNodeInstance.setBranch(lastNodeInstance.getBranch());
	lastNodeInstance.addNextNodeInstance(terminationNodeInstance);
	saveNode(context, lastNodeInstance);
}
 
開發者ID:kuali,項目名稱:kc-rice,代碼行數:12,代碼來源:SimulationEngine.java

示例4: getJoinNode

import org.kuali.rice.kew.engine.node.RouteNode; //導入方法依賴的package包/類
/**
 * @param process
 * @return Route Node of the JoinNode that will be prototype for the join RouteNodeInstances generated by this component
 */
private static RouteNode getJoinNode(RouteNodeInstance process) {
    RouteNode dynamicNode = process.getRouteNode();
    RouteNode joinNode = new RouteNode();
    joinNode.setActivationType(dynamicNode.getActivationType());
    joinNode.setDocumentType(dynamicNode.getDocumentType());
    joinNode.setFinalApprovalInd(dynamicNode.getFinalApprovalInd());
    joinNode.setExceptionWorkgroupId(dynamicNode.getExceptionWorkgroupId());
    joinNode.setMandatoryRouteInd(dynamicNode.getMandatoryRouteInd());
    joinNode.setNodeType(SimpleJoinNode.class.getName());
    joinNode.setRouteMethodCode("FR");
    joinNode.setRouteMethodName(null);
    joinNode.setRouteNodeName(JOIN_PROCESS_NAME);
    return joinNode;
}
 
開發者ID:kuali,項目名稱:kc-rice,代碼行數:19,代碼來源:HierarchyRoutingNode.java

示例5: getNoChartOrgNode

import org.kuali.rice.kew.engine.node.RouteNode; //導入方法依賴的package包/類
/**
 * @param process
 * @return RouteNode of a no-op node which will be used if the user sends no Chart+Org XML to this routing component.
 */
private static RouteNode getNoChartOrgNode(RouteNodeInstance process) {
    RouteNode dynamicNode = process.getRouteNode();
    RouteNode noChartOrgNOde = new RouteNode();
    noChartOrgNOde.setActivationType(dynamicNode.getActivationType());
    noChartOrgNOde.setDocumentType(dynamicNode.getDocumentType());
    noChartOrgNOde.setFinalApprovalInd(dynamicNode.getFinalApprovalInd());
    noChartOrgNOde.setExceptionWorkgroupId(dynamicNode.getExceptionWorkgroupId());
    noChartOrgNOde.setMandatoryRouteInd(dynamicNode.getMandatoryRouteInd());
    noChartOrgNOde.setNodeType(NoOpNode.class.getName());
    noChartOrgNOde.setRouteMethodCode("FR");
    noChartOrgNOde.setRouteMethodName(null);
    noChartOrgNOde.setRouteNodeName(NO_STOP_NAME);
    return noChartOrgNOde;
}
 
開發者ID:kuali,項目名稱:kc-rice,代碼行數:19,代碼來源:HierarchyRoutingNode.java

示例6: setupRouteNode

import org.kuali.rice.kew.engine.node.RouteNode; //導入方法依賴的package包/類
private RouteNode setupRouteNode(DocumentType documentType){
    RouteNode routeNode = new RouteNode();
    routeNode.setDocumentType(documentType);
    routeNode.setRouteNodeName("PreRoute");
    routeNode.setRouteMethodName("org.kuali.rice.kew.engine.node.InitialNode");
    routeNode.setRouteMethodCode("C");
    routeNode.setActivationType("P");

    return KRADServiceLocator.getDataObjectService().save(routeNode, PersistenceOption.FLUSH);
}
 
開發者ID:kuali,項目名稱:kc-rice,代碼行數:11,代碼來源:KewDocumentDataJpaTest.java


注:本文中的org.kuali.rice.kew.engine.node.RouteNode.setRouteNodeName方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。