return AddDocumentationTaskData.class;
}
@Override
public Map<String,Object> loadTaskData(String taskId, Solution linkedSolution, Boolean forHistory) {
AddDocumentationTaskData taskData = addDocumentationTaskDataService.findEntityByProcessTaskId(taskId);
if (taskData == null) {
taskData = new AddDocumentationTaskData();
Document document = new Document();
taskData.setDocument(document);
}
taskData.setTaskId(taskId);
Map<String,Object> data = new HashMap<String,Object>();
data.put("taskData", taskData);
return data;
}