Class SearchUtil

java.lang.Object
com.skava.promotion.utils.SearchUtil

public final class SearchUtil extends Object

This class contains functionality to perform search on promotion

.
Since:
8.0
Version:
8.0
Author:
Infosys Equinox
  • Method Details

    • search

      public static org.springframework.data.domain.Page<PromotionList> search(com.querydsl.core.types.dsl.BooleanExpression compositePredicate, PromotionListRepository promotionListRepository, PromotionListDO promotionListDO)
      Search.
      Parameters:
      compositePredicate - the composite predicate
      promotionListRepository - the promotion list repository
      promotionListDO - the promotion list DO
      Returns:
      the page
    • searchList

      public static org.springframework.data.domain.Page<PromotionListItems> searchList(com.querydsl.core.types.dsl.BooleanExpression compositePredicate, PromotionListItemsRepository promotionListItemsRepository, PromotionListDO promotionListDO)
      Search.
      Parameters:
      compositePredicate - the composite predicate
      promotionListItemsRepository - the promotion list repository
      promotionListDO - the promotion list DO
      Returns:
      the page
    • searchPromoCodeList

      public static org.springframework.data.domain.Page<PromoCodeListItems> searchPromoCodeList(com.querydsl.core.types.dsl.BooleanExpression compositePredicate, PromoCodeListItemsRepository promoCodeListItemsRepository, PromoCodeListDO promoCodeListDO)
      Search.
      Parameters:
      compositePredicate - the composite predicate
      promoCodeListItemsRepository - the promocode list repository
      promoCodeListDO - the promoCodeListDO
      Returns:
      the page
    • search

      public static org.springframework.data.domain.Page<PromoCodeList> search(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort, int page, int size, com.querydsl.core.types.dsl.BooleanExpression compositePredicate, PromoCodeListRepository promoCodeListRepository, PromoCodeListDO promoCodeListDO)
      Search.
      Parameters:
      predicate - the predicate
      sort - the sort
      page - the page
      size - the size
      compositePredicate - the composite predicate
      promoCodeListRepository - the promo code list repository
      promoCodeListDO - the promo code list DO
      Returns:
      the page
    • search

      public static org.springframework.data.domain.Page<Promotion> search(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort, int page, int size, com.querydsl.core.types.dsl.BooleanExpression compositePredicate, PromotionRepository promotionRepository, PromotionDO promotionDO)
      Search.
      Parameters:
      predicate - the predicate
      sort - the sort
      page - the page
      size - the size
      compositePredicate - the composite predicate
      promotionRepository - the promotion repository
      promotionDO - the promotion DO
      Returns:
      the page
    • search

      public static org.springframework.data.domain.Page<Project> search(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort, int page, int size, com.querydsl.core.types.dsl.BooleanExpression compositePredicate, ProjectRepository projectRepository, ProjectDO projectDO)
      Search.
      Parameters:
      predicate - the predicate
      sort - the sort
      page - the page
      size - the size
      compositePredicate - the composite predicate
      projectRepository - the project repository
      projectDO - the project DO
      Returns:
      the page
    • search

      public static org.springframework.data.domain.Page<PromoWallet> search(com.querydsl.core.types.Predicate predicate, org.springframework.data.domain.Sort sort, int page, int size, com.querydsl.core.types.dsl.BooleanExpression compositePredicate, PromoWalletRepository promoWalletRepository, PromowalletDO promoWalletDO)
      Search.
      Parameters:
      predicate - the predicate
      sort - the sort
      page - the page
      size - the size
      compositePredicate - the composite predicate
      promoWalletRepository - the promoWallet repository
      promoWallet - the promowallet DO
      Returns:
      the page