Interface LookupTableConfigService

All Known Implementing Classes:
DBLookupTableConfigService

public interface LookupTableConfigService
Abstracts the configuration retrieval for LookupTableService.
  • Method Details

    • getTable

      Returns the lookup table config for the given ID.
      Parameters:
      id - lookup table ID
      Returns:
      Filled optional with the lookup table config or an empty optional if the lookup table doesn't exist
    • loadAllTables

      Collection<LookupTableDto> loadAllTables()
      Returns all existing lookup table config objects.
      Returns:
      collection of lookup table config objects
    • findTablesForDataAdapterIds

      Collection<LookupTableDto> findTablesForDataAdapterIds(Set<String> ids)
      Returns all lookup table config objets that use the given data adapter IDs.
      Parameters:
      ids - data adapter IDs
      Returns:
      collection of lookup table config objects
    • findTablesForCacheIds

      Collection<LookupTableDto> findTablesForCacheIds(Set<String> ids)
      Returns all lookup table config objets that use the given cache IDs.
      Parameters:
      ids - cache IDs
      Returns:
      collection of lookup table config objects
    • loadAllDataAdapters

      Collection<DataAdapterDto> loadAllDataAdapters()
      Returns all existing lookup data adapter config objects.
      Returns:
      collection of lookup data adapter config objects
    • findDataAdaptersForIds

      Collection<DataAdapterDto> findDataAdaptersForIds(Set<String> ids)
      Returns all lookup data adapter config objects for the given IDs.
      Parameters:
      ids - data dapter IDs
      Returns:
      collection of lookup data adapter config objects
    • loadAllCaches

      Collection<CacheDto> loadAllCaches()
      Returns all existing lookup cache config objects.
      Returns:
      collection of lookup cache config objects
    • findCachesForIds

      Collection<CacheDto> findCachesForIds(Set<String> ids)
      Returns all lookup cache config objects for the given IDs.
      Parameters:
      ids - cache IDs
      Returns:
      collection of lookup data adapter config objects