code: private Page<JpaDistributionSet> findByCriteriaAPI(final Pageable pageable,
              final List<Specification<JpaDistributionSet>> specList) {
  
          if (CollectionUtils.isEmpty(specList)) {
              return distributionSetRepository.findAll(pageable);
          }
  
          return distributionSetRepository.findAll(SpecificationsBuilder.combineWithAnd(specList), pageable);
      }
docs: executes findAll with the given {@link DistributionSet}
  {@link Specification}s.
  
  @param pageable
  paging parameter
  @param specList
  list of @link {@link Specification}
  @return the page with the found {@link DistributionSet}