Package org.graylog2.lookup.db
Class DBLookupTableService
java.lang.Object
org.graylog2.lookup.db.DBLookupTableService
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDBLookupTableService(MongoCollections mongoCollections, EntityScopeService entityScopeService, ClusterEventBus clusterEventBus) -
Method Summary
Modifier and TypeMethodDescriptionvoiddeleteAndPostEvent(String idOrName) voiddeleteAndPostEventImmutable(String idOrName) findAll()findByCacheIds(Collection<String> cacheIds) findByDataAdapterIds(Collection<String> dataAdapterIds) findPaginated(org.bson.conversions.Bson query, org.bson.conversions.Bson sort, int page, int perPage) voidforEach(Consumer<? super LookupTableDto> action) voidpostBulkUpdate(Collection<LookupTableDto> tables) save(LookupTableDto table) saveAndPostEvent(LookupTableDto table)
-
Field Details
-
COLLECTION_NAME
- See Also:
-
-
Constructor Details
-
DBLookupTableService
@Inject public DBLookupTableService(MongoCollections mongoCollections, EntityScopeService entityScopeService, ClusterEventBus clusterEventBus)
-
-
Method Details
-
get
-
save
-
saveAndPostEvent
-
postBulkUpdate
-
findAll
-
findPaginated
public PaginatedList<LookupTableDto> findPaginated(org.bson.conversions.Bson query, org.bson.conversions.Bson sort, int page, int perPage) -
findByCacheIds
-
findByDataAdapterIds
-
deleteAndPostEvent
-
deleteAndPostEventImmutable
-
forEach
-