Package com.dzidzi.dto.merge
Class AbstractFindRequest
java.lang.Object
com.dzidzi.dto.merge.AbstractFindRequest
- Direct Known Subclasses:
FindCouponRequest,FindCourierOrderRequest,FindCourierRequest,FindCourierSettlementRequest,FindExtraRequest,FindHistoryRequest,FindMenuRequest,FindNotificationRequest,FindOrderRequest,FindPartnerRegistrationRequest,FindPlatformSettlementRequest,FindResponseRequest,FindRestaurantOrderRequest,FindRestaurantRequest,FindRestaurantSettlementRequest,FindReviewRequest,FindServiceRequest,FindTicketRequest,FindUserOrderRequest,FindUserRequest
AbstractFindRequest is an abstract object which represent the DTO request containing the objects used to filter entities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLimit()The limit is used to get a specific amount or subset of a dataset.The parameterPaginationDTOOrderByon how to order the results by.intgetPage()The page number to fetchThe parameterPaginationDTOSortByto sort the results by.voidThe limit is used to get a specific amount or subset of a dataset.voidsetOrderBy(PaginationDTOOrderBy orderBy) The parameterPaginationDTOOrderByon how to order the results by.voidsetPage(int page) The page number to fetchvoidsetSortBy(PaginationDTOSortBy sortBy) The parameterPaginationDTOSortByto sort the results by.
-
Constructor Details
-
AbstractFindRequest
public AbstractFindRequest()
-
-
Method Details
-
getLimit
The limit is used to get a specific amount or subset of a dataset. This is the page. -
getPage
public int getPage()The page number to fetch -
getSortBy
The parameterPaginationDTOSortByto sort the results by. -
getOrderBy
The parameterPaginationDTOOrderByon how to order the results by. -
setLimit
The limit is used to get a specific amount or subset of a dataset. This is the page. -
setPage
public void setPage(int page) The page number to fetch -
setSortBy
The parameterPaginationDTOSortByto sort the results by. -
setOrderBy
The parameterPaginationDTOOrderByon how to order the results by.
-