Package com.itedge.infrastructure.taskdata

Examples of com.itedge.infrastructure.taskdata.ITaskDataEntity


      String taskId = (String) request.getSession().getAttribute(SESSION_ATTR_TASK_ID);
      String procId = (String) request.getSession().getAttribute(SESSION_ATTR_PROC_ID);
      IProcessEntity linkedObject = getLinkedObject(procId);
      if (taskHandlerMapping.containsKey(path)) {
      ITaskDataHandler<ITaskDataEntity, IProcessEntity> handler = taskHandlerMapping.get(path);
        ITaskDataEntity taskData = handler.bindTaskData(request, linkedObject);
      TaskDataUtil.setLastUpdate(taskData, ContextUtil.getLoggedUsername());
        if (RequestMethod.PUT.name().equals(request.getMethod())) {
          handler.saveTaskData(taskData);
        } else if (RequestMethod.POST.name().equals(request.getMethod())) {
          handler.saveTaskDataAndPushProcess(taskData, linkedObject, taskId);
View Full Code Here

TOP

Related Classes of com.itedge.infrastructure.taskdata.ITaskDataEntity

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.