use of org.jbpm.services.task.impl.model.AttachmentImpl in project jbpm by kiegroup.
the class CollectionUtils method readAttachmentList.
public static List<Attachment> readAttachmentList(ObjectInput in) throws IOException, ClassNotFoundException {
int size = in.readInt();
List<Attachment> list = new ArrayList<Attachment>(size);
for (int i = 0; i < size; i++) {
Attachment item = new AttachmentImpl();
item.readExternal(in);
list.add(item);
}
return list;
}
Aggregations