***  This interface is subject to change.  ***

com.sas.commands.export
Interface OLAPExportCommandInterface

All Superinterfaces:
BaseEntityValueInterface
All Known Subinterfaces:
OLAPExportCommandV2Interface
All Known Implementing Classes:
BaseOLAPExportCommand, OLAPExportToCSVCommand, OLAPExportToExcelXMLCommand, OLAPExportToHTMLCommand, OLAPExportToTabSeparatedCommand

public interface OLAPExportCommandInterface
extends BaseEntityValueInterface

Represents a command for exporting multidimensional data

Since:
3.1

Method Summary
 void execute(int startRow, int nRows, boolean isRawData, boolean repeatLabels)
          Executes the command
 void execute(java.lang.Object out, int startRow, int nRows, boolean isRawData, boolean repeatLabels)
          Executes the command
 
Methods inherited from interface com.sas.entities.BaseEntityValueInterface
getAttribute, setAttribute
 

Method Detail

execute

void execute(int startRow,
             int nRows,
             boolean isRawData,
             boolean repeatLabels)
Executes the command

Parameters:
startRow - the index (in the model) of the first row of data to export
nRows - the number of rows of data to export
isRawData - true if non formatted data have to be exported, false if formatted data have to be exported
repeatLabels - true if the row labels have to be repeated in the exported stream when the OLAP model is expanded, false otherwise

execute

void execute(java.lang.Object out,
             int startRow,
             int nRows,
             boolean isRawData,
             boolean repeatLabels)
Executes the command

Parameters:
out - the output object where to write the exported data to (example a ServletResponse or a Writer)
startRow - the index (in the model) of the first row of data to export
nRows - the number of rows of data to export
isRawData - true if non formatted data have to be exported, false if formatted data have to be exported
repeatLabels - true if the row labels have to be repeated in the exported stream when the OLAP model is expanded, false otherwise

***  This interface is subject to change.  ***




Copyright © 2009 SAS Institute Inc. All Rights Reserved.