Package org.camunda.bpm.engine.impl
Class UserQueryImpl
- Direct Known Subclasses:
DbUserQueryImpl
,LdapUserQueryImpl
,OAuth2IdentityProvider.OAuth2UserQuery
- Author:
- Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
Field Summary
Modifier and TypeFieldDescriptionprotected String
protected String
protected String
protected String
protected String
protected String
protected String[]
protected String
protected String
protected String
protected String
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
getId()
String[]
getIds()
memberOfGroup
(String groupId) Only selectUser
s that belong to the given group.memberOfTenant
(String tenantId) Only selectUser
s that belongs to the given tenant.Order by user email (needs to be followed byQuery.asc()
orQuery.desc()
).Order by user first name (needs to be followed byQuery.asc()
orQuery.desc()
).Order by user id (needs to be followed byQuery.asc()
orQuery.desc()
).Order by user last name (needs to be followed byQuery.asc()
orQuery.desc()
).potentialStarter
(String procDefId) Only selectUser
S that are potential starter for the given process definition.Only thoseUser
s with the given email addres.userEmailLike
(String emailLike) Only selectUser
s where the email matches the given parameter.userFirstName
(String firstName) Only selectUser
s with the given firstName.userFirstNameLike
(String firstNameLike) Only selectUser
s where the first name matches the given parameter.Only selectUser
s with the given id/Only selectUser
s with the given idsuserLastName
(String lastName) Only selectUser
s with the given lastName.userLastNameLike
(String lastNameLike) Only selectUser
s where the last name matches the given parameter.Methods inherited from class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeCount, executeDeploymentIdMappingsList, executeIdsList, executeList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Field Details
-
id
-
ids
-
firstName
-
firstNameLike
-
lastName
-
lastNameLike
-
email
-
emailLike
-
groupId
-
procDefId
-
tenantId
-
-
Constructor Details
-
UserQueryImpl
public UserQueryImpl() -
UserQueryImpl
-
-
Method Details
-
userId
Description copied from interface:UserQuery
Only selectUser
s with the given id/ -
userIdIn
Description copied from interface:UserQuery
Only selectUser
s with the given ids -
userFirstName
Description copied from interface:UserQuery
Only selectUser
s with the given firstName.- Specified by:
userFirstName
in interfaceUserQuery
-
userFirstNameLike
Description copied from interface:UserQuery
Only selectUser
s where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userFirstNameLike
in interfaceUserQuery
-
userLastName
Description copied from interface:UserQuery
Only selectUser
s with the given lastName.- Specified by:
userLastName
in interfaceUserQuery
-
userLastNameLike
Description copied from interface:UserQuery
Only selectUser
s where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userLastNameLike
in interfaceUserQuery
-
userEmail
Description copied from interface:UserQuery
Only thoseUser
s with the given email addres. -
userEmailLike
Description copied from interface:UserQuery
Only selectUser
s where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userEmailLike
in interfaceUserQuery
-
memberOfGroup
Description copied from interface:UserQuery
Only selectUser
s that belong to the given group.- Specified by:
memberOfGroup
in interfaceUserQuery
-
potentialStarter
Description copied from interface:UserQuery
Only selectUser
S that are potential starter for the given process definition.- Specified by:
potentialStarter
in interfaceUserQuery
-
memberOfTenant
Description copied from interface:UserQuery
Only selectUser
s that belongs to the given tenant.- Specified by:
memberOfTenant
in interfaceUserQuery
-
orderByUserId
Description copied from interface:UserQuery
Order by user id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserId
in interfaceUserQuery
-
orderByUserEmail
Description copied from interface:UserQuery
Order by user email (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserEmail
in interfaceUserQuery
-
orderByUserFirstName
Description copied from interface:UserQuery
Order by user first name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserFirstName
in interfaceUserQuery
-
orderByUserLastName
Description copied from interface:UserQuery
Order by user last name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserLastName
in interfaceUserQuery
-
getId
-
getIds
-
getFirstName
-
getFirstNameLike
-
getLastName
-
getLastNameLike
-
getEmail
-
getEmailLike
-
getGroupId
-
getTenantId
-