Interface UserWorkerQueryService
- All Known Implementing Classes:
UserWorkerQueryServiceImpl
public interface UserWorkerQueryService
Service for querying data for the user and worker.
-
Method Summary
Modifier and TypeMethodDescriptiongetAvailabilities
(AvailabilityFilters availabilityFilters, Integer page, Integer size) Get the list of availabilities.Get the list of offices.
-
Method Details
-
getOffices
Get the list of offices.- Returns:
- the list of offices.
-
getAvailabilities
List<Availability> getAvailabilities(AvailabilityFilters availabilityFilters, Integer page, Integer size) throws InvalidDataFromRequestException Get the list of availabilities.- Parameters:
availabilityFilters
- the filters for the query.page
- the page number.size
- the page size (number of elements) per page.- Returns:
- the list of availabilities.
- Throws:
InvalidDataFromRequestException
- if the data from the request are invalid.
-