org.alfresco.repo.exporter
Class RepositoryExporterComponent

java.lang.Object
  extended by org.alfresco.repo.exporter.RepositoryExporterComponent
All Implemented Interfaces:
RepositoryExporterService

public class RepositoryExporterComponent
extends java.lang.Object
implements RepositoryExporterService

Full Repository Export Service


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.alfresco.service.cmr.view.RepositoryExporterService
RepositoryExporterService.ExportHandle, RepositoryExporterService.FileExportHandle, RepositoryExporterService.RepositoryExportHandle
 
Constructor Summary
RepositoryExporterComponent()
           
 
Method Summary
 RepositoryExporterService.FileExportHandle[] export(java.io.File directoryDestination, java.lang.String packageName)
          Export complete Repository.
 RepositoryExporterService.RepositoryExportHandle[] export(org.alfresco.service.cmr.repository.NodeRef repositoryDestination, java.lang.String packageName)
          Export complete Repository.
 RepositoryExporterService.FileExportHandle[] export(java.lang.String packageName)
          Export complete Repository.
 void setExporterService(ExporterService exporterService)
           
 void setFileFolderService(FileFolderService fileFolderService)
           
 void setMimetypeService(org.alfresco.service.cmr.repository.MimetypeService mimetypeService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setStores(java.util.List exportStores)
           
 void setSystemExporter(SystemExporterImporter systemExporterImporter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RepositoryExporterComponent

public RepositoryExporterComponent()
Method Detail

setExporterService

public void setExporterService(ExporterService exporterService)

setMimetypeService

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

setFileFolderService

public void setFileFolderService(FileFolderService fileFolderService)

setSystemExporter

public void setSystemExporter(SystemExporterImporter systemExporterImporter)

setNodeService

public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)

setStores

public void setStores(java.util.List exportStores)

export

public RepositoryExporterService.FileExportHandle[] export(java.lang.String packageName)
Description copied from interface: RepositoryExporterService
Export complete Repository. Each store is exported to its own temporary .acp file

Specified by:
export in interface RepositoryExporterService
Parameters:
packageName - package name prefix for export .acp files
Returns:
list of temporary export files

export

public RepositoryExporterService.FileExportHandle[] export(java.io.File directoryDestination,
                                                           java.lang.String packageName)
Description copied from interface: RepositoryExporterService
Export complete Repository.

Specified by:
export in interface RepositoryExporterService
Parameters:
directoryDestination - location within File System to hold .acp files
packageName - package name prefix for export .acp files
Returns:
list of export files

export

public RepositoryExporterService.RepositoryExportHandle[] export(org.alfresco.service.cmr.repository.NodeRef repositoryDestination,
                                                                 java.lang.String packageName)
Description copied from interface: RepositoryExporterService
Export complete Repository. Each store is exported to a file held in the Repository.

Specified by:
export in interface RepositoryExporterService
Parameters:
repositoryDestination - location within Repository to hold .acp files
packageName - package name prefix for export .acp files
Returns:
list of repository held export files


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