public abstract class UserQueryImpl extends AbstractQuery<UserQuery,User> implements UserQuery
| Modifier and Type | Field and Description |
|---|---|
protected String |
email |
protected String |
emailLike |
protected String |
firstName |
protected String |
firstNameLike |
protected String |
groupId |
protected String |
id |
protected String |
lastName |
protected String |
lastNameLike |
protected String |
procDefId |
commandContext, commandExecutor, orderBy, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESCdatabaseType, firstResult, maxResults, parameterauthDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled| Constructor and Description |
|---|
UserQueryImpl() |
UserQueryImpl(CommandContext commandContext) |
UserQueryImpl(CommandExecutor commandExecutor) |
| Modifier and Type | Method and Description |
|---|---|
String |
getEmail() |
String |
getEmailLike() |
String |
getFirstName() |
String |
getFirstNameLike() |
String |
getGroupId() |
String |
getId() |
String |
getLastName() |
String |
getLastNameLike() |
UserQuery |
memberOfGroup(String groupId)
Only select
Users that belong to the given group. |
UserQuery |
orderByUserEmail()
Order by user email (needs to be followed by
Query.asc() or Query.desc()). |
UserQuery |
orderByUserFirstName()
Order by user first name (needs to be followed by
Query.asc() or Query.desc()). |
UserQuery |
orderByUserId()
Order by user id (needs to be followed by
Query.asc() or Query.desc()). |
UserQuery |
orderByUserLastName()
Order by user last name (needs to be followed by
Query.asc() or Query.desc()). |
UserQuery |
potentialStarter(String procDefId)
Only select
UserS that are potential starter for the given process definition. |
UserQuery |
userEmail(String email)
Only those
Users with the given email addres. |
UserQuery |
userEmailLike(String emailLike)
Only select
Users where the email matches the given parameter. |
UserQuery |
userFirstName(String firstName)
Only select
Users with the given firstName. |
UserQuery |
userFirstNameLike(String firstNameLike)
Only select
Users where the first name matches the given parameter. |
UserQuery |
userId(String id)
Only select
Users with the given id/ |
UserQuery |
userLastName(String lastName)
Only select
Users with the given lastName. |
UserQuery |
userLastNameLike(String lastNameLike)
Only select
Users where the last name matches the given parameter. |
addOrder, asc, assertParamNotNull, assertParamNotNull, checkQueryOk, count, desc, direction, execute, executeCount, executeList, executeSingleResult, getOrderBy, list, listPage, orderBy, setCommandExecutor, singleResultgetDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParametergetAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserIdprotected String id
protected String firstName
protected String firstNameLike
protected String lastName
protected String lastNameLike
protected String email
protected String emailLike
protected String groupId
protected String procDefId
public UserQueryImpl()
public UserQueryImpl(CommandContext commandContext)
public UserQueryImpl(CommandExecutor commandExecutor)
public UserQuery userId(String id)
UserQueryUsers with the given id/public UserQuery userFirstName(String firstName)
UserQueryUsers with the given firstName.userFirstName in interface UserQuerypublic UserQuery userFirstNameLike(String firstNameLike)
UserQueryUsers where the first name matches the given parameter.
The syntax is that of SQL, eg. %activivi%.userFirstNameLike in interface UserQuerypublic UserQuery userLastName(String lastName)
UserQueryUsers with the given lastName.userLastName in interface UserQuerypublic UserQuery userLastNameLike(String lastNameLike)
UserQueryUsers where the last name matches the given parameter.
The syntax is that of SQL, eg. %activivi%.userLastNameLike in interface UserQuerypublic UserQuery userEmail(String email)
UserQueryUsers with the given email addres.public UserQuery userEmailLike(String emailLike)
UserQueryUsers where the email matches the given parameter.
The syntax is that of SQL, eg. %activivi%.userEmailLike in interface UserQuerypublic UserQuery memberOfGroup(String groupId)
UserQueryUsers that belong to the given group.memberOfGroup in interface UserQuerypublic UserQuery potentialStarter(String procDefId)
UserQueryUserS that are potential starter for the given process definition.potentialStarter in interface UserQuerypublic UserQuery orderByUserId()
UserQueryQuery.asc() or Query.desc()).orderByUserId in interface UserQuerypublic UserQuery orderByUserEmail()
UserQueryQuery.asc() or Query.desc()).orderByUserEmail in interface UserQuerypublic UserQuery orderByUserFirstName()
UserQueryQuery.asc() or Query.desc()).orderByUserFirstName in interface UserQuerypublic UserQuery orderByUserLastName()
UserQueryQuery.asc() or Query.desc()).orderByUserLastName in interface UserQuerypublic String getId()
public String getFirstName()
public String getFirstNameLike()
public String getLastName()
public String getLastNameLike()
public String getEmail()
public String getEmailLike()
public String getGroupId()
Copyright © 2015. All rights reserved.