gran.app.adapter.export
Class CSVExportAdapter

java.lang.Object
  extended bygran.app.adapter.export.CSVExportAdapter
All Implemented Interfaces:
Adapter, ExportAdapter

public class CSVExportAdapter
extends java.lang.Object
implements ExportAdapter


Constructor Summary
CSVExportAdapter()
           
 
Method Summary
 java.lang.String exportImpl(SessionContext sc, java.lang.String taskId, java.lang.String filterId, java.lang.String encoding)
          Export task with subtasks
 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

CSVExportAdapter

public CSVExportAdapter()
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

exportImpl

public java.lang.String exportImpl(SessionContext sc,
                                   java.lang.String taskId,
                                   java.lang.String filterId,
                                   java.lang.String encoding)
                            throws GranException
Description copied from interface: ExportAdapter
Export task with subtasks

Specified by:
exportImpl in interface ExportAdapter
Parameters:
taskId - - task (or project) to export
Throws:
GranException


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