Interface SortPredicate
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
SortPredicate.SortOptionItem
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description List<com.adobe.cq.wcm.core.components.models.form.OptionItem>
getItems()
default String
getOrderByLabel()
default String
getOrderBySortLabel()
default boolean
isAscending()
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.form.Field
getExportedType, getHelpMessage, getId, getName, getTitle, getValue
-
Methods inherited from interface com.adobe.aem.commons.assetshare.components.predicates.Predicate
getComponentUpdateMethod, getFormId, getGroup, getInitialValue, getInitialValues, isAutoSearch, isExpanded
-
-
-
-
Method Detail
-
getItems
List<com.adobe.cq.wcm.core.components.models.form.OptionItem> getItems()
- Returns:
- the option items for this predicate.
-
isAscending
default boolean isAscending()
- Returns:
- true if the active sort order is ascending (vs. descending).
-
getOrderByLabel
default String getOrderByLabel()
- Returns:
- the active label for the Order By (Sort By) field.
-
getOrderBySortLabel
default String getOrderBySortLabel()
- Returns:
- the active label for the Order By Sort (Sort Direction) field.
-
-