Class StartPageService
java.lang.Object
org.graylog.plugins.views.startpage.StartPageService
-
Constructor Summary
ConstructorDescriptionStartPageService
(Catalog catalog, GRNRegistry grnRegistry, LastOpenedService lastOpenedService, RecentActivityService recentActivityService, com.google.common.eventbus.EventBus eventBus) -
Method Summary
Modifier and TypeMethodDescriptionvoid
addLastOpenedFor
(ViewDTO view, SearchUser searchUser) protected static List<LastOpenedDTO>
filterForExistingIdAndCapAtMaximum
(LastOpenedForUserDTO loi, GRN grn, long max) findLastOpenedFor
(SearchUser searchUser, int page, int perPage) findRecentActivityFor
(SearchUser searchUser, int page, int perPage)
-
Constructor Details
-
StartPageService
@Inject public StartPageService(Catalog catalog, GRNRegistry grnRegistry, LastOpenedService lastOpenedService, RecentActivityService recentActivityService, com.google.common.eventbus.EventBus eventBus)
-
-
Method Details
-
findLastOpenedFor
public PaginatedResponse<LastOpened> findLastOpenedFor(SearchUser searchUser, int page, int perPage) -
findRecentActivityFor
public PaginatedResponse<RecentActivity> findRecentActivityFor(SearchUser searchUser, int page, int perPage) -
filterForExistingIdAndCapAtMaximum
protected static List<LastOpenedDTO> filterForExistingIdAndCapAtMaximum(LastOpenedForUserDTO loi, GRN grn, long max) -
addLastOpenedFor
-