|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.internet2.middleware.grouper.filter.BaseQueryFilter
edu.internet2.middleware.grouper.filter.GroupsInStemFilter
public class GroupsInStemFilter
Query by stem name exact, and get all children, or just immediate
| Constructor Summary | |
|---|---|
GroupsInStemFilter(java.lang.String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound)
QueryFilter that returns stems matching the specified
name value. |
|
GroupsInStemFilter(java.lang.String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound,
java.lang.String theSortString,
java.lang.Boolean theAscending,
java.lang.Integer thePageNumber,
java.lang.Integer thePageSize,
java.util.Set<TypeOfGroup> typeOfGroups1)
QueryFilter that returns stems matching the specified
name value. |
|
| Method Summary | |
|---|---|
java.lang.Boolean |
getAscending()
true or null for ascending, false for descending. |
java.lang.Integer |
getPageNumber()
page number 1 indexed if paging |
java.lang.Integer |
getPageSize()
page size if paging |
java.util.Set<Group> |
getResults(GrouperSession s)
Get filter results. |
java.lang.String |
getSortString()
must be an hql query field, e.g. can sort on name, displayName, extension, displayExtension |
java.util.Set<TypeOfGroup> |
getTypeOfGroups()
type of group |
void |
setAscending(java.lang.Boolean ascending1)
true or null for ascending, false for descending. |
void |
setPageNumber(java.lang.Integer pageNumber1)
page number 1 indexed if paging |
void |
setPageSize(java.lang.Integer pageSize1)
page size if paging |
void |
setSortString(java.lang.String sortString1)
must be an hql query field, e.g. can sort on name, displayName, extension, displayExtension |
void |
setTypeOfGroup(java.util.Set<TypeOfGroup> typeOfGroups1)
type of group |
| Methods inherited from class edu.internet2.middleware.grouper.filter.BaseQueryFilter |
|---|
filterByScope |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GroupsInStemFilter(java.lang.String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound)
QueryFilter that returns stems matching the specified
name value.
This performs a substring, lowercased query on name.
theStemName - is the name (exact) of the stem to searchtheScope - is the type of children to return (all or immediate)theFailOnStemNotFound - true if GrouperException should be thrown on StemNotFoundException
public GroupsInStemFilter(java.lang.String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound,
java.lang.String theSortString,
java.lang.Boolean theAscending,
java.lang.Integer thePageNumber,
java.lang.Integer thePageSize,
java.util.Set<TypeOfGroup> typeOfGroups1)
QueryFilter that returns stems matching the specified
name value.
This performs a substring, lowercased query on name.
theStemName - is the name (exact) of the stem to searchtheScope - is the type of children to return (all or immediate)theFailOnStemNotFound - true if GrouperException should be thrown on StemNotFoundExceptiontheSortString - theAscending - thePageNumber - thePageSize - typeOfGroups1 - | Method Detail |
|---|
public java.util.Set<Group> getResults(GrouperSession s)
throws QueryException
BaseQueryFilter
getResults in interface QueryFiltergetResults in class BaseQueryFilters - Get groups within this session context.
QueryExceptionBaseQueryFilter.getResults(edu.internet2.middleware.grouper.GrouperSession)public java.lang.Boolean getAscending()
public java.lang.Integer getPageNumber()
public java.lang.Integer getPageSize()
public java.lang.String getSortString()
public void setAscending(java.lang.Boolean ascending1)
ascending1 - the ascending to setpublic void setPageNumber(java.lang.Integer pageNumber1)
pageNumber1 - the pageNumber to setpublic void setPageSize(java.lang.Integer pageSize1)
pageSize1 - the pageSize to setpublic void setSortString(java.lang.String sortString1)
sortString1 - the sortString to setpublic java.util.Set<TypeOfGroup> getTypeOfGroups()
public void setTypeOfGroup(java.util.Set<TypeOfGroup> typeOfGroups1)
typeOfGroups1 -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||