Package org.camunda.bpm.engine.impl
Class UserQueryImpl
- java.lang.Object
-
- org.camunda.bpm.engine.impl.db.ListQueryParameterObject
-
- org.camunda.bpm.engine.impl.AbstractQuery<UserQuery,User>
-
- org.camunda.bpm.engine.impl.UserQueryImpl
-
- Direct Known Subclasses:
DbUserQueryImpl,LdapUserQueryImpl
public abstract class UserQueryImpl extends AbstractQuery<UserQuery,User> implements UserQuery
- Author:
- Joram Barrez
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.camunda.bpm.engine.impl.AbstractQuery
AbstractQuery.ResultType
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringemailprotected StringemailLikeprotected StringfirstNameprotected StringfirstNameLikeprotected StringgroupIdprotected Stringidprotected String[]idsprotected StringlastNameprotected StringlastNameLikeprotected StringprocDefIdprotected StringtenantId-
Fields inherited from class org.camunda.bpm.engine.impl.AbstractQuery
commandExecutor, expressions, maxResultsLimitEnabled, resultType, SORTORDER_ASC, SORTORDER_DESC, validators
-
Fields inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
authCheck, databaseType, firstResult, maxResults, orderingProperties, parameter, tenantCheck
-
-
Constructor Summary
Constructors Constructor Description UserQueryImpl()UserQueryImpl(CommandExecutor commandExecutor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetEmail()StringgetEmailLike()StringgetFirstName()StringgetFirstNameLike()StringgetGroupId()StringgetId()String[]getIds()StringgetLastName()StringgetLastNameLike()StringgetTenantId()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 class org.camunda.bpm.engine.impl.AbstractQuery
addExpression, addValidator, asc, checkMaxResultsLimit, checkQueryOk, count, desc, direction, disableMaxResultsLimit, enableMaxResultsLimit, evaluateExpressions, evaluateExpressionsAndExecuteCount, evaluateExpressionsAndExecuteDeploymentIdMappingsList, evaluateExpressionsAndExecuteIdsList, evaluateExpressionsAndExecuteList, execute, executeCount, executeDeploymentIdMappingsList, executeIdsList, executeList, executeResult, executeSingleResult, extend, getExpressions, getMethod, hasExcludingConditions, list, listDeploymentIdMappings, listIds, listPage, mergeExpressions, mergeOrdering, orderBy, orderBy, removeValidator, setCommandExecutor, setExpressions, singleResult, unlimitedList, validate, validate
-
Methods inherited from class org.camunda.bpm.engine.impl.db.ListQueryParameterObject
getAuthCheck, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getOrderingProperties, getParameter, getTenantCheck, setAuthCheck, setDatabaseType, setFirstResult, setMaxResults, setOrderingProperties, setParameter, setTenantCheck
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.camunda.bpm.engine.impl.interceptor.Command
isRetryable
-
Methods inherited from interface org.camunda.bpm.engine.query.Query
asc, count, desc, list, listPage, singleResult, unlimitedList
-
-
-
-
Field Detail
-
id
protected String id
-
ids
protected String[] ids
-
firstName
protected String firstName
-
firstNameLike
protected String firstNameLike
-
lastName
protected String lastName
-
lastNameLike
protected String lastNameLike
-
email
protected String email
-
emailLike
protected String emailLike
-
groupId
protected String groupId
-
procDefId
protected String procDefId
-
tenantId
protected String tenantId
-
-
Constructor Detail
-
UserQueryImpl
public UserQueryImpl()
-
UserQueryImpl
public UserQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
userId
public UserQuery userId(String id)
Description copied from interface:UserQueryOnly selectUsers with the given id/
-
userIdIn
public UserQuery userIdIn(String... ids)
Description copied from interface:UserQueryOnly selectUsers with the given ids
-
userFirstName
public UserQuery userFirstName(String firstName)
Description copied from interface:UserQueryOnly selectUsers with the given firstName.- Specified by:
userFirstNamein interfaceUserQuery
-
userFirstNameLike
public UserQuery userFirstNameLike(String firstNameLike)
Description copied from interface:UserQueryOnly selectUsers where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userFirstNameLikein interfaceUserQuery
-
userLastName
public UserQuery userLastName(String lastName)
Description copied from interface:UserQueryOnly selectUsers with the given lastName.- Specified by:
userLastNamein interfaceUserQuery
-
userLastNameLike
public UserQuery userLastNameLike(String lastNameLike)
Description copied from interface:UserQueryOnly selectUsers where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userLastNameLikein interfaceUserQuery
-
userEmail
public UserQuery userEmail(String email)
Description copied from interface:UserQueryOnly thoseUsers with the given email addres.
-
userEmailLike
public UserQuery userEmailLike(String emailLike)
Description copied from interface:UserQueryOnly selectUsers where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userEmailLikein interfaceUserQuery
-
memberOfGroup
public UserQuery memberOfGroup(String groupId)
Description copied from interface:UserQueryOnly selectUsers that belong to the given group.- Specified by:
memberOfGroupin interfaceUserQuery
-
potentialStarter
public UserQuery potentialStarter(String procDefId)
Description copied from interface:UserQueryOnly selectUserS that are potential starter for the given process definition.- Specified by:
potentialStarterin interfaceUserQuery
-
memberOfTenant
public UserQuery memberOfTenant(String tenantId)
Description copied from interface:UserQueryOnly selectUsers that belongs to the given tenant.- Specified by:
memberOfTenantin interfaceUserQuery
-
orderByUserId
public UserQuery orderByUserId()
Description copied from interface:UserQueryOrder by user id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserIdin interfaceUserQuery
-
orderByUserEmail
public UserQuery orderByUserEmail()
Description copied from interface:UserQueryOrder by user email (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserEmailin interfaceUserQuery
-
orderByUserFirstName
public UserQuery orderByUserFirstName()
Description copied from interface:UserQueryOrder by user first name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserFirstNamein interfaceUserQuery
-
orderByUserLastName
public UserQuery orderByUserLastName()
Description copied from interface:UserQueryOrder by user last name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserLastNamein interfaceUserQuery
-
getId
public String getId()
-
getIds
public String[] getIds()
-
getFirstName
public String getFirstName()
-
getFirstNameLike
public String getFirstNameLike()
-
getLastName
public String getLastName()
-
getLastNameLike
public String getLastNameLike()
-
getEmail
public String getEmail()
-
getEmailLike
public String getEmailLike()
-
getGroupId
public String getGroupId()
-
getTenantId
public String getTenantId()
-
-