public interface PublishDataSource
| Modifier and Type | Method and Description |
|---|---|
Map<String,Object> |
convertJSONtoMap(JSONArray json) |
JSONObject |
getArticles(Map searchCriteria)
Get articles from AEM and DPS.
|
JSONObject |
getBanners(Map searchCriteria) |
JSONObject |
getCollection(DPSCollection dpsCollection) |
JSONObject |
getCollections(Map searchCriteria)
Get collections from AEM and DPS.
|
JSONObject |
getLayouts(Map searchCriteria) |
JSONObject getArticles(Map searchCriteria) throws DPSException
searchCriteria - Name/Value pairs used to filter the results. Acceptable values are:
- text: will search through string properties and see if the string contains the specified value
- source: AEM or DPS will only extract entries from that source
'searchCriteria' can be null.
Hint: To get articles in a collection, get that collection and check its contentDetails propertyDPSExceptionJSONObject getBanners(Map searchCriteria) throws DPSException
DPSExceptionJSONObject getCollection(DPSCollection dpsCollection) throws DPSException
DPSExceptionJSONObject getCollections(Map searchCriteria) throws DPSException
searchCriteria - - source: AEM or DPS will only extract entries from that source
- flatten: true or false. If false, only return collections that are not contained in other collections.
'searchCriteria' can be null.DPSExceptionJSONObject getLayouts(Map searchCriteria) throws DPSException
DPSExceptionMap<String,Object> convertJSONtoMap(JSONArray json) throws DPSException
DPSException"Copyright © 2010 - 2017 Adobe Systems Incorporated. All Rights Reserved"