@Service @Property(name="sling.post.operation", value="af:copyStyleOperation") public class CopyStylePostOperation extends java.lang.Object implements PostOperation
PROP_OPERATION_NAME, SERVICE_NAME
Constructor and Description |
---|
CopyStylePostOperation() |
Modifier and Type | Method and Description |
---|---|
void |
run(SlingHttpServletRequest request,
PostResponse response,
SlingPostProcessor[] processors)
This needs to be written as simple copy post-operation does not create node if destination
does not exits.
|
public void run(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors)
run
in interface PostOperation
request
- 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 © 2010 - 2020 Adobe. All Rights Reserved