|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DataSource
A TDW datasource.
| Method Summary | |
|---|---|
String |
getDataAsJSon(int start,
int limit,
String sortingColumn,
Direction direction)
Retrieves the table data as JSON object. |
String |
getDataSourceFactoryId()
Returns the id of the DataSourceFactory that have generated it. |
TableDefinition |
getTableDefinition()
Returns the table definition. |
| Method Detail |
|---|
String getDataSourceFactoryId()
DataSourceFactory that have generated it.
DataSourceFactory id.
TableDefinition getTableDefinition()
throws DataSourceException
DataSourceException - if an error occurred retrieving the table definition.
String getDataAsJSon(int start,
int limit,
String sortingColumn,
Direction direction)
throws DataSourceException
start - the starting row index.limit - the number of rows after the starting index to retrieve.sortingColumn - the column used for sorting.direction - the sorting direction.
DataSourceException - if an error occurred retrieving the table data.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||