Interface ImportExportConfigurationService<T>

    • Method Detail

      • getAll

        List<T> getAll()
        Retrieves all the import/export configurations.
        Returns:
        the list of import/export configurations
      • load

        T load​(String configId)
        Retrieves the import/export configuration identified by the specified identifier.
        Parameters:
        configId - the identifier of the profile to retrieve
        Returns:
        the import/export configuration identified by the specified identifier or null if no such import/export configuration exists
      • save

        T save​(T configuration,
               boolean updateRunningRoute)
        Saves the specified import/export configuration in the context server.
        Parameters:
        configuration - the import/export configuration to be saved
        updateRunningRoute - set to true if running routes should be updated too
        Returns:
        the newly saved import/export configuration
      • delete

        void delete​(String configId)
        Deletes the import/export configuration identified by the specified identifier.
        Parameters:
        configId - the identifier of the import/export configuration to delete
      • consumeConfigsToBeRefresh

        Map<String,​RouterConstants.CONFIG_CAMEL_REFRESH> consumeConfigsToBeRefresh()
        Used by camel route system to get the latest changes on configs and reflect changes on camel routes if necessary
        Returns:
        map of configId per operation to be done in camel