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[] |
ids |
protected String |
lastName |
protected String |
lastNameLike |
protected String |
procDefId |
commandExecutor, expressions, orderProperty, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
databaseType, DEFAULT_ORDER_BY, firstResult, maxResults, orderBy, parameter
authDefaultPerm, authGroupIds, authPerms, authResourceId, authResourceIdQueryParam, authResourceType, authUserId, isAuthorizationCheckEnabled
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() |
UserQuery |
memberOfGroup(String groupId)
Only select
User s 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
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, addOrder, addValidator, asc, checkQueryOk, count, desc, direction, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteList, execute, executeCount, executeList, executeSingleResult, extend, getExpressions, getMethod, getOrderBy, getOrderProperty, list, listPage, mergeExpressions, mergeOrdering, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, validate, validate
getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getParameter, setDatabaseType, setFirstResult, setMaxResults, setOrderBy, setParameter
getAuthDefaultPerm, getAuthGroupIds, getAuthPerms, getAuthResourceId, getAuthResourceIdQueryParam, getAuthResourceType, getAuthUserId, isAuthorizationCheckEnabled, setAuthDefaultPerm, setAuthGroupIds, setAuthorizationCheckEnabled, setAuthPerms, setAuthResourceId, setAuthResourceIdQueryParam, setAuthResourceType, setAuthUserId
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
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 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()
Copyright © 2018. All rights reserved.