Class SortersPojo

java.lang.Object
com.adobe.cq.sightly.WCMUsePojo
com.adobe.acs.commons.sorter.SortersPojo
All Implemented Interfaces:
org.apache.sling.scripting.sightly.pojo.Use

@ProviderType public class SortersPojo extends com.adobe.cq.sightly.WCMUsePojo
Produce a list of available sorters to populate the drop-down on the sort-nodes.html page.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     

    Methods inherited from class com.adobe.cq.sightly.WCMUsePojo

    get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedPageProperties, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • SortersPojo

      public SortersPojo()
  • Method Details

    • activate

      public void activate()
      Specified by:
      activate in class com.adobe.cq.sightly.WCMUsePojo
    • getAvailableSorters

      public Collection<NodeSorter> getAvailableSorters()