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 TypeMethodDescriptionlong
count
(List<SearchCriteria> fields) 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 sortedpage
- defines the page number to be searchedsize
- defines the number of entries to be listed in the pagebusinessId
- defines the business idfilters
- defines the filter variable to be filtered- Returns:
- the Order response.
-
count
The method filter will get count based on the filter.- Parameters:
fields
- defines the filters.- Returns:
- the total count based on the filters
-