gran.app.adapter.kernel.attachment
Class BaseAttachmentAdapter

java.lang.Object
  extended bygran.app.adapter.kernel.attachment.BaseAttachmentAdapter
All Implemented Interfaces:
Adapter, AttachmentAdapter, KernelAdapter

public class BaseAttachmentAdapter
extends java.lang.Object
implements AttachmentAdapter


Constructor Summary
BaseAttachmentAdapter()
           
 
Method Summary
 void deleteAllAttachmentsImpl(java.lang.String taskId)
           
 java.util.ArrayList getAttachmentsImpl(java.lang.String taskid, java.util.ArrayList result)
          Get attachment list for task
 java.lang.String getDescription()
          Get description of adapter as plain text
 boolean init()
          Initialize adapter.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseAttachmentAdapter

public BaseAttachmentAdapter()
Method Detail

init

public boolean init()
Description copied from interface: Adapter
Initialize adapter. TrackStudio calls this method during startup.

Specified by:
init in interface Adapter
Returns:
true when adapter initialized, false otherwise.

getDescription

public java.lang.String getDescription()
Description copied from interface: Adapter
Get description of adapter as plain text

Specified by:
getDescription in interface Adapter

getAttachmentsImpl

public java.util.ArrayList getAttachmentsImpl(java.lang.String taskid,
                                              java.util.ArrayList result)
                                       throws GranException
Description copied from interface: AttachmentAdapter
Get attachment list for task

Specified by:
getAttachmentsImpl in interface AttachmentAdapter
Throws:
GranException

deleteAllAttachmentsImpl

public void deleteAllAttachmentsImpl(java.lang.String taskId)
                              throws GranException
Specified by:
deleteAllAttachmentsImpl in interface AttachmentAdapter
Throws:
GranException


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