use of org.jbpm.services.task.impl.model.DelegationImpl in project jbpm by kiegroup.
the class TaskImpl method readExternal.
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException {
id = in.readLong();
priority = in.readInt();
archived = in.readShort();
taskType = in.readUTF();
formName = in.readUTF();
names = CollectionUtils.readI18NTextList(in);
subjects = CollectionUtils.readI18NTextList(in);
descriptions = CollectionUtils.readI18NTextList(in);
if (in.readBoolean()) {
subTaskStrategy = SubTasksStrategy.valueOf(in.readUTF());
}
if (in.readBoolean()) {
peopleAssignments = new PeopleAssignmentsImpl();
peopleAssignments.readExternal(in);
}
if (in.readBoolean()) {
delegation = new DelegationImpl();
delegation.readExternal(in);
}
if (in.readBoolean()) {
taskData = new TaskDataImpl();
taskData.readExternal(in);
}
if (in.readBoolean()) {
deadlines = new DeadlinesImpl();
deadlines.readExternal(in);
}
}
Aggregations