Class BrowseGroupsAction

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
WebInterface, ExternalUserManagementAware, 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 BrowseGroupsAction extends AbstractGroupAction
See Also:
  • Field Details

  • Constructor Details

    • BrowseGroupsAction

      public BrowseGroupsAction()
  • Method Details

    • 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
    • execute

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

      public String doAdd() throws Exception
      Throws:
      Exception
    • doSearch

      public String doSearch()
    • appendWildcard

      protected String appendWildcard(String s)
    • getPaginationSupport

      public PaginationSupport getPaginationSupport()
    • canRemove

      public boolean canRemove(com.atlassian.user.Group group)
      Returns:
      true if the group is a local group that can be removed and the currently logged in user has sufficient permissions to remove the group
    • isRemovable

      public boolean isRemovable(com.atlassian.user.Group group)
    • getResultsPerPage

      public int getResultsPerPage()
    • setResultsPerPage

      public void setResultsPerPage(int resultsPerPage)
      Change the pageSize
      Parameters:
      resultsPerPage - Number to show per page
    • getResultsPerPageOptions

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

      public boolean canModifyGroups()
    • getStartIndex

      public int getStartIndex()
    • setStartIndex

      public void setStartIndex(int startIndex)
    • getSearchTerm

      public String getSearchTerm()
    • setSearchTerm

      public void setSearchTerm(String searchTerm)
    • setSearchEntitiesManager

      public void setSearchEntitiesManager(SearchEntitiesManager searchEntitiesManager)
    • setWritableDirectoryForGroupsExistsCriteria

      public void setWritableDirectoryForGroupsExistsCriteria(DefaultWritableDirectoryForGroupsExistsCriteria writableDirectoryForGroupsExistsCriteria)
    • getUrlEncodeName

      public String getUrlEncodeName()