Package com.adobe.aemds.guide.themes
Class SaveThemePostOperation
- java.lang.Object
-
- com.adobe.aemds.guide.themes.SaveThemePostOperation
-
- All Implemented Interfaces:
PostOperation
@Service @Property(name="sling.post.operation", value="af:saveStyleOperation") public class SaveThemePostOperation 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 SaveThemePostOperation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.BooleanisTheme(SlingHttpServletRequest request)voidrun(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors)Executes the operation provided by this service implementation.
-
-
-
Method Detail
-
run
public void run(SlingHttpServletRequest request, PostResponse response, SlingPostProcessor[] processors)
Description copied from interface:PostOperationExecutes the operation provided by this service implementation. This method is called by the Sling POST servlet.- 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.
-
isTheme
public java.lang.Boolean isTheme(SlingHttpServletRequest request)
-
-