public class GroupNameFilter extends BaseQueryFilter
| Constructor and Description |
|---|
GroupNameFilter(String name,
Stem ns)
QueryFilter that returns groups matching the specified
name. |
GroupNameFilter(String name,
Stem ns,
String theSortString,
Boolean theAscending,
Integer thePageNumber,
Integer thePageSize,
Set<TypeOfGroup> typeOfGroups1)
QueryFilter that returns groups matching the specified
name. |
GroupNameFilter(String name,
Stem ns,
String theSortString,
Boolean theAscending,
Integer thePageNumber,
Integer thePageSize,
Set<TypeOfGroup> typeOfGroups1,
Boolean enabled1)
QueryFilter that returns groups matching the specified
name. |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
getAscending()
true or null for ascending, false for descending.
|
Boolean |
getEnabled() |
Integer |
getPageNumber()
page number 1 indexed if paging
|
Integer |
getPageSize()
page size if paging
|
Set |
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 |
setEnabled(Boolean enabled) |
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
|
filterByScope, getStringForScope, removeRootStempublic GroupNameFilter(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(String name, Stem ns, String theSortString, Boolean theAscending, Integer thePageNumber, Integer thePageSize, 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 - public GroupNameFilter(String name, Stem ns, String theSortString, Boolean theAscending, Integer thePageNumber, Integer thePageSize, Set<TypeOfGroup> typeOfGroups1, Boolean enabled1)
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 - enabled1 - true if enabled only, false if disabled only, null if everythingpublic Set<TypeOfGroup> getTypeOfGroups()
public void setTypeOfGroup(Set<TypeOfGroup> typeOfGroups1)
typeOfGroups1 - public Set getResults(GrouperSession s) throws QueryException
BaseQueryFiltergetResults in interface QueryFiltergetResults in class BaseQueryFilters - Get groups within this session context.QueryExceptionpublic 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 Boolean getEnabled()
public void setEnabled(Boolean enabled)
enabled - true if enabled only, false if disabled only, null if everythingCopyright © 2016 Internet2. All rights reserved.