本文整理匯總了Java中org.kuali.rice.kew.engine.node.RouteNode.setMandatoryRouteInd方法的典型用法代碼示例。如果您正苦於以下問題:Java RouteNode.setMandatoryRouteInd方法的具體用法?Java RouteNode.setMandatoryRouteInd怎麽用?Java RouteNode.setMandatoryRouteInd使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類org.kuali.rice.kew.engine.node.RouteNode
的用法示例。
在下文中一共展示了RouteNode.setMandatoryRouteInd方法的4個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的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;
}