Interface DataSourceDefQueryService


  • public interface DataSourceDefQueryService
    Service for getting information about the different data sources and drivers defined globally or for a given module.
    • Method Detail

      • findGlobalDataSources

        Collection<DataSourceDefInfo> findGlobalDataSources​(boolean includeUnManaged)
        Finds the DataSourceDefInfos for the platform global data sources.
        Parameters:
        includeUnManaged - if true, server side un-managed data sources information will be included. Un-managed data sources are those not created by the data sources management system.
        Returns:
        a collection containing the data sources information.
      • findModuleDataSources

        Collection<DataSourceDefInfo> findModuleDataSources​(org.uberfire.backend.vfs.Path path)
        Finds the DataSourceDefInfos for the data sources defined for a given module.
        Parameters:
        path - a path within the module.
        Returns:
        a collection containing the data sources information
      • findModuleDataSources

        Collection<DataSourceDefInfo> findModuleDataSources​(org.guvnor.common.services.project.model.Module module)
        Finds the DataSourceDefInfos for the data sources defined for a given module.
        Parameters:
        module - the module containing the data sources.
        Returns:
        a collection containing the data sources information
      • findGlobalDrivers

        Collection<DriverDefInfo> findGlobalDrivers()
        Finds the DriverDefInfos for the platform global drivers.
        Returns:
        a collection containing the drivers information.
      • findModuleDrivers

        Collection<DriverDefInfo> findModuleDrivers​(org.uberfire.backend.vfs.Path path)
        Finds the DriverDefInfos for the drivers defined for a given module.
        Parameters:
        path - a path within the module.
        Returns:
        a collection containing the drivers information.
      • findModuleDrivers

        Collection<DriverDefInfo> findModuleDrivers​(org.guvnor.common.services.project.model.Module module)
        Finds the DriverDefInfos for the drivers defined for a given module.
        Parameters:
        module - the module containing the drivers.
        Returns:
        a collection containing the drivers information.
      • findModuleDriver

        DriverDefInfo findModuleDriver​(String uuid,
                                       org.uberfire.backend.vfs.Path path)
        Finds the DriverDefInfo for a driver defined within a module.
        Parameters:
        uuid - the UUID for the given Driver.
        path - a path within the given module.
        Returns:
        the driver information for the given driver, or null if the driver was not found.
      • findGlobalDriver

        DriverDefInfo findGlobalDriver​(String uuid)
        Finds the DriverDefInfo for platform global driver.
        Parameters:
        uuid -
        Returns:
        the driver information for the given driver, or null if the driver was not found.