com.trackstudio.kernel.manager
Class AttachmentManager

java.lang.Object
  extended bycom.trackstudio.kernel.manager.KernelManager
      extended bycom.trackstudio.kernel.manager.AttachmentManager

public class AttachmentManager
extends KernelManager


Field Summary
 
Fields inherited from class com.trackstudio.kernel.manager.KernelManager
hu
 
Method Summary
 java.lang.String createAttachment(java.lang.String taskId, java.lang.String userId, java.lang.String name, java.lang.String description, javax.activation.DataHandler data)
           
 void deleteAttachment(java.lang.String attachmentId)
           
 javax.activation.DataHandler getAttachment(java.lang.String taskId, java.lang.String fileName)
           
 java.util.List getAttachmentList(java.lang.String taskId)
           
 java.util.ArrayList getAttachments(java.lang.String taskid)
           
protected static AttachmentManager getInstance()
           
 
Methods inherited from class com.trackstudio.kernel.manager.KernelManager
getAcl, getAttachment, getCategory, getEmailType, getFilter, getFind, getIndex, getLicense, getLongText, getMailImport, getMessage, getPrstatus, getRegistration, getReport, getScript, getStep, getTask, getTSInfo, getUdf, getUser, getWorkflow
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

protected static AttachmentManager getInstance()

createAttachment

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

getAttachment

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

deleteAttachment

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

getAttachments

public java.util.ArrayList getAttachments(java.lang.String taskid)
                                   throws GranException
Throws:
GranException

getAttachmentList

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


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