Class BrowseUnsyncedUsersAction

java.lang.Object
org.apache.struts2.ActionSupport
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
Tabbed, WebInterface, 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 final class BrowseUnsyncedUsersAction extends ConfluenceActionSupport implements Tabbed
Searches for people that are unsynced in Confluence using the PersonService. An unsynced user is a user whose account has been disconnected from an external directory, i.e. a user who has a known mapping but no backing user, but who has not yet been deleted from the application.
Since:
6.13.0
See Also:
  • Constructor Details

    • BrowseUnsyncedUsersAction

      public BrowseUnsyncedUsersAction()
  • Method Details

    • execute

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

      @XsrfProtectionExcluded public String doUserSearch()
    • showAllUsers

      public String showAllUsers()
    • validate

      public void validate()
      Specified by:
      validate in interface MessageHolderAware
      Specified by:
      validate in interface org.apache.struts2.Validateable
      Overrides:
      validate in class org.apache.struts2.ActionSupport
    • getPageRequest

      public PageRequest getPageRequest()
    • isShowAll

      public boolean isShowAll()
    • getResultsPerPage

      public int getResultsPerPage()
    • getSearchTerm

      public String getSearchTerm()
    • setSearchTerm

      public void setSearchTerm(String searchTerm)
    • setResultsPerPage

      public void setResultsPerPage(int resultsPerPage)
    • getResultsPerPageOptions

      public List<com.atlassian.core.util.PairType> getResultsPerPageOptions()
    • setStartIndex

      public void setStartIndex(int startIndex)
    • getPageResponse

      public PageResponse<Person> getPageResponse()
    • setPageResponse

      public void setPageResponse(PageResponse<Person> pageResponse)
    • getSelectedTab

      public String getSelectedTab()
      Description copied from interface: Tabbed
      Returns the key of the tab that should be selected when rendering.

      e.g. "search" or "create" for the browseusers.vm

      Specified by:
      getSelectedTab in interface Tabbed
    • setApiPersonService

      public void setApiPersonService(PersonService personService)