Package org.alfresco.repo.exporter
Class ExporterComponent
- java.lang.Object
-
- org.alfresco.repo.exporter.ExporterComponent
-
- All Implemented Interfaces:
ExporterService
public class ExporterComponent extends java.lang.Object implements ExporterService
Default implementation of the Exporter Service.- Author:
- David Caruana
-
-
Constructor Summary
Constructors Constructor Description ExporterComponent()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexportView(java.io.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(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)voidsetExportSecondaryNodes(boolean exportSecondaryNodes)voidsetNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)voidsetNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)voidsetPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)voidsetSearchService(org.alfresco.service.cmr.search.SearchService searchService)
-
-
-
Method Detail
-
setNodeService
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
- Parameters:
nodeService- the node service
-
setSearchService
public void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
- Parameters:
searchService- the service to perform path searches
-
setContentService
public void setContentService(ContentService contentService)
- Parameters:
contentService- the content service
-
setDictionaryService
public void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
- Parameters:
dictionaryService- the dictionary service
-
setNamespaceService
public void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
- Parameters:
namespaceService- the namespace service
-
setDescriptorService
public void setDescriptorService(DescriptorService descriptorService)
- Parameters:
descriptorService- the descriptor service
-
setAuthenticationService
public void setAuthenticationService(AuthenticationService authenticationService)
- Parameters:
authenticationService- the authentication service
-
setPermissionService
public void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
- 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.
-
exportView
public void exportView(java.io.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
public void exportView(Exporter exporter, ExporterCrawlerParameters parameters, Exporter progress)
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
-
-