public interface PublishDataSource
| Modifier and Type | Method and Description |
|---|---|
java.util.Map<java.lang.String,java.lang.Object> |
convertJSONtoMap(JSONArray json) |
JSONObject |
getArticles(java.util.Map searchCriteria)
Get articles from AEM and DPS.
|
JSONObject |
getBanners(java.util.Map searchCriteria) |
JSONObject |
getCollection(DPSCollection dpsCollection) |
JSONObject |
getCollections(java.util.Map searchCriteria)
Get collections from AEM and DPS.
|
JSONObject |
getLayouts(java.util.Map searchCriteria) |
JSONObject getArticles(java.util.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(java.util.Map searchCriteria) throws DPSException
DPSExceptionJSONObject getCollection(DPSCollection dpsCollection) throws DPSException
DPSExceptionJSONObject getCollections(java.util.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(java.util.Map searchCriteria) throws DPSException
DPSExceptionjava.util.Map<java.lang.String,java.lang.Object> convertJSONtoMap(JSONArray json) throws DPSException
DPSException"Copyright © 2010 - 2018 Adobe Systems Incorporated. All Rights Reserved"