Package org.alfresco.repo.exporter
Class RepositoryExporterComponent
- java.lang.Object
-
- org.alfresco.repo.exporter.RepositoryExporterComponent
-
- All Implemented Interfaces:
RepositoryExporterService
public class RepositoryExporterComponent extends Object implements RepositoryExporterService
Full Repository Export Service- Author:
- davidc
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.view.RepositoryExporterService
RepositoryExporterService.ExportHandle, RepositoryExporterService.FileExportHandle, RepositoryExporterService.RepositoryExportHandle
-
-
Constructor Summary
Constructors Constructor Description RepositoryExporterComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RepositoryExporterService.FileExportHandle[]export(File directoryDestination, String packageName)Export complete Repository.RepositoryExporterService.FileExportHandle[]export(String packageName)Export complete Repository.RepositoryExporterService.RepositoryExportHandle[]export(NodeRef repositoryDestination, String packageName)Export complete Repository.voidsetExporterService(ExporterService exporterService)voidsetFileFolderService(FileFolderService fileFolderService)voidsetMimetypeService(MimetypeService mimetypeService)voidsetNodeService(NodeService nodeService)voidsetStores(List<Properties> exportStores)voidsetSystemExporter(SystemExporterImporter systemExporterImporter)
-
-
-
Method Detail
-
setExporterService
public void setExporterService(ExporterService exporterService)
-
setMimetypeService
public void setMimetypeService(MimetypeService mimetypeService)
-
setFileFolderService
public void setFileFolderService(FileFolderService fileFolderService)
-
setSystemExporter
public void setSystemExporter(SystemExporterImporter systemExporterImporter)
-
setNodeService
public void setNodeService(NodeService nodeService)
-
setStores
public void setStores(List<Properties> exportStores)
-
export
public RepositoryExporterService.FileExportHandle[] export(String packageName)
Description copied from interface:RepositoryExporterServiceExport complete Repository. Each store is exported to its own temporary .acp file- Specified by:
exportin interfaceRepositoryExporterService- Parameters:
packageName- package name prefix for export .acp files- Returns:
- list of temporary export files
-
export
public RepositoryExporterService.FileExportHandle[] export(File directoryDestination, String packageName)
Description copied from interface:RepositoryExporterServiceExport complete Repository.- Specified by:
exportin interfaceRepositoryExporterService- Parameters:
directoryDestination- location within File System to hold .acp filespackageName- package name prefix for export .acp files- Returns:
- list of export files
-
export
public RepositoryExporterService.RepositoryExportHandle[] export(NodeRef repositoryDestination, String packageName)
Description copied from interface:RepositoryExporterServiceExport complete Repository. Each store is exported to a file held in the Repository.- Specified by:
exportin interfaceRepositoryExporterService- Parameters:
repositoryDestination- location within Repository to hold .acp filespackageName- package name prefix for export .acp files- Returns:
- list of repository held export files
-
-