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 UserQuerymemberOfGroup(String groupId)Only selectUsers that belong to the given group.UserQuerymemberOfTenant(String tenantId)Only selectUsers that belongs to the given tenant.UserQueryorderByUserEmail()Order by user email (needs to be followed byQuery.asc()orQuery.desc()).UserQueryorderByUserFirstName()Order by user first name (needs to be followed byQuery.asc()orQuery.desc()).UserQueryorderByUserId()Order by user id (needs to be followed byQuery.asc()orQuery.desc()).UserQueryorderByUserLastName()Order by user last name (needs to be followed byQuery.asc()orQuery.desc()).UserQuerypotentialStarter(String procDefId)Only selectUserS that are potential starter for the given process definition.UserQueryuserEmail(String email)Only thoseUsers with the given email addres.UserQueryuserEmailLike(String emailLike)Only selectUsers where the email matches the given parameter.UserQueryuserFirstName(String firstName)Only selectUsers with the given firstName.UserQueryuserFirstNameLike(String firstNameLike)Only selectUsers where the first name matches the given parameter.UserQueryuserId(String id)Only selectUsers with the given id/UserQueryuserIdIn(String... ids)Only selectUsers with the given idsUserQueryuserLastName(String lastName)Only selectUsers with the given lastName.UserQueryuserLastNameLike(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 Detail
-
userFirstName
UserQuery userFirstName(String firstName)
Only selectUsers with the given firstName.
-
userFirstNameLike
UserQuery userFirstNameLike(String firstNameLike)
Only selectUsers where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
userLastNameLike
UserQuery userLastNameLike(String lastNameLike)
Only selectUsers where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
userEmailLike
UserQuery userEmailLike(String emailLike)
Only selectUsers where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.
-
memberOfGroup
UserQuery memberOfGroup(String groupId)
Only selectUsers that belong to the given group.
-
potentialStarter
UserQuery potentialStarter(String procDefId)
Only selectUserS that are potential starter for the given process definition.
-
memberOfTenant
UserQuery memberOfTenant(String tenantId)
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()).
-
-