|
||||||||||
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.GroupNameFilter
public class GroupNameFilter
Query by group name.
Constructor Summary | |
---|---|
GroupNameFilter(java.lang.String name,
Stem ns)
QueryFilter that returns groups matching the specified
name. |
|
GroupNameFilter(java.lang.String name,
Stem ns,
java.lang.String theSortString,
java.lang.Boolean theAscending,
java.lang.Integer thePageNumber,
java.lang.Integer thePageSize,
java.util.Set<TypeOfGroup> typeOfGroups1)
QueryFilter that returns groups matching the specified
name. |
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 |
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 GroupNameFilter(java.lang.String name, Stem ns)
QueryFilter
that returns groups matching the specified
name.
This performs a substring, lowercased query against name, alternateName, displayName, extension and displayExtension.
NOTE: This query will perform a full table scan.
name
- Find groups matching this name.ns
- Restrict results to within this stem.public GroupNameFilter(java.lang.String name, Stem ns, java.lang.String theSortString, java.lang.Boolean theAscending, java.lang.Integer thePageNumber, java.lang.Integer thePageSize, java.util.Set<TypeOfGroup> typeOfGroups1)
QueryFilter
that returns groups matching the specified
name.
This performs a substring, lowercased query against name, alternateName, displayName, extension and displayExtension.
NOTE: This query will perform a full table scan.
name
- Find groups matching this name.ns
- Restrict results to within this stem.theSortString
- theAscending
- thePageNumber
- thePageSize
- typeOfGroups1
- Method Detail |
---|
public java.util.Set<TypeOfGroup> getTypeOfGroups()
public void setTypeOfGroup(java.util.Set<TypeOfGroup> typeOfGroups1)
typeOfGroups1
- public java.util.Set getResults(GrouperSession s) throws QueryException
BaseQueryFilter
getResults
in interface QueryFilter
getResults
in class BaseQueryFilter
s
- Get groups within this session context.
QueryException
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 |