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 Detail

      • importView

        @Auditable(parameters={"viewReader","location","binding","progress"})
        void importView​(java.io.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 parse
        location - the location to import under
        binding - property values used for binding property place holders in import stream
        progress - 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 importer
        location - the location to import under
        binding - property values used for binding property place holders in import stream
        progress - progress monitor (optional)
        Throws:
        ImporterException