|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.plexus.redback.users.AbstractUserQuery
public abstract class AbstractUserQuery
Abstract Implementation of UserQuery. Intended to be subclassed by UserManager providers.
| Field Summary |
|---|
| Fields inherited from interface org.codehaus.plexus.redback.users.UserQuery |
|---|
ALLOWED_ORDER_FIELDS, ORDER_BY_EMAIL, ORDER_BY_FULLNAME, ORDER_BY_USERNAME |
| Constructor Summary | |
|---|---|
AbstractUserQuery()
|
|
| 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractUserQuery()
| Method Detail |
|---|
public java.lang.String getUsername()
UserQuery
getUsername in interface UserQuerypublic void setUsername(java.lang.String userName)
UserQuery
setUsername in interface UserQueryuserName - the username criteriapublic java.lang.String getFullName()
UserQuery
getFullName in interface UserQuerypublic void setFullName(java.lang.String fullName)
UserQuery
setFullName in interface UserQueryfullName - the full name criteriapublic java.lang.String getEmail()
UserQuery
getEmail in interface UserQuerypublic void setEmail(java.lang.String email)
UserQuery
setEmail in interface UserQueryemail - the email criteriapublic long getFirstResult()
UserQuery
getFirstResult in interface UserQuerypublic void setFirstResult(int firstResult)
UserQuery
setFirstResult in interface UserQueryfirstResult - the first indexpublic long getMaxResults()
UserQuery
getMaxResults in interface UserQuerypublic void setMaxResults(int maxResults)
UserQuery
setMaxResults in interface UserQuerymaxResults - the maxinum number of users to return.public java.lang.String getOrderBy()
UserQueryUserQuery.ORDER_BY_USERNAME, UserQuery.ORDER_BY_FULLNAME or UserQuery.ORDER_BY_EMAIL.
getOrderBy in interface UserQuerypublic void setOrderBy(java.lang.String orderBy)
UserQueryUserQuery.ORDER_BY_USERNAME, UserQuery.ORDER_BY_FULLNAME or UserQuery.ORDER_BY_EMAIL.
setOrderBy in interface UserQueryorderBy - the order property.public boolean isAscending()
UserQuery
isAscending in interface UserQuerypublic void setAscending(boolean ascending)
UserQuery
setAscending in interface UserQueryascending - 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 | ||||||||