-
Method Summary
Retrieves segment with given code
Retrieves segments list for given codes list
-
Method Details
-
findSegmentByCode
Retrieves segment with given code
- Parameters:
code - identifier of segment
- Returns:
- segment with given code of optional.empty if not found
-
findSegments
Retrieves all segments
- Parameters:
params - parameters for filtering
pagination - holder of pagination data and sort options
- Returns:
- SearchPageData with result list, used pagination and sort options
-
findSegmentsByCodes
Retrieves segments list for given codes list
- Parameters:
codes - list of identifiers of segments
- Returns:
- collection of variation with given keys or Collections.EMPTY_LIST