public class GrouperObjectFinder extends Object
Modifier and Type | Class and Description |
---|---|
static class |
GrouperObjectFinder.GrouperObjectFinderType
type of objects to get
|
static class |
GrouperObjectFinder.ObjectPrivilege
privilege type to query
|
Constructor and Description |
---|
GrouperObjectFinder() |
Modifier and Type | Method and Description |
---|---|
GrouperObjectFinder |
addGrouperObjectFinderType(GrouperObjectFinder.GrouperObjectFinderType grouperObjectFinderType1)
add grouper object finder type
|
GrouperObjectFinder |
assignFilterText(String theFilterText)
if filtering names by certain strings
|
GrouperObjectFinder |
assignGrouperObjectFinderType(Collection<GrouperObjectFinder.GrouperObjectFinderType> grouperObjectFinderTypes1)
assign grouper object finder types (null or empty is all)
|
GrouperObjectFinder |
assignObjectPrivilege(GrouperObjectFinder.ObjectPrivilege theObjectPrivilege)
which privileges should be used, see the enum for examples
|
GrouperObjectFinder |
assignParentStemId(String theParentStemId)
if only looking for objects in this stem, also set stemScope
|
GrouperObjectFinder |
assignQueryOptions(QueryOptions theQueryOptions)
if sorting / paging
|
GrouperObjectFinder |
assignSplitScope(boolean theSplitScope)
if the scope has spaces in it, then split by whitespace, and find results that contain all of the scope strings
|
GrouperObjectFinder |
assignStemScope(Stem.Scope theStemScope)
if only looking for objects in a stem, this is if ONE or SUB
|
GrouperObjectFinder |
assignSubject(Subject theSubject)
subject to add to queries for example for privileges
|
Set<GrouperObject> |
findGrouperObjects()
find grouper objects based on the paramet
|
public GrouperObjectFinder addGrouperObjectFinderType(GrouperObjectFinder.GrouperObjectFinderType grouperObjectFinderType1)
grouperObjectFinderType1
- public GrouperObjectFinder assignGrouperObjectFinderType(Collection<GrouperObjectFinder.GrouperObjectFinderType> grouperObjectFinderTypes1)
grouperObjectFinderTypes1
- public GrouperObjectFinder assignObjectPrivilege(GrouperObjectFinder.ObjectPrivilege theObjectPrivilege)
theObjectPrivilege
- public GrouperObjectFinder assignSubject(Subject theSubject)
theSubject
- public GrouperObjectFinder assignParentStemId(String theParentStemId)
theParentStemId
- public GrouperObjectFinder assignStemScope(Stem.Scope theStemScope)
theStemScope
- public GrouperObjectFinder assignFilterText(String theFilterText)
theFilterText
- public GrouperObjectFinder assignSplitScope(boolean theSplitScope)
theSplitScope
- public GrouperObjectFinder assignQueryOptions(QueryOptions theQueryOptions)
theQueryOptions
- public Set<GrouperObject> findGrouperObjects()
Copyright © 2016 Internet2. All rights reserved.