}
Attachment attachment = das.createAttachment(realFileName, item.get());
FileBean fBean = new FileBean();
fBean.setId(attachment.getId().getValue());
fBean.setFilename(attachment.getName());
fBean.setFileId(attachment.getFileId());
allFileBean.add(fBean);
}
}
if(isError)