Class ViewSummaryService
java.lang.Object
org.graylog2.database.PaginatedDbService<ViewSummaryDTO>
org.graylog.plugins.views.search.views.ViewSummaryService
- All Implemented Interfaces:
ViewUtils<ViewSummaryDTO>
public class ViewSummaryService
extends PaginatedDbService<ViewSummaryDTO>
implements ViewUtils<ViewSummaryDTO>
-
Field Summary
Fields inherited from class org.graylog2.database.PaginatedDbService
db
-
Constructor Summary
ModifierConstructorDescriptionprotected
ViewSummaryService
(MongoConnection mongoConnection, MongoJackObjectMapperProvider mongoJackObjectMapperProvider, MongoCollections mongoCollections) -
Method Summary
Modifier and TypeMethodDescriptioncom.mongodb.client.MongoCollection<ViewSummaryDTO>
searchPaginatedByType
(SearchUser searchUser, ViewDTO.Type type, org.bson.conversions.Bson dbQuery, Predicate<ViewSummaryDTO> predicate, String order, String sortField, int page, int perPage) Methods inherited from class org.graylog2.database.PaginatedDbService
asImmutableList, delete, findPaginatedWithQueryAndSort, findPaginatedWithQueryFilterAndSort, findPaginatedWithQueryFilterAndSortWithGrandTotal, get, getMultiFieldSortBuilder, getPage, getSortBuilder, save, streamAll, streamByIds, streamQuery, streamQueryWithSort
-
Constructor Details
-
ViewSummaryService
@Inject protected ViewSummaryService(MongoConnection mongoConnection, MongoJackObjectMapperProvider mongoJackObjectMapperProvider, MongoCollections mongoCollections)
-
-
Method Details
-
searchPaginatedByType
public PaginatedList<ViewSummaryDTO> searchPaginatedByType(SearchUser searchUser, ViewDTO.Type type, org.bson.conversions.Bson dbQuery, Predicate<ViewSummaryDTO> predicate, String order, String sortField, int page, int perPage) -
collection
- Specified by:
collection
in interfaceViewUtils<ViewSummaryDTO>
-