当前位置: 首页>>代码示例>>Java>>正文


Java RouteNode.setRouteMethodCode方法代码示例

本文整理汇总了Java中org.kuali.rice.kew.engine.node.RouteNode.setRouteMethodCode方法的典型用法代码示例。如果您正苦于以下问题:Java RouteNode.setRouteMethodCode方法的具体用法?Java RouteNode.setRouteMethodCode怎么用?Java RouteNode.setRouteMethodCode使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.kuali.rice.kew.engine.node.RouteNode的用法示例。


在下文中一共展示了RouteNode.setRouteMethodCode方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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: 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

示例4: 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

示例5: 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.setRouteMethodCode方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。