PROP_CMD, PROP_DESCRIPTION| Constructor and Description |
|---|
AbstractOperation() |
| Modifier and Type | Method and Description |
|---|---|
Collection<Result> |
getResults(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
Command cmd)
Gets results of the operation.
|
protected abstract List<Result> |
withoutParams(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
Command cmd)
Returns a list of results for a Command without params.
|
protected abstract List<Result> |
withParams(org.apache.sling.api.SlingHttpServletRequest request,
org.apache.sling.api.SlingHttpServletResponse response,
Command cmd)
Returns a list of results for a Command with params.
|
public Collection<Result> getResults(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, Command cmd)
getResults in interface Operationrequest - the Request objectresponse - the Response objectcmd - the CommandJSONExceptionprotected abstract List<Result> withoutParams(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, Command cmd)
request - the Request objectresponse - the Response objectcmd - the Command objectprotected abstract List<Result> withParams(org.apache.sling.api.SlingHttpServletRequest request, org.apache.sling.api.SlingHttpServletResponse response, Command cmd)
request - the Request objectresponse - the Response objectcmd - the Command objectCopyright © 2013–2020 Adobe. All rights reserved.