public interface EnablementResourceModelServicePublish
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.lang.Object> |
getOperationProperties(SlingHttpServletRequest request,
java.lang.String[] fieldWhitelist) |
EnablementResourceModel |
publish(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) throws OperationException
request
- - SlingHttpServletRequestfieldWhitelist
- - list of white listed fieldsOperationException
- thrown if any operational problem occursEnablementResourceModel publish(SlingHttpServletRequest request, java.util.Map<java.lang.String,java.lang.Object> properties) throws PersistenceException, JSONException, com.adobe.cq.social.enablement.exceptions.EnablementException, ReplicationException, RepositoryException
request
- - SlingHttpServletRequestproperties
- - map of propertiesPersistenceException
- thrown if exception occurs while persisting dataJSONException
- thrown if json error occurscom.adobe.cq.social.enablement.exceptions.EnablementException
- thrown if exception occurs while publishing enablement modelReplicationException
- thrown if exception occurs while replicationRepositoryException
- thrown if exception occurs while using repositoryCopyright © 2010 - 2020 Adobe. All Rights Reserved