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 selectUsers that belong to the given group.memberOfTenant(String tenantId) Only selectUsers 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 selectUserS that are potential starter for the given process definition.Only thoseUsers with the given email addres.userEmailLike(String emailLike) Only selectUsers where the email matches the given parameter.userFirstName(String firstName) Only selectUsers with the given firstName.userFirstNameLike(String firstNameLike) Only selectUsers where the first name matches the given parameter.Only selectUsers with the given id/Only selectUsers with the given idsuserLastName(String lastName) Only selectUsers with the given lastName.userLastNameLike(String lastNameLike) Only selectUsers 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 selectUsers with the given id/ -
userIdIn
Only selectUsers with the given ids -
userFirstName
Only selectUsers with the given firstName. -
userFirstNameLike
Only selectUsers where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%. -
userLastName
Only selectUsers with the given lastName. -
userLastNameLike
Only selectUsers where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%. -
userEmail
Only thoseUsers with the given email addres. -
userEmailLike
Only selectUsers where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%. -
memberOfGroup
Only selectUsers that belong to the given group. -
potentialStarter
Only selectUserS that are potential starter for the given process definition. -
memberOfTenant
Only selectUsers 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()).
-