public interface EnablementResourceModelServiceCreate
Modifier and Type | Method and Description |
---|---|
EnablementResourceModel |
create(SlingHttpServletRequest request,
java.util.Map<java.lang.String,java.lang.Object> properties) |
java.util.Map<java.lang.String,java.lang.Object> |
getOperationProperties(SlingHttpServletRequest request,
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 create(SlingHttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> properties) throws PersistenceException, JSONException, com.adobe.cq.social.enablement.exceptions.EnablementException
request
- - SlingHttpServletRequestproperties
- - map of propertiesJSONException
- thrown if json error occursPersistenceException
- thrown if exception occurs while persisting datacom.adobe.cq.social.enablement.exceptions.EnablementException
- thrown if exception occurs while creating enablement modelCopyright © 2010 - 2020 Adobe. All Rights Reserved