public interface Sort extends Extendable
Modifier and Type | Method and Description |
---|---|
<T> java.util.Comparator<T> |
getComparatorForSearchClass(java.lang.Class<T> searchClass)
Gets the comparator for search class.
|
boolean |
isSortValidForClass(java.lang.Class<?> clazz)
Checks if this sort is valid for the class.
|
getDescription, getName, getProvider, getVersion
<T> java.util.Comparator<T> getComparatorForSearchClass(java.lang.Class<T> searchClass) throws LBParameterException
searchClass
- the search classLBParameterException
- the LB parameter exceptionboolean isSortValidForClass(java.lang.Class<?> clazz)
clazz
- the clazz