Class ConfigurationVariableService
java.lang.Object
org.graylog2.database.PaginatedDbService<ConfigurationVariable>
org.graylog.plugins.sidecar.services.ConfigurationVariableService
-
Field Summary
Fields inherited from class org.graylog2.database.PaginatedDbService
db -
Constructor Summary
ConstructorsConstructorDescriptionConfigurationVariableService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper) -
Method Summary
Modifier and TypeMethodDescriptionall()findByName(String name) fromRequest(String id, ConfigurationVariable request) fromRequest(ConfigurationVariable request) booleanhasConflict(ConfigurationVariable variable) save(ConfigurationVariable configurationVariable) Stores the givenPaginatedDbServicein the database.Methods inherited from class org.graylog2.database.PaginatedDbService
asImmutableList, delete, findPaginatedWithQueryAndSort, findPaginatedWithQueryFilterAndSort, findPaginatedWithQueryFilterAndSortWithGrandTotal, get, getMultiFieldSortBuilder, getPage, getSortBuilder, streamAll, streamByIds, streamQuery, streamQueryWithSort
-
Constructor Details
-
ConfigurationVariableService
@Inject public ConfigurationVariableService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mapper)
-
-
Method Details
-
all
-
fromRequest
-
fromRequest
-
find
-
findByName
-
hasConflict
-
save
Description copied from class:PaginatedDbServiceStores the givenPaginatedDbServicein the database.- Overrides:
savein classPaginatedDbService<ConfigurationVariable>- Parameters:
configurationVariable- thePaginatedDbServiceto save- Returns:
- the newly saved
PaginatedDbService
-