Package com.itedge.solutionmanager.taskdata.impl.customer

Examples of com.itedge.solutionmanager.taskdata.impl.customer.RemoveContactsTaskData


    return RemoveContactsTaskData.class;
  }
   
  @Override
  public Map<String,Object> loadTaskData(String taskId, Customer linkedCustomer, Boolean forHistory) {
      RemoveContactsTaskData taskData = removeContactsTaskDataService.findEntityByProcessTaskId(taskId);
      if (taskData == null) {
          taskData = new RemoveContactsTaskData();
      }
      //if not for history, set actual contacts
      if (Boolean.FALSE.equals(forHistory)) {
        taskData.setRelatedContacts(linkedCustomer.getContactPersons())
      }
      taskData.setTaskId(taskId);
      Map<String,Object> data = new HashMap<String,Object>();
      data.put("taskData", taskData);
      return data; 
  }
View Full Code Here


  }
 
  @Override
  public RemoveContactsTaskData bindTaskData(HttpServletRequest request, Customer linkedCustomer)
      throws TaskHandlerException {
    RemoveContactsTaskData taskData = super.bindTaskData(request, linkedCustomer);
    bindRelatedContactsFromCustomer(taskData,linkedCustomer);
    return taskData;
  }
View Full Code Here

TOP

Related Classes of com.itedge.solutionmanager.taskdata.impl.customer.RemoveContactsTaskData

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.