Class BrowseGroupsAction

    • Constructor Detail

      • BrowseGroupsAction

        public BrowseGroupsAction()
    • Method Detail

      • 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

        @XsrfProtectionExcluded
        public String execute()
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
      • doSearch

        public String doSearch()
      • appendWildcard

        protected String appendWildcard​(String s)
      • 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)
      • getUrlEncodeName

        public String getUrlEncodeName()