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 String
email
protected String
emailLike
protected String
firstName
protected String
firstNameLike
protected String
groupId
protected String
id
protected String[]
ids
protected String
lastName
protected String
lastNameLike
protected String
procDefId
protected String
tenantId
-
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 String
getEmail()
String
getEmailLike()
String
getFirstName()
String
getFirstNameLike()
String
getGroupId()
String
getId()
String[]
getIds()
String
getLastName()
String
getLastNameLike()
String
getTenantId()
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 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:UserQuery
Only selectUser
s with the given id/
-
userIdIn
public UserQuery userIdIn(String... ids)
Description copied from interface:UserQuery
Only selectUser
s with the given ids
-
userFirstName
public UserQuery userFirstName(String firstName)
Description copied from interface:UserQuery
Only selectUser
s with the given firstName.- Specified by:
userFirstName
in interfaceUserQuery
-
userFirstNameLike
public UserQuery userFirstNameLike(String firstNameLike)
Description copied from interface:UserQuery
Only selectUser
s where the first name matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userFirstNameLike
in interfaceUserQuery
-
userLastName
public UserQuery userLastName(String lastName)
Description copied from interface:UserQuery
Only selectUser
s with the given lastName.- Specified by:
userLastName
in interfaceUserQuery
-
userLastNameLike
public UserQuery userLastNameLike(String lastNameLike)
Description copied from interface:UserQuery
Only selectUser
s where the last name matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userLastNameLike
in interfaceUserQuery
-
userEmail
public UserQuery userEmail(String email)
Description copied from interface:UserQuery
Only thoseUser
s with the given email addres.
-
userEmailLike
public UserQuery userEmailLike(String emailLike)
Description copied from interface:UserQuery
Only selectUser
s where the email matches the given parameter. The syntax is that of SQL, eg. %activivi%.- Specified by:
userEmailLike
in interfaceUserQuery
-
memberOfGroup
public UserQuery memberOfGroup(String groupId)
Description copied from interface:UserQuery
Only selectUser
s that belong to the given group.- Specified by:
memberOfGroup
in interfaceUserQuery
-
potentialStarter
public UserQuery potentialStarter(String procDefId)
Description copied from interface:UserQuery
Only selectUser
S that are potential starter for the given process definition.- Specified by:
potentialStarter
in interfaceUserQuery
-
memberOfTenant
public UserQuery memberOfTenant(String tenantId)
Description copied from interface:UserQuery
Only selectUser
s that belongs to the given tenant.- Specified by:
memberOfTenant
in interfaceUserQuery
-
orderByUserId
public UserQuery orderByUserId()
Description copied from interface:UserQuery
Order by user id (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserId
in interfaceUserQuery
-
orderByUserEmail
public UserQuery orderByUserEmail()
Description copied from interface:UserQuery
Order by user email (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserEmail
in interfaceUserQuery
-
orderByUserFirstName
public UserQuery orderByUserFirstName()
Description copied from interface:UserQuery
Order by user first name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserFirstName
in interfaceUserQuery
-
orderByUserLastName
public UserQuery orderByUserLastName()
Description copied from interface:UserQuery
Order by user last name (needs to be followed byQuery.asc()
orQuery.desc()
).- Specified by:
orderByUserLastName
in 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()
-
-