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, EnablementException
request
- - SlingHttpServletRequestproperties
- - map of propertiesJSONException
- thrown if json error occursPersistenceException
- thrown if exception occurs while persisting dataEnablementException
- thrown if exception occurs while creating enablement model"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"