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 voidrun(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:
runin interfacePostOperation- Parameters:
request- TheSlingHttpServletRequestobject providing the request input for the operation.response- TheHtmlResponseinto which the operation steps should be recorded.processors- TheSlingPostProcessorservices to be called after applying the operation. This may benullif there are none.
-
-