|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface UserQuery
| Field Summary | |
|---|---|
static java.util.Set |
ALLOWED_ORDER_FIELDS
|
static java.lang.String |
ORDER_BY_EMAIL
|
static java.lang.String |
ORDER_BY_FULLNAME
|
static java.lang.String |
ORDER_BY_USERNAME
|
| Method Summary | |
|---|---|
java.lang.String |
getEmail()
Returns the case insensitive substring email criteria. |
long |
getFirstResult()
Returns the index (zero based) of the first result to include. |
java.lang.String |
getFullName()
Returns the case insensitive substring full name criteria. |
long |
getMaxResults()
Returns the maximum number of users to return. |
java.lang.String |
getOrderBy()
Returns the property used to order the results of this query. |
java.lang.String |
getUsername()
Returns the case insensitive substring user name criteria. |
boolean |
isAscending()
Returns true if the results should be returned in ascending order. |
void |
setAscending(boolean ascending)
Set this to true if the results should be returned in ascending order. |
void |
setEmail(java.lang.String email)
Sets the case insensitive substring email criteria. |
void |
setFirstResult(int firstResult)
Sets the index (zero based) of the first result to include. |
void |
setFullName(java.lang.String fullName)
Sets the case insensitive substring full name criteria. |
void |
setMaxResults(int maxResults)
Sets the maximum number of users to return. |
void |
setOrderBy(java.lang.String orderBy)
Sets the property used to order the results of this query. |
void |
setUsername(java.lang.String userName)
Sets the case insensitive substring user name criteria. |
| Field Detail |
|---|
static final java.lang.String ORDER_BY_USERNAME
static final java.lang.String ORDER_BY_FULLNAME
static final java.lang.String ORDER_BY_EMAIL
static final java.util.Set ALLOWED_ORDER_FIELDS
| Method Detail |
|---|
java.lang.String getUsername()
void setUsername(java.lang.String userName)
userName - the username criteriajava.lang.String getFullName()
void setFullName(java.lang.String fullName)
fullName - the full name criteriajava.lang.String getEmail()
void setEmail(java.lang.String email)
email - the email criterialong getFirstResult()
void setFirstResult(int firstResult)
firstResult - the first indexlong getMaxResults()
void setMaxResults(int maxResults)
maxResults - the maxinum number of users to return.java.lang.String getOrderBy()
ORDER_BY_USERNAME, ORDER_BY_FULLNAME or ORDER_BY_EMAIL.
void setOrderBy(java.lang.String orderBy)
ORDER_BY_USERNAME, ORDER_BY_FULLNAME or ORDER_BY_EMAIL.
orderBy - the order property.boolean isAscending()
void setAscending(boolean ascending)
ascending - true if the results should be returned in ascending
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||