Interface CollectionTemplate

All Known Subinterfaces:
CollectionRepository
All Known Implementing Classes:
CollectionTemplateImpl

public interface CollectionTemplate
The interface OrderTemplate will declare the method to handle the skuresponse. The method getSkuId will find the skuId and their count based on the given input.
Author:
Infosys Equinox
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    The method filter will get count based on the filter.
    org.springframework.data.domain.Page<Collection>
    find(List<SearchCriteria> fields, List<SortCriteria> sort, int page, int size, long businessId, String filters)
    The method filter will get collection and their count based on the filter.
  • Method Details

    • find

      org.springframework.data.domain.Page<Collection> find(List<SearchCriteria> fields, List<SortCriteria> sort, int page, int size, long businessId, String filters)
      The method filter will get collection and their count based on the filter.
      Parameters:
      fields - defines the filters.
      sort - defines the sort variable to be sorted
      page - defines the page number to be searched
      size - defines the number of entries to be listed in the page
      businessId - defines the business id
      filters - defines the filter variable to be filtered
      Returns:
      the Order response.
    • count

      long count(List<SearchCriteria> fields)
      The method filter will get count based on the filter.
      Parameters:
      fields - defines the filters.
      Returns:
      the total count based on the filters