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