public class DataSourceItemCollector extends Object
Modifier and Type | Field and Description |
---|---|
protected org.apache.log4j.Logger |
mLogger |
Constructor and Description |
---|
DataSourceItemCollector() |
Modifier and Type | Method and Description |
---|---|
List<ResultItem> |
fetchItems(String pDataSourceJSON,
ContextInfo pContextInfo)
This method basically creates bean as
Datasource object and send it to fetch data
TODO: we should probably try not to send PageContext, rather provided what information fetchers need(e.g. |
FetcherConfig |
getFetcherConfig() |
void |
setFetcherConfig(FetcherConfig pFetcherConfig) |
public List<ResultItem> fetchItems(String pDataSourceJSON, ContextInfo pContextInfo)
Datasource
object and send it to fetch data
TODO: we should probably try not to send PageContext, rather provided what information fetchers need(e.g. context section)pDataSourceJSON
- the datasource field valuepContextInfo
- the context infopDataSourceJSON
public FetcherConfig getFetcherConfig()
public void setFetcherConfig(FetcherConfig pFetcherConfig)
© 1998- 2018 Escenic AS