Esempio n. 1
0
 public List retrieveAttachmentsByCustomerId(long customerId) throws RemoteException {
   List attachments = new ArrayList();
   AttachmentDAO attachmentDAO = new AttachmentDAO(conn);
   attachments = attachmentDAO.retrieveAttachmentsByCustomerId(customerId);
   USFEnv.getLog().writeDebug("attachments size is......" + attachments.size(), this, null);
   return attachments;
 }
Esempio n. 2
0
 public void storeAttachment(Attachment attachment) throws RemoteException {
   AttachmentDAO attachmentDAO = new AttachmentDAO(conn);
   attachmentDAO.storeAttachment(attachment);
 }
Esempio n. 3
0
 public Attachment retrieveAttachmentByAttachmentId(long attachmentId) throws RemoteException {
   Attachment attachment = new Attachment();
   AttachmentDAO attachmentDAO = new AttachmentDAO(conn);
   attachment = attachmentDAO.retrieveAttachmentByAttachmentId(attachmentId);
   return attachment;
 }