Class AbstractBrowser<T>

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.crowd.console.action.BaseAction
com.atlassian.crowd.console.action.AbstractBrowser<T>
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
BrowseApplications, SearchPicker

public abstract class AbstractBrowser<T> extends BaseAction
See Also:
  • Field Details

    • resultsStart

      protected int resultsStart
      Results start.
    • resultsPerPage

      protected int resultsPerPage
      Results per page.
    • results

      protected List<T> results
      Results listObjects.
  • Constructor Details

    • AbstractBrowser

      public AbstractBrowser()
  • Method Details

    • getResultsStart

      public int getResultsStart()
      Gets the results start.
      Returns:
      the results start.
    • setResultsStart

      public void setResultsStart(int resultsStart)
      Sets the results start.
      Parameters:
      resultsStart - the results start.
    • getNextResultsStart

      public int getNextResultsStart()
      Gets the next results start.
      Returns:
      the next results start.
    • getPreviousResultsStart

      public int getPreviousResultsStart()
      Gets the previous results start.
      Returns:
      the previous results start.
    • getResultsPerPage

      public int getResultsPerPage()
      Gets the results per page.
      Returns:
      the results per page.
    • setResultsPerPage

      public void setResultsPerPage(int resultsPerPage)
      Sets the results per page.
      Parameters:
      resultsPerPage - the results per page.
    • getResults

      public List<T> getResults()
    • setResults

      public void setResults(List<T> results)
    • getFormattedDateTime

      public final String getFormattedDateTime(Date date)
    • getFormattedDateTime

      public final String getFormattedDateTime(long time)
    • getResultsPerPageOption

      public List<Integer> getResultsPerPageOption()
    • getActiveOption

      public List<PairType> getActiveOption()