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)
           
 java.lang.String createAttachment(java.lang.String taskId, java.lang.String userId, java.lang.String name, java.lang.String description, javax.activation.DataHandler data, boolean reIndex)
           
 java.lang.String createAttachment(java.lang.String taskId, java.lang.String userId, java.lang.String name, java.lang.String description, org.apache.struts.upload.FormFile formFile)
           
 void deleteAttachment(java.lang.String attachmentId)
           
 void deleteAttachment(java.lang.String attachmentId, boolean reIndex)
           
 javax.activation.DataHandler getAttachment(java.lang.String taskId, java.lang.String fileName)
           
 java.util.List getAttachmentList(java.lang.String taskId)
           
 java.util.List getAttachmentList(java.lang.String taskId, boolean reIndex)
           
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

createAttachment

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

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,
                                         boolean reIndex)
                                  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

deleteAttachment

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

getAttachmentList

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

getAttachmentList

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


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