@Singleton public class DBLookupTableConfigService extends Object implements LookupTableConfigService
| Constructor and Description |
|---|
DBLookupTableConfigService(DBDataAdapterService dbAdapters,
DBCacheService dbCaches,
DBLookupTableService dbTables) |
| Modifier and Type | Method and Description |
|---|---|
Collection<CacheDto> |
findCachesForIds(Set<String> ids)
Returns all lookup cache config objects for the given IDs.
|
Collection<DataAdapterDto> |
findDataAdaptersForIds(Set<String> ids)
Returns all lookup data adapter config objects for the given IDs.
|
Collection<LookupTableDto> |
findTablesForCacheIds(Set<String> ids)
Returns all lookup table config objets that use the given cache IDs.
|
Collection<LookupTableDto> |
findTablesForDataAdapterIds(Set<String> ids)
Returns all lookup table config objets that use the given data adapter IDs.
|
Optional<LookupTableDto> |
getTable(String id)
Returns the lookup table config for the given ID.
|
Collection<CacheDto> |
loadAllCaches()
Returns all existing lookup cache config objects.
|
Collection<DataAdapterDto> |
loadAllDataAdapters()
Returns all existing lookup data adapter config objects.
|
Collection<LookupTableDto> |
loadAllTables()
Returns all existing lookup table config objects.
|
@Inject public DBLookupTableConfigService(DBDataAdapterService dbAdapters, DBCacheService dbCaches, DBLookupTableService dbTables)
public Optional<LookupTableDto> getTable(String id)
LookupTableConfigServicegetTable in interface LookupTableConfigServiceid - lookup table IDpublic Collection<LookupTableDto> loadAllTables()
LookupTableConfigServiceloadAllTables in interface LookupTableConfigServicepublic Collection<LookupTableDto> findTablesForDataAdapterIds(Set<String> ids)
LookupTableConfigServicefindTablesForDataAdapterIds in interface LookupTableConfigServiceids - data adapter IDspublic Collection<LookupTableDto> findTablesForCacheIds(Set<String> ids)
LookupTableConfigServicefindTablesForCacheIds in interface LookupTableConfigServiceids - cache IDspublic Collection<DataAdapterDto> loadAllDataAdapters()
LookupTableConfigServiceloadAllDataAdapters in interface LookupTableConfigServicepublic Collection<DataAdapterDto> findDataAdaptersForIds(Set<String> ids)
LookupTableConfigServicefindDataAdaptersForIds in interface LookupTableConfigServiceids - data dapter IDspublic Collection<CacheDto> loadAllCaches()
LookupTableConfigServiceloadAllCaches in interface LookupTableConfigServicepublic Collection<CacheDto> findCachesForIds(Set<String> ids)
LookupTableConfigServicefindCachesForIds in interface LookupTableConfigServiceids - cache IDsCopyright © 2012–2021 Graylog, Inc.. All rights reserved.