public interface EnablementResourceModelServiceUpdate
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getOperationProperties(SlingHttpServletRequest request,
java.lang.String[] fieldWhitelist) |
EnablementResourceModel |
update(SlingHttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> properties,
java.lang.String[] fieldWhitelist) |
java.util.Map<java.lang.String,java.lang.Object> getOperationProperties(SlingHttpServletRequest request, java.lang.String[] fieldWhitelist) throws OperationException
request
- - SlingHttpServletRequestfieldWhitelist
- - list of white listed fieldsOperationException
- thrown if any operational problem occursEnablementResourceModel update(SlingHttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> properties, java.lang.String[] fieldWhitelist) throws PersistenceException, JSONException, com.adobe.cq.social.enablement.exceptions.EnablementException
request
- - SlingHttpServletRequestproperties
- - map of propertiesfieldWhitelist
- - list of white listed fieldsPersistenceException
- thrown if exception occurs while persisting dataJSONException
- thrown if json error occurscom.adobe.cq.social.enablement.exceptions.EnablementException
- thrown if exception occurs while updating enablement modelCopyright © 2010 - 2020 Adobe. All Rights Reserved