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(java.lang.String groupId)
Only selectUser
s that belong to the given group.UserQuery
memberOfTenant(java.lang.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(java.lang.String procDefId)
Only selectUser
S that are potential starter for the given process definition.UserQuery
userEmail(java.lang.String email)
Only thoseUser
s with the given email addres.UserQuery
userEmailLike(java.lang.String emailLike)
Only selectUser
s where the email matches the given parameter.UserQuery
userFirstName(java.lang.String firstName)
Only selectUser
s with the given firstName.UserQuery
userFirstNameLike(java.lang.String firstNameLike)
Only selectUser
s where the first name matches the given parameter.UserQuery
userId(java.lang.String id)
Only selectUser
s with the given id/UserQuery
userIdIn(java.lang.String... ids)
Only selectUser
s with the given idsUserQuery
userLastName(java.lang.String lastName)
Only selectUser
s with the given lastName.UserQuery
userLastNameLike(java.lang.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(java.lang.String firstName)
Only selectUser
s with the given firstName.
-
userFirstNameLike
UserQuery userFirstNameLike(java.lang.String firstNameLike)
Only selectUser
s where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
userLastName
UserQuery userLastName(java.lang.String lastName)
Only selectUser
s with the given lastName.
-
userLastNameLike
UserQuery userLastNameLike(java.lang.String lastNameLike)
Only selectUser
s where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
userEmail
UserQuery userEmail(java.lang.String email)
Only thoseUser
s with the given email addres.
-
userEmailLike
UserQuery userEmailLike(java.lang.String emailLike)
Only selectUser
s where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
memberOfGroup
UserQuery memberOfGroup(java.lang.String groupId)
Only selectUser
s that belong to the given group.
-
potentialStarter
UserQuery potentialStarter(java.lang.String procDefId)
Only selectUser
S that are potential starter for the given process definition.
-
memberOfTenant
UserQuery memberOfTenant(java.lang.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()
).
-
-