Interface SortPredicate

  • All Superinterfaces:
    Component, com.adobe.cq.export.json.ComponentExporter, com.adobe.cq.wcm.core.components.models.form.Field, Predicate

    @ConsumerType
    public interface SortPredicate
    extends Predicate
    • 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.