Class JiraCrowdDAOWithStats

java.lang.Object
com.atlassian.jira.mention.stats.JiraCrowdDAOWithStats
All Implemented Interfaces:
JiraCrowdDAO

public class JiraCrowdDAOWithStats extends Object implements JiraCrowdDAO
  • Constructor Details

  • Method Details

    • findTopUsersWithNameInGroups

      public List<UserDTO> findTopUsersWithNameInGroups(String searchName, Set<com.atlassian.crowd.embedded.api.Group> groups, int topN)
      Description copied from interface: JiraCrowdDAO
      Finds top topN active users (from all active directories) whose user name matches searchName and who belong to any group in: groupNames.
      Specified by:
      findTopUsersWithNameInGroups in interface JiraCrowdDAO
      Parameters:
      searchName - part of user name (comparison is case insensitive)
      groups - set of group
      topN - N
      Returns:
      list of User matching requirements ordered ascending by user display name
    • findTopUsers

      public List<UserDTO> findTopUsers(String searchName, int topN)
      Description copied from interface: JiraCrowdDAO
      Finds top topN active users (from all active directories) where user name matches searchName
      Specified by:
      findTopUsers in interface JiraCrowdDAO
      Parameters:
      searchName - part of user name (comparison is case insensitive)
      topN - N
      Returns:
      list of User matching requirements ordered ascending by user display name
    • findNestedGroupsOf

      public Set<com.atlassian.crowd.embedded.api.Group> findNestedGroupsOf(Set<com.atlassian.crowd.embedded.api.Group> groups)
      Description copied from interface: JiraCrowdDAO
      Find all nested groups for a given set of Group
      Specified by:
      findNestedGroupsOf in interface JiraCrowdDAO
      Returns:
      all nested groups of given group including all groups