Package com.skava.foundation.request
Class FilterRequestParam
java.lang.Object
com.skava.foundation.request.BaseFilterRequestParam
com.skava.foundation.request.FilterRequestParam
- All Implemented Interfaces:
Serializable
Defines the filters
- Since:
- 8.0
- Version:
- 8.0
- Author:
- Infosys Equinox
- See Also:
-
Field Summary
Fields inherited from class com.skava.foundation.request.BaseFilterRequestParam
cacheKey, MAX_PAGE_SIZE
-
Constructor Summary
ConstructorsConstructorDescriptionFilterRequestParam
(int page, int size, String filters, String search, org.springframework.data.domain.Sort sort) -
Method Summary
Methods inherited from class com.skava.foundation.request.BaseFilterRequestParam
getCacheKeyById, getPageable, getPredicate
-
Constructor Details
-
FilterRequestParam
public FilterRequestParam(int page, int size, String filters, String search, org.springframework.data.domain.Sort sort) - Parameters:
page
- description.page=It indicates the starting index of the item to be responded by the API.size
- It is used to specify the maximum number items that need to be responded for the request.search
- It is used to specify the name,operator, value for a field to be searched.sort
- It is used to specify the sort field with order(ascending or descending) Default will be ascending.filters
- It is used to filter the result by queries.
-