Class ViewMyFavouritesAction

All Implemented Interfaces:
WebInterface, UserAware, BreadcrumbAware, MessageHolderAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ViewMyFavouritesAction extends AbstractUserProfileAction
Allow a user to view there personal labels.
See Also:
  • Constructor Details

    • ViewMyFavouritesAction

      public ViewMyFavouritesAction()
  • Method Details

    • getPaginationSupport

      public PaginationSupport<ContentEntityObject> getPaginationSupport()
    • setStartIndex

      public void setStartIndex(int startIndex)
    • getPageSize

      public int getPageSize()
    • getPaginatedItems

      public List<ContentEntityObject> getPaginatedItems()
    • getContent

      public List<ContentEntityObject> getContent()
    • getCurrentLabel

      public Label getCurrentLabel()
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface com.opensymphony.xwork2.Validateable
      Overrides:
      validate in class com.opensymphony.xwork2.ActionSupport
    • execute

      public String execute() throws Exception
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class com.opensymphony.xwork2.ActionSupport
      Throws:
      Exception
    • getLabelId

      public long getLabelId()
    • setLabelId

      public void setLabelId(long labelId)
    • getContentCount

      public int getContentCount(Label l)