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, EnablementException, ReplicationException, RepositoryException
request
- - SlingHttpServletRequestproperties
- - map of propertiesPersistenceException
- thrown if exception occurs while persisting dataJSONException
- thrown if json error occursEnablementException
- thrown if exception occurs while publishing enablement modelReplicationException
- thrown if exception occurs while replicationRepositoryException
- thrown if exception occurs while using repository"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"