Package org.camunda.bpm.engine.identity
Interface UserQuery
-
- All Known Implementing Classes:
DbUserQueryImpl
,LdapUserQueryImpl
,UserQueryImpl
public interface UserQuery extends Query<UserQuery,User>
Allows programmatic querying ofUser
- Author:
- Joram Barrez
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UserQuery
memberOfGroup(String groupId)
Only selectUser
s that belong to the given group.UserQuery
memberOfTenant(String tenantId)
Only selectUser
s that belongs to the given tenant.UserQuery
orderByUserEmail()
Order by user email (needs to be followed byQuery.asc()
orQuery.desc()
).UserQuery
orderByUserFirstName()
Order by user first name (needs to be followed byQuery.asc()
orQuery.desc()
).UserQuery
orderByUserId()
Order by user id (needs to be followed byQuery.asc()
orQuery.desc()
).UserQuery
orderByUserLastName()
Order by user last name (needs to be followed byQuery.asc()
orQuery.desc()
).UserQuery
potentialStarter(String procDefId)
Only selectUser
S that are potential starter for the given process definition.UserQuery
userEmail(String email)
Only thoseUser
s with the given email addres.UserQuery
userEmailLike(String emailLike)
Only selectUser
s where the email matches the given parameter.UserQuery
userFirstName(String firstName)
Only selectUser
s with the given firstName.UserQuery
userFirstNameLike(String firstNameLike)
Only selectUser
s where the first name matches the given parameter.UserQuery
userId(String id)
Only selectUser
s with the given id/UserQuery
userIdIn(String... ids)
Only selectUser
s with the given idsUserQuery
userLastName(String lastName)
Only selectUser
s with the given lastName.UserQuery
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 Detail
-
userFirstName
UserQuery userFirstName(String firstName)
Only selectUser
s with the given firstName.
-
userFirstNameLike
UserQuery userFirstNameLike(String firstNameLike)
Only selectUser
s where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
userLastNameLike
UserQuery userLastNameLike(String lastNameLike)
Only selectUser
s where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
userEmailLike
UserQuery userEmailLike(String emailLike)
Only selectUser
s where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
memberOfGroup
UserQuery memberOfGroup(String groupId)
Only selectUser
s that belong to the given group.
-
potentialStarter
UserQuery potentialStarter(String procDefId)
Only selectUser
S that are potential starter for the given process definition.
-
memberOfTenant
UserQuery memberOfTenant(String tenantId)
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()
).
-
-