Package org.alfresco.service.cmr.view
Interface ImporterService
- All Known Implementing Classes:
ImporterComponent
public interface ImporterService
Importer Service. Entry point for importing xml data sources into the Repository.
- Author:
- David Caruana
-
Method Summary
Modifier and TypeMethodDescriptionvoidimportView(Reader viewReader, Location location, ImporterBinding binding, ImporterProgress progress) Import a Repository view into the specified locationvoidimportView(ImportPackageHandler importHandler, Location location, ImporterBinding binding, ImporterProgress progress) Import a Repository view into the specified location This import allows for a custom content importer.
-
Method Details
-
importView
@Auditable(parameters={"viewReader","location","binding","progress"}) void importView(Reader viewReader, Location location, ImporterBinding binding, ImporterProgress progress) throws ImporterException Import a Repository view into the specified location- Parameters:
viewReader- input stream containing the xml view to parselocation- the location to import underbinding- property values used for binding property place holders in import streamprogress- progress monitor (optional)- Throws:
ImporterException
-
importView
@Auditable(parameters={"importHandler","location","binding","progress"}) void importView(ImportPackageHandler importHandler, Location location, ImporterBinding binding, ImporterProgress progress) throws ImporterException Import a Repository view into the specified location This import allows for a custom content importer.- Parameters:
importHandler- custom content importerlocation- the location to import underbinding- property values used for binding property place holders in import streamprogress- progress monitor (optional)- Throws:
ImporterException
-