public interface ListInfoProvider
ListInfoProvider
enables injecting custom information into a JSON objectModifier and Type | Method and Description |
---|---|
void |
updateListGlobalInfo(SlingHttpServletRequest request,
JSONObject info,
Resource resource)
Update list global information with custom properties
|
void |
updateListItemInfo(SlingHttpServletRequest request,
JSONObject info,
Resource resource)
Update list item information with custom properties
|
void updateListGlobalInfo(SlingHttpServletRequest request, JSONObject info, Resource resource) throws JSONException
request
- a sling http request objectinfo
- the JSON object to updateresource
- a sling resource objectJSONException
- if updating list information failedvoid updateListItemInfo(SlingHttpServletRequest request, JSONObject info, Resource resource) throws JSONException
request
- a sling http request objectinfo
- the JSON object to updateresource
- a sling resource objectJSONException
- if updating list information failedCopyright © 2010 - 2020 Adobe. All Rights Reserved