Package org.flowable.idm.engine.impl
Class UserQueryImpl
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<UserQuery,User>
org.flowable.idm.engine.impl.UserQueryImpl
- All Implemented Interfaces:
Serializable,CacheAwareQuery<UserEntity>,Query<UserQuery,,User> Command<Object>,UserBaseQuery<UserQuery,,User> UserQuery
public class UserQueryImpl
extends AbstractQuery<UserQuery,User>
implements UserQuery, CacheAwareQuery<UserEntity>
- Author:
- Joram Barrez
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
ListQueryParameterObject.OrderBy, ListQueryParameterObject.ResultTypeNested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
Query.NullHandlingOnOrder -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutorFields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC -
Constructor Summary
ConstructorsConstructorDescriptionUserQueryImpl(CommandContext commandContext) UserQueryImpl(CommandExecutor commandExecutor) -
Method Summary
Modifier and TypeMethodDescriptionlongexecuteCount(CommandContext commandContext) executeList(CommandContext commandContext) Executes the actual query to retrieve the list of results.getEmail()getId()getIds()memberOfGroup(String groupId) Only selectUsers that belong to the given group.memberOfGroups(List<String> groupIds) Only selectUsers that belong to the given groups.Order by user email (needs to be followed byQuery.asc()orQuery.desc()).Order by user first name (needs to be followed byQuery.asc()orQuery.desc()).Order by user id (needs to be followed byQuery.asc()orQuery.desc()).Order by user last name (needs to be followed byQuery.asc()orQuery.desc()).Only selectUsers that belong to the given tenant.userDisplayName(String displayName) Only selectUsers with the given displayName.userDisplayNameLike(String displayNameLike) Only selectUsers where the display name matches the given parameter.userDisplayNameLikeIgnoreCase(String displayNameLikeIgnoreCase) Only selectUsers where the display name matches the given parameter (ignoring case).Only thoseUsers with the given email address.userEmailLike(String emailLike) Only selectUsers where the email matches the given parameter.userFirstName(String firstName) Only selectUsers with the given firstName.userFirstNameLike(String firstNameLike) Only selectUsers where the first name matches the given parameter.userFirstNameLikeIgnoreCase(String firstNameLikeIgnoreCase) Only selectUsers where the first name matches the given parameter (ignoring case).userFullNameLike(String fullNameLike) Only selectUsers where the full name matches the given parameters.userFullNameLikeIgnoreCase(String fullNameLikeIgnoreCase) Only selectUsers where the full name matches the given parameters (ignoring case).Only selectUsers with the given id/Only selectUsers with the given id (ignoring case) /Only selectUsers with the given ids/userLastName(String lastName) Only selectUsers with the given lastName.userLastNameLike(String lastNameLike) Only selectUsers where the last name matches the given parameter.userLastNameLikeIgnoreCase(String lastNameLikeIgnoreCase) Only selectUsers where the last name matches the given parameter (ignoring case).Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResultMethods inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
addOrder, buildOrderBy, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByCollectionSafe, getOrderByForWindow, getOuterJoinOrderBy, getParameter, hasOrderBy, hasOrderByForColumn, isNeedsPaging, mapOrderByToSql, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setParameterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
-
Field Details
-
id
-
ids
-
idIgnoreCase
-
firstName
-
firstNameLike
-
firstNameLikeIgnoreCase
-
lastName
-
lastNameLike
-
lastNameLikeIgnoreCase
-
fullNameLike
-
fullNameLikeIgnoreCase
-
displayName
-
displayNameLike
-
displayNameLikeIgnoreCase
-
email
-
emailLike
-
groupId
-
groupIds
-
tenantId
-
-
Constructor Details
-
UserQueryImpl
public UserQueryImpl() -
UserQueryImpl
-
UserQueryImpl
-
-
Method Details
-
userId
Description copied from interface:UserBaseQueryOnly selectUsers with the given id/- Specified by:
userIdin interfaceUserBaseQuery<UserQuery,User>
-
userIds
Description copied from interface:UserBaseQueryOnly selectUsers with the given ids/- Specified by:
userIdsin interfaceUserBaseQuery<UserQuery,User>
-
userIdIgnoreCase
Description copied from interface:UserBaseQueryOnly selectUsers with the given id (ignoring case) /- Specified by:
userIdIgnoreCasein interfaceUserBaseQuery<UserQuery,User>
-
userFirstName
Description copied from interface:UserBaseQueryOnly selectUsers with the given firstName.- Specified by:
userFirstNamein interfaceUserBaseQuery<UserQuery,User>
-
userFirstNameLike
Description copied from interface:UserBaseQueryOnly selectUsers where the first name matches the given parameter. The syntax is that of SQL, eg. %name%.- Specified by:
userFirstNameLikein interfaceUserBaseQuery<UserQuery,User>
-
userFirstNameLikeIgnoreCase
Description copied from interface:UserBaseQueryOnly selectUsers where the first name matches the given parameter (ignoring case). The syntax is that of SQL, eg. %name%.- Specified by:
userFirstNameLikeIgnoreCasein interfaceUserBaseQuery<UserQuery,User>
-
userLastName
Description copied from interface:UserBaseQueryOnly selectUsers with the given lastName.- Specified by:
userLastNamein interfaceUserBaseQuery<UserQuery,User>
-
userLastNameLike
Description copied from interface:UserBaseQueryOnly selectUsers where the last name matches the given parameter. The syntax is that of SQL, eg. %name%.- Specified by:
userLastNameLikein interfaceUserBaseQuery<UserQuery,User>
-
userLastNameLikeIgnoreCase
Description copied from interface:UserBaseQueryOnly selectUsers where the last name matches the given parameter (ignoring case). The syntax is that of SQL, eg. %name%.- Specified by:
userLastNameLikeIgnoreCasein interfaceUserBaseQuery<UserQuery,User>
-
userFullNameLike
Description copied from interface:UserBaseQueryOnly selectUsers where the full name matches the given parameters. Both the first name and last name will be tried, ie in semi-sql: where firstName like xxx or lastname like xxx- Specified by:
userFullNameLikein interfaceUserBaseQuery<UserQuery,User>
-
userFullNameLikeIgnoreCase
Description copied from interface:UserBaseQueryOnly selectUsers where the full name matches the given parameters (ignoring case). Both the first name and last name will be tried, ie in semi-sql: where firstName like xxx or lastname like xxx- Specified by:
userFullNameLikeIgnoreCasein interfaceUserBaseQuery<UserQuery,User>
-
userDisplayName
Description copied from interface:UserBaseQueryOnly selectUsers with the given displayName.- Specified by:
userDisplayNamein interfaceUserBaseQuery<UserQuery,User>
-
userDisplayNameLike
Description copied from interface:UserBaseQueryOnly selectUsers where the display name matches the given parameter. The syntax is that of SQL, eg. %name%.- Specified by:
userDisplayNameLikein interfaceUserBaseQuery<UserQuery,User>
-
userDisplayNameLikeIgnoreCase
Description copied from interface:UserBaseQueryOnly selectUsers where the display name matches the given parameter (ignoring case). The syntax is that of SQL, eg. %name%.- Specified by:
userDisplayNameLikeIgnoreCasein interfaceUserBaseQuery<UserQuery,User>
-
userEmail
Description copied from interface:UserBaseQueryOnly thoseUsers with the given email address.- Specified by:
userEmailin interfaceUserBaseQuery<UserQuery,User>
-
userEmailLike
Description copied from interface:UserBaseQueryOnly selectUsers where the email matches the given parameter. The syntax is that of SQL, eg. %test%.- Specified by:
userEmailLikein interfaceUserBaseQuery<UserQuery,User>
-
memberOfGroup
Description copied from interface:UserBaseQueryOnly selectUsers that belong to the given group.- Specified by:
memberOfGroupin interfaceUserBaseQuery<UserQuery,User>
-
memberOfGroups
Description copied from interface:UserBaseQueryOnly selectUsers that belong to the given groups.- Specified by:
memberOfGroupsin interfaceUserBaseQuery<UserQuery,User>
-
tenantId
Description copied from interface:UserBaseQueryOnly selectUsers that belong to the given tenant.- Specified by:
tenantIdin interfaceUserBaseQuery<UserQuery,User>
-
orderByUserId
Description copied from interface:UserBaseQueryOrder by user id (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserIdin interfaceUserBaseQuery<UserQuery,User>
-
orderByUserEmail
Description copied from interface:UserBaseQueryOrder by user email (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserEmailin interfaceUserBaseQuery<UserQuery,User>
-
orderByUserFirstName
Description copied from interface:UserBaseQueryOrder by user first name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserFirstNamein interfaceUserBaseQuery<UserQuery,User>
-
orderByUserLastName
Description copied from interface:UserBaseQueryOrder by user last name (needs to be followed byQuery.asc()orQuery.desc()).- Specified by:
orderByUserLastNamein interfaceUserBaseQuery<UserQuery,User>
-
executeCount
- Specified by:
executeCountin classAbstractQuery<UserQuery,User>
-
executeList
Description copied from class:AbstractQueryExecutes the actual query to retrieve the list of results.- Specified by:
executeListin classAbstractQuery<UserQuery,User>
-
getId
- Specified by:
getIdin interfaceCacheAwareQuery<UserEntity>
-
getIds
-
getIdIgnoreCase
-
getFirstName
-
getFirstNameLike
-
getFirstNameLikeIgnoreCase
-
getLastName
-
getLastNameLike
-
getLastNameLikeIgnoreCase
-
getEmail
-
getEmailLike
-
getGroupId
-
getGroupIds
-
getFullNameLike
-
getFullNameLikeIgnoreCase
-
getDisplayName
-
getDisplayNameLike
-
getDisplayNameLikeIgnoreCase
-
getTenantId
-