Package com.adobe.aemds.guide.themes
Class CopyStylePostOperation
- java.lang.Object
-
- com.adobe.aemds.guide.themes.CopyStylePostOperation
-
- All Implemented Interfaces:
PostOperation
@Service @Property(name="sling.post.operation", value="af:copyStyleOperation") public class CopyStylePostOperation extends java.lang.Object implements PostOperation
-
-
Field Summary
-
Fields inherited from interface org.apache.sling.servlets.post.PostOperation
PROP_OPERATION_NAME, SERVICE_NAME
-
-
Constructor Summary
Constructors Constructor Description CopyStylePostOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
run
public 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.- Specified by:
run
in interfacePostOperation
- Parameters:
request
- TheSlingHttpServletRequest
object providing the request input for the operation.response
- TheHtmlResponse
into which the operation steps should be recorded.processors
- TheSlingPostProcessor
services to be called after applying the operation. This may benull
if there are none.
-
-