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


Java KEWServiceLocator.getRouteNodeService方法代码示例

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


在下文中一共展示了KEWServiceLocator.getRouteNodeService方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: reconstituteActionRequestValues

import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
/**
 * This method creates ActionRequestValue objects from the DocumentDetailDTO output from
 * 
 * @param documentDetail contains the DTOs from which the ActionRequestValues are reconstituted
 * @param preexistingActionRequestIds this is a Set of ActionRequest IDs that will not be reconstituted
 * @return the ActionRequestValueS that have been created
 */
private List<ActionRequestValue> reconstituteActionRequestValues(DocumentDetail documentDetail,
		Set<String> preexistingActionRequestIds) {

       RouteNodeInstanceFabricator routeNodeInstanceFabricator = 
   		new RouteNodeInstanceFabricator(KEWServiceLocator.getRouteNodeService());

       if (documentDetail.getRouteNodeInstances() != null && !documentDetail.getRouteNodeInstances().isEmpty()) {
       	for (org.kuali.rice.kew.api.document.node.RouteNodeInstance routeNodeInstanceVO : documentDetail.getRouteNodeInstances()) {
       		routeNodeInstanceFabricator.importRouteNodeInstanceDTO(routeNodeInstanceVO);
       	}
	}
       
       List<ActionRequest> actionRequestVOs = documentDetail.getActionRequests();
       List<ActionRequestValue> futureActionRequests = new ArrayList<ActionRequestValue>();
       if (actionRequestVOs != null) {
		for (ActionRequest actionRequestVO : actionRequestVOs) {
			if (actionRequestVO != null) {
				if (!preexistingActionRequestIds.contains(actionRequestVO.getId())) {
					ActionRequestValue converted = ActionRequestValue.from(actionRequestVO,
                               routeNodeInstanceFabricator);
					futureActionRequests.add(converted);
				}
			}
		}
	}
	return futureActionRequests;
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:35,代码来源:RouteLogAction.java

示例2: getRouteNodeService

import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
private RouteNodeService getRouteNodeService() {
    return KEWServiceLocator.getRouteNodeService();
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:4,代码来源:BlanketApproveAction.java

示例3: getRouteNodeService

import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
public RouteNodeService getRouteNodeService() {
	if ( routeNodeService == null ) {
		routeNodeService = KEWServiceLocator.getRouteNodeService();
	}
	return routeNodeService;
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:7,代码来源:DocumentConfigurationViewAction.java

示例4: setUpAfterDataLoad

import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
protected void setUpAfterDataLoad() throws Exception {
    routeNodeService = KEWServiceLocator.getRouteNodeService();
}
 
开发者ID:kuali,项目名称:kc-rice,代码行数:4,代码来源:RouteNodeServiceTest.java


注:本文中的org.kuali.rice.kew.service.KEWServiceLocator.getRouteNodeService方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。