AbstractPostOperation.public abstract class AbstractSlingPostOperation extends AbstractPostOperation implements SlingPostOperation
AbstractSlingPostOperation is the abstract base class
implementation of the SlingPostOperation interface extending the new
AbstractPostOperation.
This class exists for backwards compatibility. Existing implementations are
advised to migrate to the new AbstractPostOperation.
logPROP_OPERATION_NAME, SERVICE_NAMEPROP_OPERATION_NAME, SERVICE_NAME| Constructor and Description |
|---|
AbstractSlingPostOperation()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
doRun(SlingHttpServletRequest request,
HtmlResponse response,
List<Modification> changes)
Deprecated.
|
protected void |
doRun(SlingHttpServletRequest request,
PostResponse response,
List<Modification> changes)
Deprecated.
Implementation of the
AbstractPostOperation.doRun(SlingHttpServletRequest, PostResponse, List)
method calling our own
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
meethod with a proxy for the Sling API HtmlResponse. |
void |
run(SlingHttpServletRequest request,
HtmlResponse response,
SlingPostProcessor[] processors)
Deprecated.
Implementation of the
SlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
API method calling the
PostOperation.run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[])
with a proxy around the Sling API HtmlResponse provided. |
checkoutIfNecessary, externalizePath, findVersionableAncestor, getApplyToResources, getItemPath, getVersioningConfiguration, hasItemPathPrefix, isSessionSaveRequired, isSkipCheckin, isSkipSessionHandling, isVersionable, orderNode, removeAndValidateWorkspace, requireItemPathPrefix, resolvePath, runprotected abstract void doRun(SlingHttpServletRequest request, HtmlResponse response, List<Modification> changes) throws javax.jcr.RepositoryException
request - response - changes - javax.jcr.RepositoryExceptionprotected void doRun(SlingHttpServletRequest request, PostResponse response, List<Modification> changes) throws javax.jcr.RepositoryException
AbstractPostOperation.doRun(SlingHttpServletRequest, PostResponse, List)
method calling our own
run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
meethod with a proxy for the Sling API HtmlResponse.doRun in class AbstractPostOperationrequest - The SlingHttpServletRequest providing the
input, mostly in terms of request parameters, to the
operation.response - The PostResponse to fill with response
informationchanges - A container to add Modification instances
representing the operations done.javax.jcr.RepositoryException - Maybe thrown if any error occurrs while
accessing the repository.public void run(SlingHttpServletRequest request, HtmlResponse response, SlingPostProcessor[] processors)
SlingPostOperation.run(SlingHttpServletRequest, HtmlResponse, SlingPostProcessor[])
API method calling the
PostOperation.run(SlingHttpServletRequest, PostResponse, SlingPostProcessor[])
with a proxy around the Sling API HtmlResponse provided.run in interface SlingPostOperationrequest - The SlingHttpServletRequest object providing
the request input for the operation.response - The HtmlResponse into which the operation
steps should be recorded.processors - The SlingPostProcessor services to be called
after applying the operation. This may be null if
there are none.Copyright © 2014 The Apache Software Foundation. All rights reserved.