Package com.io7m.idstore.database.api
Interface IdDatabasePagedQueryType<Q extends IdDatabaseQueriesType,T>
- Type Parameters:
Q- The type of required query interfacesT- The type of result values
- All Known Subinterfaces:
IdDatabaseAdminSearchByEmailType,IdDatabaseAdminSearchType,IdDatabaseAuditEventsSearchType,IdDatabaseUserSearchByEmailType,IdDatabaseUserSearchType
- All Known Implementing Classes:
IdAbstractSearch
public interface IdDatabasePagedQueryType<Q extends IdDatabaseQueriesType,T>
The type of paged queries.
-
Method Summary
-
Method Details
-
pageCurrent
Get data for the current page.- Parameters:
queries- The query interface- Returns:
- A page of results
- Throws:
IdDatabaseException- On errors
-
pageNext
Get data for the next page. If the current page is the last page, the function acts aspageCurrent(IdDatabaseQueriesType).- Parameters:
queries- The query interface- Returns:
- A page of results
- Throws:
IdDatabaseException- On errors
-
pagePrevious
Get data for the previous page. If the current page is the first page, the function acts aspageCurrent(IdDatabaseQueriesType).- Parameters:
queries- The query interface- Returns:
- A page of results
- Throws:
IdDatabaseException- On errors
-