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
-
- All Implemented Interfaces:
java.io.Serializable
,UserQuery
,Command<java.lang.Object>
,Query<UserQuery,User>
- 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 java.lang.String
email
protected java.lang.String
emailLike
protected java.lang.String
firstName
protected java.lang.String
firstNameLike
protected java.lang.String
groupId
protected java.lang.String
id
protected java.lang.String[]
ids
protected java.lang.String
lastName
protected java.lang.String
lastNameLike
protected java.lang.String
procDefId
protected java.lang.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 java.lang.String
getEmail()
java.lang.String
getEmailLike()
java.lang.String
getFirstName()
java.lang.String
getFirstNameLike()
java.lang.String
getGroupId()
java.lang.String
getId()
java.lang.String[]
getIds()
java.lang.String
getLastName()
java.lang.String
getLastNameLike()
java.lang.String
getTenantId()
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 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 java.lang.String id
-
ids
protected java.lang.String[] ids
-
firstName
protected java.lang.String firstName
-
firstNameLike
protected java.lang.String firstNameLike
-
lastName
protected java.lang.String lastName
-
lastNameLike
protected java.lang.String lastNameLike
-
email
protected java.lang.String email
-
emailLike
protected java.lang.String emailLike
-
groupId
protected java.lang.String groupId
-
procDefId
protected java.lang.String procDefId
-
tenantId
protected java.lang.String tenantId
-
-
Constructor Detail
-
UserQueryImpl
public UserQueryImpl()
-
UserQueryImpl
public UserQueryImpl(CommandExecutor commandExecutor)
-
-
Method Detail
-
userId
public UserQuery userId(java.lang.String id)
Description copied from interface:UserQuery
Only selectUser
s with the given id/
-
userIdIn
public UserQuery userIdIn(java.lang.String... ids)
Description copied from interface:UserQuery
Only selectUser
s with the given ids
-
userFirstName
public UserQuery userFirstName(java.lang.String firstName)
Description copied from interface:UserQuery
Only selectUser
s with the given firstName.- Specified by:
userFirstName
in interfaceUserQuery
-
userFirstNameLike
public UserQuery userFirstNameLike(java.lang.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(java.lang.String lastName)
Description copied from interface:UserQuery
Only selectUser
s with the given lastName.- Specified by:
userLastName
in interfaceUserQuery
-
userLastNameLike
public UserQuery userLastNameLike(java.lang.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(java.lang.String email)
Description copied from interface:UserQuery
Only thoseUser
s with the given email addres.
-
userEmailLike
public UserQuery userEmailLike(java.lang.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(java.lang.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(java.lang.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(java.lang.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 java.lang.String getId()
-
getIds
public java.lang.String[] getIds()
-
getFirstName
public java.lang.String getFirstName()
-
getFirstNameLike
public java.lang.String getFirstNameLike()
-
getLastName
public java.lang.String getLastName()
-
getLastNameLike
public java.lang.String getLastNameLike()
-
getEmail
public java.lang.String getEmail()
-
getEmailLike
public java.lang.String getEmailLike()
-
getGroupId
public java.lang.String getGroupId()
-
getTenantId
public java.lang.String getTenantId()
-
-