use of org.activiti.engine.impl.persistence.entity.TaskEntity in project Activiti by Activiti.
the class TestActivitiEntityEventTaskListener method copy.
private Task copy(Task aTask) {
TaskEntity ent = TaskEntity.create(aTask.getCreateTime());
ent.setId(aTask.getId());
ent.setName(aTask.getName());
ent.setDescription(aTask.getDescription());
ent.setOwner(aTask.getOwner());
ent.setDueDateWithoutCascade(aTask.getDueDate());
ent.setAssignee(aTask.getAssignee());
ent.setPriority(aTask.getPriority());
return ent;
}
Aggregations