Class SortSettings.Behavior
java.lang.Object
com.broadleafcommerce.search.api.domain.constants.SortSettings.Behavior
- Enclosing class:
- SortSettings
Describes the behavior of a sort option. This is useful in cases where displaying both
ascending and descending do not make sense. For example, sorting by "In stock" or "Popular".
In cases like these, it doesn't make sense to sort by "least popular" or "out of stock", so
the sort behavior can be set to ASC_ONLY or DESC_ONLY.
-
Field Summary
Fields -
Method Summary
-
Field Details
-
DEFAULT
The default behavior for sorting. This indicates that both ascending and descending sorting should be allowed.- See Also:
-
ASC_ONLY
This sort should only allow ascending sorting.- See Also:
-
DESC_ONLY
This sort should only allow descending sorting.- See Also:
-