public class StemNameAnyFilter extends BaseQueryFilter
Constructor and Description |
---|
StemNameAnyFilter(String name,
Stem ns)
QueryFilter that returns stems matching the specified
name. |
StemNameAnyFilter(String name,
Stem ns,
String theSortString,
Boolean theAscending,
Integer thePageNumber,
Integer thePageSize)
QueryFilter that returns stems matching the specified
name. |
Modifier and Type | Method and Description |
---|---|
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 |
getResults(GrouperSession s)
Get filter results.
|
String |
getSortString()
must be an hql query field, e.g.
|
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.
|
filterByScope, getStringForScope, removeRootStem
public StemNameAnyFilter(String name, Stem ns)
QueryFilter
that returns stems matching the specified
name.
This performs a substring, lowercased query against name, displayName, extension and displayExtension.
name
- Find stems matching this name.ns
- Restrict results to within this stem.public StemNameAnyFilter(String name, Stem ns, String theSortString, Boolean theAscending, Integer thePageNumber, Integer thePageSize)
QueryFilter
that returns stems matching the specified
name.
This performs a substring, lowercased query against name, displayName, extension and displayExtension.
name
- Find stems matching this name.ns
- Restrict results to within this stem.theSortString
- theAscending
- thePageNumber
- thePageSize
- public Set getResults(GrouperSession s) throws QueryException
BaseQueryFilter
getResults
in interface QueryFilter
getResults
in class BaseQueryFilter
s
- Get groups within this session context.QueryException
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 setCopyright © 2016 Internet2. All rights reserved.