Class GrouperFavoriteFinder
java.lang.Object
edu.internet2.middleware.grouper.userData.GrouperFavoriteFinder
find object of multiple types, and allow paging
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
type of objects to get -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaddGrouperFavoriteFinderType
(GrouperFavoriteFinder.GrouperFavoriteFinderType grouperFavoriteFinderType1) add grouper object finder typeassignFilterText
(String theFilterText) if filtering names by certain stringsassignGrouperObjectFinderType
(Collection<GrouperFavoriteFinder.GrouperFavoriteFinderType> grouperObjectFinderTypes1) assign grouper object finder types (null or empty is all)assignQueryOptions
(QueryOptions theQueryOptions) if sorting / pagingassignSplitScope
(boolean theSplitScope) if the scope has spaces in it, then split by whitespace, and find results that contain all of the scope stringsassignSubject
(Subject theSubject) subject to add to queries for example for privilegesassignUserDataGroupName
(String theUserDataGroupName) find grouper objects based on the paramet
-
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
subject to add to queries for example for privileges- Parameters:
theSubject
-- Returns:
- this for chaining
-
assignUserDataGroupName
-
assignFilterText
if filtering names by certain strings- Parameters:
theFilterText
-- Returns:
- this for chaining
-
assignSplitScope
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
if sorting / paging- Parameters:
theQueryOptions
-
-
findFavorites
find grouper objects based on the paramet- Returns:
- the set of objects
-