Class SiteExportGet
- java.lang.Object
-
- org.springframework.extensions.webscripts.AbstractWebScript
-
- org.alfresco.repo.web.scripts.site.SiteExportGet
-
- All Implemented Interfaces:
org.springframework.extensions.webscripts.WebScript
public class SiteExportGet extends org.springframework.extensions.webscripts.AbstractWebScript
Exports a Site as a zip of ACPs.- Since:
- 3.5
- Author:
- Nick Burch
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
SiteExportGet.CloseIgnoringOutputStream
-
Constructor Summary
Constructors Constructor Description SiteExportGet()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
doGroupExport(SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
protected void
doPeopleACPExport(List<NodeRef> peopleNodes, SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
protected void
doSiteACPExport(SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
protected void
doUserACPExport(List<NodeRef> userNodes, SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
void
execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
void
setAuthenticationContextManager(ChildApplicationContextManager authenticationContextManager)
void
setAuthorityService(AuthorityService authorityService)
void
setExporterService(ExporterService exporterService)
void
setMimetypeService(MimetypeService mimetypeService)
void
setSiteService(SiteService siteService)
-
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
addModuleBundleToCache, checkModuleBundleCache, createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
-
-
-
-
Method Detail
-
execute
public void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res) throws IOException
- Throws:
IOException
-
doSiteACPExport
protected void doSiteACPExport(SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo) throws IOException
- Throws:
IOException
-
doPeopleACPExport
protected void doPeopleACPExport(List<NodeRef> peopleNodes, SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo) throws IOException
- Throws:
IOException
-
doGroupExport
protected void doGroupExport(SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo) throws IOException
- Throws:
IOException
-
doUserACPExport
protected void doUserACPExport(List<NodeRef> userNodes, SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo) throws IOException
- Throws:
IOException
-
setSiteService
public void setSiteService(SiteService siteService)
-
setExporterService
public void setExporterService(ExporterService exporterService)
-
setMimetypeService
public void setMimetypeService(MimetypeService mimetypeService)
-
setAuthorityService
public void setAuthorityService(AuthorityService authorityService)
-
setAuthenticationContextManager
public void setAuthenticationContextManager(ChildApplicationContextManager authenticationContextManager)
-
-