|
||||||||||
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.StemsInStemFilter
public class StemsInStemFilter
Query by stem name exact, and get all stem children, or just immediate
Constructor Summary | |
---|---|
StemsInStemFilter(java.lang.String theStemName,
Stem.Scope theScope,
boolean theFailOnStemNotFound)
QueryFilter that returns stems matching the specified
name value. |
|
StemsInStemFilter(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)
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<Stem> |
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 |
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 |
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 StemsInStemFilter(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 StemNotFoundExceptionpublic StemsInStemFilter(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)
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
- Method Detail |
---|
public java.util.Set<Stem> 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 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 set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |