示例#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;
 }