Class RankListLabelsAction

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 RankListLabelsAction extends AbstractLabelDisplayingAction implements Evented<LabelListViewEvent>
See Also:
  • Constructor Details

    • RankListLabelsAction

      public RankListLabelsAction()
  • Method Details

    • setGroupRanks

      public void setGroupRanks(boolean b)
    • isGroupRanks

      public boolean isGroupRanks()
    • 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.
    • getResults

      public Set<RankedLabelSearchResult> getResults()
    • getMostPopularLabels

      public List<LabelSearchResult> getMostPopularLabels()