org.alfresco.repo.exporter
Class ExporterComponent

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

public class ExporterComponent
extends java.lang.Object
implements ExporterService

Default implementation of the Exporter Service.


Constructor Summary
ExporterComponent()
           
 
Method Summary
 void exportView(Exporter exporter, ExporterCrawlerParameters parameters, Exporter progress)
          Export a view of the Repository using a custom crawler and exporter.
 void exportView(ExportPackageHandler exportHandler, ExporterCrawlerParameters parameters, Exporter progress)
          Export a view of the Repository using the default xml view schema.
 void exportView(java.io.OutputStream viewWriter, ExporterCrawlerParameters parameters, Exporter progress)
          Export a view of the Repository using the default xml view schema.
 void setAuthenticationService(AuthenticationService authenticationService)
           
 void setContentService(ContentService contentService)
           
 void setDescriptorService(DescriptorService descriptorService)
           
 void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
           
 void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
           
 void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
           
 void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
           
 void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExporterComponent

public ExporterComponent()
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

exportView

public void exportView(java.io.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


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