com.trackstudio.kernel.manager
Class AttachmentManager
java.lang.Object
  
com.trackstudio.kernel.manager.KernelManager
      
com.trackstudio.kernel.manager.AttachmentManager
public class AttachmentManager
- extends KernelManager
 
 
| Fields inherited from class com.trackstudio.kernel.manager.KernelManager | 
hu | 
 
 
 
| 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 | 
 
className
protected static java.lang.String className
instance
protected static AttachmentManager instance
log
protected static org.apache.commons.logging.Log log
END_SIGN
protected static final java.lang.String END_SIGN
- See Also:
 - Constant Field Values
 
AttachmentManager
protected AttachmentManager()
getInstance
public static AttachmentManager getInstance()
 
protectExistingFile
protected java.io.File protectExistingFile(java.io.File file)
 
removeLocaleCharacters
public static java.lang.String removeLocaleCharacters(java.lang.String str)
 
createAttachment
public java.util.ArrayList createAttachment(java.lang.String taskId,
                                            java.lang.String userId,
                                            java.util.ArrayList attachments)
                                     throws GranException
- Throws:
 GranException
 
getAttachment
public byte[] 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,
                                        boolean reindex)
                                 throws GranException
- Throws:
 GranException
 
updateAttachment
public void updateAttachment(java.lang.String attachmentId,
                             java.lang.String name,
                             java.lang.String description)
                      throws GranException
- Throws:
 GranException
 
Copyright © 2002-2008 TrackStudio, Ltd. All Rights Reserved.