Class ExporterComponent

java.lang.Object
org.alfresco.repo.exporter.ExporterComponent
All Implemented Interfaces:
ExporterService

public class ExporterComponent extends Object implements ExporterService
Default implementation of the Exporter Service.
Author:
David Caruana
  • Constructor Details

    • ExporterComponent

      public ExporterComponent()
  • Method Details

    • setNodeService

      public void setNodeService(NodeService nodeService)
      Parameters:
      nodeService - the node service
    • setSearchService

      public void setSearchService(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(DictionaryService dictionaryService)
      Parameters:
      dictionaryService - the dictionary service
    • setNamespaceService

      public void setNamespaceService(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(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.
    • setExportChunkSize

      public void setExportChunkSize(String exportChunkSize)
      Specified by:
      setExportChunkSize in interface ExporterService
      Parameters:
      exportChunkSize - the exportChunkSize
    • exportView

      public void exportView(OutputStream viewWriter, ExporterCrawlerParameters parameters, Exporter progress)
      Description copied from interface: ExporterService
      Export 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:
      exportView in interface ExporterService
      Parameters:
      viewWriter - the output stream to export to
      parameters - export parameters
      progress - exporter callback for tracking progress of export
    • exportView

      public void exportView(ExportPackageHandler exportHandler, ExporterCrawlerParameters parameters, Exporter progress)
      Description copied from interface: ExporterService
      Export a view of the Repository using the default xml view schema. This export supports the custom handling of content properties.
      Specified by:
      exportView in interface ExporterService
      Parameters:
      exportHandler - the custom export handler for content properties
      parameters - export parameters
      progress - exporter callback for tracking progress of export
    • exportView

      public void exportView(Exporter exporter, ExporterCrawlerParameters parameters, Exporter progress)
      Description copied from interface: ExporterService
      Export a view of the Repository using a custom crawler and exporter.
      Specified by:
      exportView in interface ExporterService
      Parameters:
      exporter - custom exporter
      parameters - export parameters
      progress - exporter callback for tracking progress of export