Package org.alfresco.repo.exporter
Class ExporterComponent
java.lang.Object
org.alfresco.repo.exporter.ExporterComponent
- All Implemented Interfaces:
ExporterService
Default implementation of the Exporter Service.
- Author:
- David Caruana
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexportView(OutputStream viewWriter, ExporterCrawlerParameters parameters, Exporter progress) Export a view of the Repository using the default xml view schema.voidexportView(Exporter exporter, ExporterCrawlerParameters parameters, Exporter progress) Export a view of the Repository using a custom crawler and exporter.voidexportView(ExportPackageHandler exportHandler, ExporterCrawlerParameters parameters, Exporter progress) Export a view of the Repository using the default xml view schema.voidsetAuthenticationService(AuthenticationService authenticationService) voidsetContentService(ContentService contentService) voidsetDescriptorService(DescriptorService descriptorService) voidsetDictionaryService(DictionaryService dictionaryService) voidsetExportChunkSize(String exportChunkSize) voidsetExportSecondaryNodes(boolean exportSecondaryNodes) voidsetNamespaceService(NamespaceService namespaceService) voidsetNodeService(NodeService nodeService) voidsetPermissionService(PermissionService permissionService) voidsetSearchService(SearchService searchService)
-
Constructor Details
-
ExporterComponent
public ExporterComponent()
-
-
Method Details
-
setNodeService
- Parameters:
nodeService- the node service
-
setSearchService
- Parameters:
searchService- the service to perform path searches
-
setContentService
- Parameters:
contentService- the content service
-
setDictionaryService
- Parameters:
dictionaryService- the dictionary service
-
setNamespaceService
- Parameters:
namespaceService- the namespace service
-
setDescriptorService
- Parameters:
descriptorService- the descriptor service
-
setAuthenticationService
- Parameters:
authenticationService- the authentication service
-
setPermissionService
- Parameters:
permissionService- the permission service
-
setExportSecondaryNodes
public void setExportSecondaryNodes(boolean exportSecondaryNodes) - Parameters:
exportSecondaryNodes- whether children that do dot have a primary association with their parent are exported as nodes If false, these nodes will be exported as secondary links.
-
setExportChunkSize
- Specified by:
setExportChunkSizein interfaceExporterService- Parameters:
exportChunkSize- the exportChunkSize
-
exportView
public void exportView(OutputStream viewWriter, ExporterCrawlerParameters parameters, Exporter progress) Description copied from interface:ExporterServiceExport a view of the Repository using the default xml view schema. All repository information is exported to the single output stream. This means that any content properties are base64 encoded.- Specified by:
exportViewin interfaceExporterService- Parameters:
viewWriter- the output stream to export toparameters- export parametersprogress- exporter callback for tracking progress of export
-
exportView
public void exportView(ExportPackageHandler exportHandler, ExporterCrawlerParameters parameters, Exporter progress) Description copied from interface:ExporterServiceExport a view of the Repository using the default xml view schema. This export supports the custom handling of content properties.- Specified by:
exportViewin interfaceExporterService- Parameters:
exportHandler- the custom export handler for content propertiesparameters- export parametersprogress- exporter callback for tracking progress of export
-
exportView
Description copied from interface:ExporterServiceExport a view of the Repository using a custom crawler and exporter.- Specified by:
exportViewin interfaceExporterService- Parameters:
exporter- custom exporterparameters- export parametersprogress- exporter callback for tracking progress of export
-