Package net.solarnetwork.dao
Interface PaginationCriteria
public interface PaginationCriteria
API for page-based search criteria.
- Since:
- 1.67
- Version:
- 1.0
- Author:
- matt
-
Method Summary
-
Method Details
-
getSorts
List<SortDescriptor> getSorts()Get the sort orderings.- Returns:
- the sorts
-
getOffset
Integer getOffset()Get the desired starting offset.- Returns:
- the offset, or null
-
getMax
Integer getMax()Get the maximum desired results.- Returns:
- the max, or null for all results
-
hasSorts
default boolean hasSorts()Test if any sort descriptors are available.- Returns:
- true if at least one sort descriptor is available
-