Search in sources :

Example 1 with DeadlinesImpl

use of org.jbpm.services.task.impl.model.DeadlinesImpl 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);
    }
}
Also used : PeopleAssignmentsImpl(org.jbpm.services.task.impl.model.PeopleAssignmentsImpl) DelegationImpl(org.jbpm.services.task.impl.model.DelegationImpl) TaskDataImpl(org.jbpm.services.task.impl.model.TaskDataImpl) DeadlinesImpl(org.jbpm.services.task.impl.model.DeadlinesImpl)

Aggregations

DeadlinesImpl (org.jbpm.services.task.impl.model.DeadlinesImpl)1 DelegationImpl (org.jbpm.services.task.impl.model.DelegationImpl)1 PeopleAssignmentsImpl (org.jbpm.services.task.impl.model.PeopleAssignmentsImpl)1 TaskDataImpl (org.jbpm.services.task.impl.model.TaskDataImpl)1