本文整理汇总了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;
}
示例2: getRouteNodeService
import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
private RouteNodeService getRouteNodeService() {
return KEWServiceLocator.getRouteNodeService();
}
示例3: getRouteNodeService
import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
public RouteNodeService getRouteNodeService() {
if ( routeNodeService == null ) {
routeNodeService = KEWServiceLocator.getRouteNodeService();
}
return routeNodeService;
}
示例4: setUpAfterDataLoad
import org.kuali.rice.kew.service.KEWServiceLocator; //导入方法依赖的package包/类
protected void setUpAfterDataLoad() throws Exception {
routeNodeService = KEWServiceLocator.getRouteNodeService();
}