예제 #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;
 }
예제 #2
0
 public void storeAttachment(Attachment attachment) throws RemoteException {
   AttachmentDAO attachmentDAO = new AttachmentDAO(conn);
   attachmentDAO.storeAttachment(attachment);
 }
예제 #3
0
 public Attachment retrieveAttachmentByAttachmentId(long attachmentId) throws RemoteException {
   Attachment attachment = new Attachment();
   AttachmentDAO attachmentDAO = new AttachmentDAO(conn);
   attachment = attachmentDAO.retrieveAttachmentByAttachmentId(attachmentId);
   return attachment;
 }