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)
           
 void deleteAttachment(SessionContext sc, java.lang.String attachmentId)
           
 javax.activation.DataHandler getAttachment(SessionContext sc, java.lang.String taskId, java.lang.String fileName)
           
 java.util.List getAttachmentList(SessionContext sc, java.lang.String taskId)
           
 
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)
                                  throws GranException
Throws:
GranException

getAttachment

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

getAttachmentList

public java.util.List getAttachmentList(SessionContext sc,
                                        java.lang.String taskId)
                                 throws GranException
Throws:
GranException


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