All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.sas.commands.export
Interface OLAPExportCommandV2Interface

All Superinterfaces:
  BaseEntityValueInterface, OLAPExportCommandInterface

All Known Implementing Classes:
  BaseOLAPExportCommand, OLAPExportToCSVCommand, OLAPExportToExcelXMLCommand, OLAPExportToHTMLCommand, OLAPExportToTabSeparatedCommand

    public interface OLAPExportCommandV2Interface

extends OLAPExportCommandInterface

Represents a command for exporting headers and footers together multidimensional data

Since:
  3.1

Method Summary
`abstract void` | `execute(int startRow, int nRows, boolean isRawData, boolean repeatLabels, java.lang.String[] headers, java.lang.String[] footers)` Executes the command
`abstract void` | `execute(java.lang.Object out, int startRow, int nRows, boolean isRawData, boolean repeatLabels, java.lang.String[] headers, java.lang.String[] footers)` Executes the command

Methods inherited from interface com.sas.commands.export.OLAPExportCommandInterface
`execute, execute`

Methods inherited from interface com.sas.entities.BaseEntityValueInterface
`getAttribute, setAttribute`

Method Detail

### execute

    void execute(int startRow,
                 int nRows,
                 boolean isRawData,
                 boolean repeatLabels,
                 java.lang.String[] headers,
                 java.lang.String[] footers)

  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
    `headers` - the headers to export above the data, each header on a separate row
    `footers` - the footers to export below the data, each footer on a separate row

### execute

    void execute(java.lang.Object out,
                 int startRow,
                 int nRows,
                 boolean isRawData,
                 boolean repeatLabels,
                 java.lang.String[] headers,
                 java.lang.String[] footers)

  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
    `headers` - the headers to export above the data, each header on a separate row
    `footers` - the footers to export below the data, each footer on a separate row

All Libraries | This Library | Package | Class | Use | Tree | Deprecated | Index | Grand Index | Help
|  | Components |
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2009 SAS Institute Inc. All Rights Reserved.