Interface CADatabasePagedQueryType<T>
- Type Parameters:
T- The type of result values
- All Known Subinterfaces:
CADatabaseAuditSearchType, CADatabaseFileSearchType, CADatabaseItemSearchType, CADatabaseStockSearchType, CADatabaseTypePackageSearchType, CADatabaseTypeRecordSearchType, CADatabaseTypeScalarSearchType
- All Known Implementing Classes:
CAAbstractSearch
public interface CADatabasePagedQueryType<T>
The type of paged queries.
-
Method Summary
Modifier and TypeMethodDescriptionpageCurrent(CADatabaseTransactionType transaction) Get data for the current page.pageNext(CADatabaseTransactionType transaction) Get data for the next page.pagePrevious(CADatabaseTransactionType transaction) Get data for the previous page.
-
Method Details
-
pageCurrent
Get data for the current page.- Parameters:
transaction- The transaction- Returns:
- A page of results
- Throws:
CADatabaseException- On errors
-
pageNext
Get data for the next page. If the current page is the last page, the function acts aspageCurrent(CADatabaseTransactionType).- Parameters:
transaction- The transaction- Returns:
- A page of results
- Throws:
CADatabaseException- On errors
-
pagePrevious
Get data for the previous page. If the current page is the first page, the function acts aspageCurrent(CADatabaseTransactionType).- Parameters:
transaction- The transaction- Returns:
- A page of results
- Throws:
CADatabaseException- On errors
-