org.alfresco.repo.web.scripts.site
Class SiteExportGet

java.lang.Object
  extended by org.springframework.extensions.webscripts.AbstractWebScript
      extended by 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. As of 4.0, the export no longer includes an AVM Dump, as the site config is now in the main site ACP.

Since:
3.5

Nested Class Summary
protected static class SiteExportGet.CloseIgnoringOutputStream
           
 
Nested classes/interfaces inherited from class org.springframework.extensions.webscripts.AbstractWebScript
org.springframework.extensions.webscripts.AbstractWebScript.ScriptDetails
 
Constructor Summary
SiteExportGet()
           
 
Method Summary
protected  void doGroupExport(org.alfresco.service.cmr.site.SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
           
protected  void doPeopleACPExport(org.alfresco.service.cmr.site.SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
           
protected  void doSiteACPExport(org.alfresco.service.cmr.site.SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo)
           
protected  void doUserACPExport(org.alfresco.service.cmr.site.SiteInfo site, SiteExportGet.CloseIgnoringOutputStream writeTo, org.alfresco.repo.security.authentication.RepositoryAuthenticationDao authenticationDao)
           
 void execute(org.springframework.extensions.webscripts.WebScriptRequest req, org.springframework.extensions.webscripts.WebScriptResponse res)
           
 void setAuthenticationContextManager(org.alfresco.repo.management.subsystems.ChildApplicationContextManager authenticationContextManager)
           
 void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)
           
 void setExporterService(org.alfresco.service.cmr.view.ExporterService exporterService)
           
 void setMimetypeService(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)
           
 void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)
           
 
Methods inherited from class org.springframework.extensions.webscripts.AbstractWebScript
createArgs, createArgsM, createHeaders, createHeadersM, createScriptParameters, createStatusException, createTemplateParameters, executeScript, getContainer, getDescription, getExecuteScript, getResources, getStatusTemplate, init, renderString, renderString, renderTemplate, sendStatus, setURLModelFactory, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SiteExportGet

public SiteExportGet()
Method Detail

execute

public void execute(org.springframework.extensions.webscripts.WebScriptRequest req,
                    org.springframework.extensions.webscripts.WebScriptResponse res)
             throws java.io.IOException
Throws:
java.io.IOException

doSiteACPExport

protected void doSiteACPExport(org.alfresco.service.cmr.site.SiteInfo site,
                               SiteExportGet.CloseIgnoringOutputStream writeTo)
                        throws java.io.IOException
Throws:
java.io.IOException

doPeopleACPExport

protected void doPeopleACPExport(org.alfresco.service.cmr.site.SiteInfo site,
                                 SiteExportGet.CloseIgnoringOutputStream writeTo)
                          throws java.io.IOException
Throws:
java.io.IOException

doGroupExport

protected void doGroupExport(org.alfresco.service.cmr.site.SiteInfo site,
                             SiteExportGet.CloseIgnoringOutputStream writeTo)
                      throws java.io.IOException
Throws:
java.io.IOException

doUserACPExport

protected void doUserACPExport(org.alfresco.service.cmr.site.SiteInfo site,
                               SiteExportGet.CloseIgnoringOutputStream writeTo,
                               org.alfresco.repo.security.authentication.RepositoryAuthenticationDao authenticationDao)
                        throws java.io.IOException
Throws:
java.io.IOException

setSiteService

public void setSiteService(org.alfresco.service.cmr.site.SiteService siteService)

setExporterService

public void setExporterService(org.alfresco.service.cmr.view.ExporterService exporterService)

setMimetypeService

public void setMimetypeService(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)

setAuthorityService

public void setAuthorityService(org.alfresco.service.cmr.security.AuthorityService authorityService)

setAuthenticationContextManager

public void setAuthenticationContextManager(org.alfresco.repo.management.subsystems.ChildApplicationContextManager authenticationContextManager)


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.