Class ViewApplicationUsers

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

public class ViewApplicationUsers extends ViewApplication
Adds the ability to search for the users in an application by using the functionality of BrowsePrincipals.
See Also:
  • Field Details

    • resultsStart

      protected int resultsStart
      Results start.
    • resultsPerPage

      protected int resultsPerPage
      Results per page.
    • results

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

    • ViewApplicationUsers

      public ViewApplicationUsers()
  • Method Details

    • execute

      public String execute()
      Loads all the basic information needed to populate the form. If there's a directoryID set, performs a search. These two separate pieces of functionality are conflated into one method because I suck at getting webwork to do what I want.
      Specified by:
      execute in interface com.opensymphony.xwork2.Action
      Overrides:
      execute in class ViewApplication
    • 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<User> getResults()
    • setResults

      public void setResults(List<User> results)
    • getActive

      public String getActive()
    • setActive

      public void setActive(String active)
    • getSearch

      public String getSearch()
    • setSearch

      public void setSearch(String search)
    • setUserSearcher

      public void setUserSearcher(Searcher userSearcher)
    • setAliasManager

      public void setAliasManager(AliasManager aliasManager)
    • getAliasForUser

      public String getAliasForUser(String username) throws ApplicationNotFoundException
      Throws:
      ApplicationNotFoundException