@Deprecated public abstract class AbstractPostOperation extends java.lang.Object implements PostOperation
AbstractPostOperation
class is a base implementation of the
PostOperation
service interface providing actual implementations with
useful tooling and common functionality like preparing the change logs or
saving or refreshing the JCR Session.PROP_OPERATION_NAME, SERVICE_NAME
Constructor and Description |
---|
AbstractPostOperation()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
run(SlingHttpServletRequest request,
PostResponse response,
SlingPostProcessor[] processors)
Deprecated.
Prepares and finalizes the actual operation.
|
public void run(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors)
getItemPath(SlingHttpServletRequest)
method and setting the
location and parent location on the response. After the operation has
been done in the doRun(SlingHttpServletRequest, PostResponse, List)
method the session is saved if there are unsaved modifications. In case
of errorrs, the unsaved changes in the session are rolled back.run
in interface PostOperation
request
- the request to operate onresponse
- The PostResponse
to record execution
progress.processors
- The array of processorsCopyright © 2010 - 2020 Adobe. All Rights Reserved