|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.internet2.middleware.grouper.misc.GrouperObjectFinder
public class GrouperObjectFinder
find object of multiple types, and allow paging
Nested Class Summary | |
---|---|
static class |
GrouperObjectFinder.GrouperObjectFinderType
type of objects to get |
static class |
GrouperObjectFinder.ObjectPrivilege
privilege type to query |
Constructor Summary | |
---|---|
GrouperObjectFinder()
|
Method Summary | |
---|---|
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(edu.internet2.middleware.subject.Subject theSubject)
subject to add to queries for example for privileges |
Set<GrouperObject> |
findGrouperObjects()
find grouper objects based on the paramet |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GrouperObjectFinder()
Method Detail |
---|
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(edu.internet2.middleware.subject.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()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |