public class ExporterComponent extends Object implements ExporterService
Constructor and Description |
---|
ExporterComponent() |
Modifier and Type | Method and Description |
---|---|
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(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 |
setExportSecondaryNodes(boolean exportSecondaryNodes) |
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) |
public void setNodeService(org.alfresco.service.cmr.repository.NodeService nodeService)
nodeService
- the node servicepublic void setSearchService(org.alfresco.service.cmr.search.SearchService searchService)
searchService
- the service to perform path searchespublic void setContentService(ContentService contentService)
contentService
- the content servicepublic void setDictionaryService(org.alfresco.service.cmr.dictionary.DictionaryService dictionaryService)
dictionaryService
- the dictionary servicepublic void setNamespaceService(org.alfresco.service.namespace.NamespaceService namespaceService)
namespaceService
- the namespace servicepublic void setDescriptorService(DescriptorService descriptorService)
descriptorService
- the descriptor servicepublic void setAuthenticationService(AuthenticationService authenticationService)
authenticationService
- the authentication servicepublic void setPermissionService(org.alfresco.service.cmr.security.PermissionService permissionService)
permissionService
- the permission servicepublic void setExportSecondaryNodes(boolean exportSecondaryNodes)
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.public void exportView(OutputStream viewWriter, ExporterCrawlerParameters parameters, Exporter progress)
ExporterService
exportView
in interface ExporterService
viewWriter
- the output stream to export toparameters
- export parametersprogress
- exporter callback for tracking progress of exportpublic void exportView(ExportPackageHandler exportHandler, ExporterCrawlerParameters parameters, Exporter progress)
ExporterService
exportView
in interface ExporterService
exportHandler
- the custom export handler for content propertiesparameters
- export parametersprogress
- exporter callback for tracking progress of exportpublic void exportView(Exporter exporter, ExporterCrawlerParameters parameters, Exporter progress)
ExporterService
exportView
in interface ExporterService
exporter
- custom exporterparameters
- export parametersprogress
- exporter callback for tracking progress of exportCopyright © 2005–2017 Alfresco Software. All rights reserved.