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

public class AbstractFindRequest extends Object
AbstractFindRequest is an abstract object which represent the DTO request containing the objects used to filter entities.
  • Constructor Details

    • AbstractFindRequest

      public AbstractFindRequest()
  • Method Details

    • getLimit

      public Integer 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

      public PaginationDTOSortBy getSortBy()
      The parameterPaginationDTOSortBy to sort the results by.
    • getOrderBy

      public PaginationDTOOrderBy getOrderBy()
      The parameterPaginationDTOOrderBy on how to order the results by.
    • setLimit

      public void setLimit(Integer limit)
      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

      public void setSortBy(PaginationDTOSortBy sortBy)
      The parameterPaginationDTOSortBy to sort the results by.
    • setOrderBy

      public void setOrderBy(PaginationDTOOrderBy orderBy)
      The parameterPaginationDTOOrderBy on how to order the results by.