Interface AddOnSampleDataImportService

    • Method Detail

      • importSampleData

        void importSampleData​(java.lang.String extensionName,
                              SystemSetupContext context,
                              java.util.List<ImportData> importData,
                              boolean solrReindex)
        Imports sample data
        Parameters:
        extensionName - the extension name
        context - the system setup context
        importData - the List of ImportData
        solrReindex - whether to run the solr indexer cronjob
      • importSampleDataTriggeredByAddon

        void importSampleDataTriggeredByAddon​(java.lang.String extensionName,
                                              SystemSetupContext context,
                                              java.util.List<ImportData> importData,
                                              boolean solrReindex)
        Imports sample data without publishing a new AddonSampleDataImportedEvent
        Parameters:
        extensionName - the extension name
        context - the system setup context
        importData - the List of ImportData
        solrReindex - whether to run the solr indexer cronjob