Package com.day.cq.wcm.contentsync
Interface PageExporter
-
public interface PageExporter
This service allows you to export a page including referenced resources as a zip.- Since:
- 5.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
export(Page page, ResourceResolver resolver, java.lang.String targetPath)
Export page and save zip at target location.void
export(Page page, ResourceResolver resolver, HttpServletResponse response)
Export page and write to response.void
export(Page page, SlingHttpServletRequest request, HttpServletResponse response)
Export page and write to response.
-
-
-
Method Detail
-
export
void export(Page page, ResourceResolver resolver, HttpServletResponse response) throws WCMException
Export page and write to response.- Parameters:
page
- The page to exportresolver
- The resource resolverresponse
- The response- Throws:
WCMException
-
export
void export(Page page, SlingHttpServletRequest request, HttpServletResponse response) throws WCMException
Export page and write to response.- Parameters:
page
- The page to exportrequest
- The requestresponse
- The response- Throws:
WCMException
-
export
void export(Page page, ResourceResolver resolver, java.lang.String targetPath) throws WCMException
Export page and save zip at target location.- Parameters:
page
- The page to exportresolver
- The resource resolvertargetPath
- The target location- Throws:
WCMException
-
-