Package org.camunda.bpm.engine.identity
Interface UserQuery
- All Known Implementing Classes:
DbUserQueryImpl
,LdapUserQueryImpl
,OAuth2IdentityProvider.OAuth2UserQuery
,UserQueryImpl
Allows programmatic querying of
User
- Author:
- Joram Barrez
-
Method Summary
Modifier and TypeMethodDescriptionmemberOfGroup
(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 interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
Method Details
-
userId
Only selectUser
s with the given id/ -
userIdIn
Only selectUser
s with the given ids -
userFirstName
Only selectUser
s with the given firstName. -
userFirstNameLike
Only selectUser
s where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%. -
userLastName
Only selectUser
s with the given lastName. -
userLastNameLike
Only selectUser
s where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%. -
userEmail
Only thoseUser
s with the given email addres. -
userEmailLike
Only selectUser
s where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%. -
memberOfGroup
Only selectUser
s that belong to the given group. -
potentialStarter
Only selectUser
S that are potential starter for the given process definition. -
memberOfTenant
Only selectUser
s that belongs to the given tenant. -
orderByUserId
UserQuery orderByUserId()Order by user id (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByUserFirstName
UserQuery orderByUserFirstName()Order by user first name (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByUserLastName
UserQuery orderByUserLastName()Order by user last name (needs to be followed byQuery.asc()
orQuery.desc()
). -
orderByUserEmail
UserQuery orderByUserEmail()Order by user email (needs to be followed byQuery.asc()
orQuery.desc()
).
-