|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.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(String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound)
QueryFilter that returns stems matching the specified
name value. |
|
GroupsInStemFilter(String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound,
String theSortString,
Boolean theAscending,
Integer thePageNumber,
Integer thePageSize,
Set<TypeOfGroup> typeOfGroups1)
QueryFilter that returns stems matching the specified
name value. |
Method Summary | |
---|---|
Boolean |
getAscending()
true or null for ascending, false for descending. |
Integer |
getPageNumber()
page number 1 indexed if paging |
Integer |
getPageSize()
page size if paging |
Set<Group> |
getResults(GrouperSession s)
Get filter results. |
String |
getSortString()
must be an hql query field, e.g. |
Set<TypeOfGroup> |
getTypeOfGroups()
type of group |
void |
setAscending(Boolean ascending1)
true or null for ascending, false for descending. |
void |
setPageNumber(Integer pageNumber1)
page number 1 indexed if paging |
void |
setPageSize(Integer pageSize1)
page size if paging |
void |
setSortString(String sortString1)
must be an hql query field, e.g. |
void |
setTypeOfGroup(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(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 StemNotFoundExceptionpublic GroupsInStemFilter(String theStemName, Stem.Scope theScope, boolean theFailOnStemNotFound, String theSortString, Boolean theAscending, Integer thePageNumber, Integer thePageSize, 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 Set<Group> getResults(GrouperSession s) throws QueryException
BaseQueryFilter
getResults
in interface QueryFilter
getResults
in class BaseQueryFilter
s
- Get groups within this session context.
QueryException
BaseQueryFilter.getResults(edu.internet2.middleware.grouper.GrouperSession)
public Boolean getAscending()
public Integer getPageNumber()
public Integer getPageSize()
public String getSortString()
public void setAscending(Boolean ascending1)
ascending1
- the ascending to setpublic void setPageNumber(Integer pageNumber1)
pageNumber1
- the pageNumber to setpublic void setPageSize(Integer pageSize1)
pageSize1
- the pageSize to setpublic void setSortString(String sortString1)
sortString1
- the sortString to setpublic Set<TypeOfGroup> getTypeOfGroups()
public void setTypeOfGroup(Set<TypeOfGroup> typeOfGroups1)
typeOfGroups1
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |