IF_TableDataSource
Class · Group: Controllers
apex
global interface IF_TableDataSourceGeneric Interface for Table data sources
Example
apex
public class AccountTableSource implements IF_TableDataSource
{
public DTO_BaseTable fetch(Map<String, Object> searchParameters)
{
DTO_BaseTable table = new DTO_BaseTable();
table.addColumn('Name', 'name', 'text', true);
return table;
}
}Methods
| Method | Description |
|---|---|
| global abstract DTO_BaseTable fetch(Map<String, Object> searchParameters) | Table datasource function to be implemented |
fetch
apex
global abstract DTO_BaseTable fetch(Map<String, Object> searchParameters)Table datasource function to be implemented
Parameters
| Parameter | Type | Description |
|---|---|---|
searchParameters | Map | Map of fetch parameters - individual implementations can expect differing parameters. |
Returns DTO_BaseTable — Table Response object. Individual implementations must all use the standard response structure.