fr.cnes.sitools.dataset.export
Class DBRecordSetExportRepresentation

java.lang.Object
  extended by fr.cnes.sitools.dataset.export.DBRecordSetExportRepresentation

public final class DBRecordSetExportRepresentation
extends java.lang.Object

[3314255]
2011/06/16 m.gond {Show only the visible columns}
2011/07/04 d.arpin : {view all the columns asked in the csvBody} [#3355053]
2011/07/06 d.arpin {Use the method getAllColumnVisible instead of getColumnVisible to get the virtual columns}
Class to create representation associated to export formats (i.e. CSV, PDF)

Author:
m.marseille (AKKA Technologies)

Constructor Summary
DBRecordSetExportRepresentation(DatabaseRequest dbr, DataSetExplorerUtil res, DataSetApplication d, ConverterChained cvc)
          Constructor
 
Method Summary
 DataSetApplication getDsa()
          Gets the dsa value
 void getStream(java.io.OutputStream arg0)
          Get the stream
 void setDsa(DataSetApplication dsa)
          Sets the value of dsa
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DBRecordSetExportRepresentation

public DBRecordSetExportRepresentation(DatabaseRequest dbr,
                                       DataSetExplorerUtil res,
                                       DataSetApplication d,
                                       ConverterChained cvc)
Constructor

Parameters:
dbr - the DataSource request used
res - the datasetExplorerResource
d - the datasetApplication for notions
cvc - the converters before export
Method Detail

getStream

public void getStream(java.io.OutputStream arg0)
               throws java.io.IOException
Get the stream

Parameters:
arg0 - the initial stream
Throws:
java.io.IOException - if writing problems occur

getDsa

public DataSetApplication getDsa()
Gets the dsa value

Returns:
the dsa

setDsa

public void setDsa(DataSetApplication dsa)
Sets the value of dsa

Parameters:
dsa - the dsa to set


Copyright © 2010-2013 CNES. All Rights Reserved.