public abstract class UserQueryImpl extends AbstractQuery<UserQuery,User> implements UserQuery
AbstractQuery.ResultType
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[] |
ids |
protected String |
lastName |
protected String |
lastNameLike |
protected String |
procDefId |
protected String |
tenantId |
commandExecutor, expressions, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
Constructor and Description |
---|
UserQueryImpl() |
UserQueryImpl(CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
String |
getEmail() |
String |
getEmailLike() |
String |
getFirstName() |
String |
getFirstNameLike() |
String |
getGroupId() |
String |
getId() |
String[] |
getIds() |
String |
getLastName() |
String |
getLastNameLike() |
String |
getTenantId() |
UserQuery |
memberOfGroup(String groupId)
Only select
User s that belong to the given group. |
UserQuery |
memberOfTenant(String tenantId)
Only select
User s that belongs to the given tenant. |
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
User S that are potential starter for the given process definition. |
UserQuery |
userEmail(String email)
Only those
User s with the given email addres. |
UserQuery |
userEmailLike(String emailLike)
Only select
User s where the email matches the given parameter. |
UserQuery |
userFirstName(String firstName)
Only select
User s with the given firstName. |
UserQuery |
userFirstNameLike(String firstNameLike)
Only select
User s where the first name matches the given parameter. |
UserQuery |
userId(String id)
Only select
User s with the given id/ |
UserQuery |
userIdIn(String... ids)
Only select
User s with the given ids |
UserQuery |
userLastName(String lastName)
Only select
User s with the given lastName. |
UserQuery |
userLastNameLike(String lastNameLike)
Only select
User s where the last name matches the given parameter. |
addExpression, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeCount, executeIdsList, executeList, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
protected String id
protected String[] ids
protected String firstName
protected String firstNameLike
protected String lastName
protected String lastNameLike
protected String email
protected String emailLike
protected String groupId
protected String procDefId
protected String tenantId
public UserQueryImpl()
public UserQueryImpl(CommandExecutor commandExecutor)
public UserQuery userId(String id)
UserQuery
User
s with the given id/public UserQuery userIdIn(String... ids)
UserQuery
User
s with the given idspublic UserQuery userFirstName(String firstName)
UserQuery
User
s with the given firstName.userFirstName
in interface UserQuery
public UserQuery userFirstNameLike(String firstNameLike)
UserQuery
User
s where the first name matches the given parameter.
The syntax is that of SQL, eg. %activivi%.userFirstNameLike
in interface UserQuery
public UserQuery userLastName(String lastName)
UserQuery
User
s with the given lastName.userLastName
in interface UserQuery
public UserQuery userLastNameLike(String lastNameLike)
UserQuery
User
s where the last name matches the given parameter.
The syntax is that of SQL, eg. %activivi%.userLastNameLike
in interface UserQuery
public UserQuery userEmail(String email)
UserQuery
User
s with the given email addres.public UserQuery userEmailLike(String emailLike)
UserQuery
User
s where the email matches the given parameter.
The syntax is that of SQL, eg. %activivi%.userEmailLike
in interface UserQuery
public UserQuery memberOfGroup(String groupId)
UserQuery
User
s that belong to the given group.memberOfGroup
in interface UserQuery
public UserQuery potentialStarter(String procDefId)
UserQuery
User
S that are potential starter for the given process definition.potentialStarter
in interface UserQuery
public UserQuery memberOfTenant(String tenantId)
UserQuery
User
s that belongs to the given tenant.memberOfTenant
in interface UserQuery
public UserQuery orderByUserId()
UserQuery
Query.asc()
or Query.desc()
).orderByUserId
in interface UserQuery
public UserQuery orderByUserEmail()
UserQuery
Query.asc()
or Query.desc()
).orderByUserEmail
in interface UserQuery
public UserQuery orderByUserFirstName()
UserQuery
Query.asc()
or Query.desc()
).orderByUserFirstName
in interface UserQuery
public UserQuery orderByUserLastName()
UserQuery
Query.asc()
or Query.desc()
).orderByUserLastName
in interface UserQuery
public String getId()
public String[] getIds()
public String getFirstName()
public String getFirstNameLike()
public String getLastName()
public String getLastNameLike()
public String getEmail()
public String getEmailLike()
public String getGroupId()
public String getTenantId()
Copyright © 2018. All rights reserved.