Class GrouperFavoriteFinder

java.lang.Object
edu.internet2.middleware.grouper.userData.GrouperFavoriteFinder

public class GrouperFavoriteFinder extends Object
find object of multiple types, and allow paging
  • Constructor Details

    • GrouperFavoriteFinder

      public GrouperFavoriteFinder()
  • Method Details

    • addGrouperFavoriteFinderType

      public GrouperFavoriteFinder addGrouperFavoriteFinderType(GrouperFavoriteFinder.GrouperFavoriteFinderType grouperFavoriteFinderType1)
      add grouper object finder type
      Parameters:
      grouperFavoriteFinderType1 -
      Returns:
      this for chaining
    • assignGrouperObjectFinderType

      public GrouperFavoriteFinder assignGrouperObjectFinderType(Collection<GrouperFavoriteFinder.GrouperFavoriteFinderType> grouperObjectFinderTypes1)
      assign grouper object finder types (null or empty is all)
      Parameters:
      grouperObjectFinderTypes1 -
      Returns:
      this for chaining
    • assignSubject

      public GrouperFavoriteFinder assignSubject(Subject theSubject)
      subject to add to queries for example for privileges
      Parameters:
      theSubject -
      Returns:
      this for chaining
    • assignUserDataGroupName

      public GrouperFavoriteFinder assignUserDataGroupName(String theUserDataGroupName)
    • assignFilterText

      public GrouperFavoriteFinder assignFilterText(String theFilterText)
      if filtering names by certain strings
      Parameters:
      theFilterText -
      Returns:
      this for chaining
    • assignSplitScope

      public GrouperFavoriteFinder assignSplitScope(boolean theSplitScope)
      if the scope has spaces in it, then split by whitespace, and find results that contain all of the scope strings
      Parameters:
      theSplitScope -
      Returns:
      this for chaining
    • assignQueryOptions

      public GrouperFavoriteFinder assignQueryOptions(QueryOptions theQueryOptions)
      if sorting / paging
      Parameters:
      theQueryOptions -
    • findFavorites

      public Set<GrouperObject> findFavorites()
      find grouper objects based on the paramet
      Returns:
      the set of objects