Class AlphabeticalListLabelsAction

All Implemented Interfaces:
Evented<LabelListViewEvent>, WebInterface, SpaceAware, Spaced, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.Validateable

public class AlphabeticalListLabelsAction extends AbstractLabelDisplayingAction implements Evented<LabelListViewEvent>
See Also:
  • Constructor Details

    • AlphabeticalListLabelsAction

      public AlphabeticalListLabelsAction()
  • Method Details

    • execute

      public String execute()
      Specified by:
      execute in interface org.apache.struts2.action.Action
      Overrides:
      execute in class org.apache.struts2.ActionSupport
    • getEventToPublish

      public LabelListViewEvent getEventToPublish(String result)
      Description copied from interface: Evented
      Gets the event to publish.
      Specified by:
      getEventToPublish in interface Evented<LabelListViewEvent>
      Parameters:
      result - the result of the action executing.
      Returns:
      the event. Can be null, in which case no event will be published.
    • getItems

      public List<Label> getItems()
    • getAlphaSupport

      public AlphabeticalLabelGroupingSupport<Label> getAlphaSupport()
    • hasContents

      public boolean hasContents(String letter)
      Determines if there are any pages that fall under this lettter/number
      Parameters:
      letter -
    • getContentsWith

      public List<Label> getContentsWith(String startsWith)
    • setStartsWith

      public void setStartsWith(String startsWith)
    • getStartsWith

      public String getStartsWith()
    • getContents

      public List<Label> getContents()