gran.app.adapter.external.attachment
Class SecuredAttachmentAdapterManager

java.lang.Object
  extended bygran.app.adapter.external.attachment.SecuredAttachmentAdapterManager

public class SecuredAttachmentAdapterManager
extends java.lang.Object


Constructor Summary
SecuredAttachmentAdapterManager(java.util.ArrayList adapters)
           
 
Method Summary
 java.lang.String createAttachment(SessionContext sc, java.lang.String taskId, java.lang.String name, java.lang.String description, javax.activation.DataHandler data, boolean sendMail)
           
 java.lang.String createAttachment(SessionContext sc, java.lang.String taskId, java.lang.String name, java.lang.String description, org.apache.struts.upload.FormFile formFile)
           
 void deleteAttachment(SessionContext sc, java.lang.String attachmentId)
           
 javax.activation.DataHandler getAttachment(SessionContext sc, java.lang.String taskId, java.lang.String fileName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuredAttachmentAdapterManager

public SecuredAttachmentAdapterManager(java.util.ArrayList adapters)
Method Detail

deleteAttachment

public void deleteAttachment(SessionContext sc,
                             java.lang.String attachmentId)
                      throws GranException
Throws:
GranException

createAttachment

public java.lang.String createAttachment(SessionContext sc,
                                         java.lang.String taskId,
                                         java.lang.String name,
                                         java.lang.String description,
                                         javax.activation.DataHandler data,
                                         boolean sendMail)
                                  throws GranException
Throws:
GranException

createAttachment

public java.lang.String createAttachment(SessionContext sc,
                                         java.lang.String taskId,
                                         java.lang.String name,
                                         java.lang.String description,
                                         org.apache.struts.upload.FormFile formFile)
                                  throws GranException
Throws:
GranException

getAttachment

public javax.activation.DataHandler getAttachment(SessionContext sc,
                                                  java.lang.String taskId,
                                                  java.lang.String fileName)
                                           throws GranException
Throws:
GranException


Copyright © 2002-2005 TrackStudio, Ltd. All Rights Reserved.