@Api public interface DataSourceInstance
| Modifier and Type | Method and Description | 
|---|---|
| void | delete(Map<String,Object> data)Delete data with given key. | 
| CountedResult<Map<String,Object>> | getCountedData(Map<String,String> parameters,
              Map<String,String> filters,
              Pagination pagination) | 
| CountedResult<Map<String,Object>> | getCountedData(Map<String,String> parameters,
              Pagination pagination) | 
| Set<DataSourceParameter> | getInputParameters() | 
| Set<DataSourceParameter> | getOutputParameters() | 
| void | save(Map<String,Object> data)Saves data in data source. | 
| void | update(Map<String,Object> data)Updates existing data in data source. | 
CountedResult<Map<String,Object>> getCountedData(Map<String,String> parameters, Pagination pagination)
parameters - Input parameters of data sourcepagination - Information about paginationCountedResult<Map<String,Object>> getCountedData(Map<String,String> parameters, Map<String,String> filters, Pagination pagination)
parameters - Input parameters of data sourcefilters - Parameters to filter data source result based on parameterspagination - Information about paginationvoid update(Map<String,Object> data)
key - Key to updatedata - Data to updateSet<DataSourceParameter> getInputParameters()
Set<DataSourceParameter> getOutputParameters()
Copyright © 2019 Suncode. All rights reserved.