Package com.flowable.idm.engine.impl
Class UserBaseQueryImpl<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
java.lang.Object
org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.query.AbstractQuery<T,U>
org.flowable.variable.service.impl.AbstractVariableQueryImpl<T,U>
com.flowable.idm.engine.impl.UserBaseQueryImpl<T,U>
- All Implemented Interfaces:
Serializable
,org.flowable.common.engine.api.query.CacheAwareQuery<U>
,org.flowable.common.engine.api.query.Query<T,
,U> org.flowable.common.engine.impl.interceptor.Command<Object>
,org.flowable.idm.api.UserBaseQuery<T,
U>
- Direct Known Subclasses:
PlatformUserQueryImpl
public abstract class UserBaseQueryImpl<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
extends org.flowable.variable.service.impl.AbstractVariableQueryImpl<T,U>
implements org.flowable.idm.api.UserBaseQuery<T,U>, org.flowable.common.engine.api.query.CacheAwareQuery<U>
- Author:
- Joram Barrez, Filip Hrisafov
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
org.flowable.common.engine.impl.db.ListQueryParameterObject.OrderBy, org.flowable.common.engine.impl.db.ListQueryParameterObject.ResultType
Nested classes/interfaces inherited from interface org.flowable.common.engine.api.query.Query
org.flowable.common.engine.api.query.Query.NullHandlingOnOrder
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected boolean
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
protected String
Fields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues, variableValueProvider
Fields inherited from class org.flowable.common.engine.impl.query.AbstractQuery
commandContext, commandExecutor
Fields inherited from class org.flowable.common.engine.impl.db.ListQueryParameterObject
databaseType, DEFAULT_ORDER_BY, defaultOrderBy, firstResult, ignoreOrderBy, maxResults, nullHandlingColumn, nullHandlingOnOrder, orderByCollection, orderProperty, parameter, resultType, SORTORDER_ASC, SORTORDER_DESC
-
Constructor Summary
ConstructorsConstructorDescriptionUserBaseQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration) UserBaseQueryImpl
(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, CoreIdmEngineConfiguration idmEngineConfiguration) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract T
createNewQuery
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration) protected void
long
executeCount
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) protected abstract long
executeFindUserCount
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeFindUserList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) executeList
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) getEmail()
getId()
getIds()
protected boolean
handleAccessibleByUser
(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) Perform the accessible by user checks and enrich the query with the required data.protected boolean
handleDynamicLookupVariable
(UserBaseQueryImpl<T, U> query, String lookupInfoName) protected boolean
handleLookupGroups
(UserBaseQueryImpl<T, U> query, List<String> lookupGroups) memberOfGroup
(String groupId) memberOfGroups
(List<String> groupIds) userDisplayName
(String displayName) userDisplayNameLike
(String displayNameLike) userDisplayNameLikeIgnoreCase
(String displayNameLikeIgnoreCase) userEmailLike
(String emailLike) userFirstName
(String firstName) userFirstNameLike
(String firstNameLike) userFirstNameLikeIgnoreCase
(String firstNameLikeIgnoreCase) userFullNameLike
(String fullNameLike) userFullNameLikeIgnoreCase
(String fullNameLikeIgnoreCase) userLastName
(String lastName) userLastNameLike
(String lastNameLike) userLastNameLikeIgnoreCase
(String lastNameLikeIgnoreCase) Methods inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
addVariable, addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, scopedVariableExists, scopedVariableNotExists, scopedVariableValueEquals, scopedVariableValueEquals, scopedVariableValueEqualsIgnoreCase, scopedVariableValueGreaterThan, scopedVariableValueGreaterThanOrEqual, scopedVariableValueLessThan, scopedVariableValueLessThanOrEqual, scopedVariableValueLike, scopedVariableValueLikeIgnoreCase, scopedVariableValueNotEquals, scopedVariableValueNotEqualsIgnoreCase, variableExists, variableExists, variableNotExists, variableNotExists, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEquals, variableValueEqualsIgnoreCase, variableValueEqualsIgnoreCase, variableValueGreaterThan, variableValueGreaterThan, variableValueGreaterThanOrEqual, variableValueGreaterThanOrEqual, variableValueLessThan, variableValueLessThan, variableValueLessThanOrEqual, variableValueLessThanOrEqual, variableValueLike, variableValueLike, variableValueLikeIgnoreCase, variableValueLikeIgnoreCase, variableValueNotEquals, variableValueNotEquals, variableValueNotEqualsIgnoreCase, variableValueNotEqualsIgnoreCase
Methods inherited from class org.flowable.common.engine.impl.query.AbstractQuery
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, getSafeList, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
Methods 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, setIgnoreOrderBy, setMaxResults, setNullHandlingColumn, setParameter
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.flowable.common.engine.api.query.CacheAwareQuery
enhanceCachedValue
Methods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResult
-
Field Details
-
id
-
ids
-
idIgnoreCase
-
firstName
-
firstNameLike
-
firstNameLikeIgnoreCase
-
lastName
-
lastNameLike
-
lastNameLikeIgnoreCase
-
fullNameLike
-
fullNameLikeIgnoreCase
-
displayName
-
displayNameLike
-
displayNameLikeIgnoreCase
-
accessibleByUser
-
accessibleByUserDefinitionKey
-
accessbleByUserDefinitionKeyProvided
protected boolean accessbleByUserDefinitionKeyProvided -
email
-
emailLike
-
groupId
-
groupIds
-
tenantId
-
orQueryObjects
-
-
Constructor Details
-
UserBaseQueryImpl
public UserBaseQueryImpl() -
UserBaseQueryImpl
public UserBaseQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration) -
UserBaseQueryImpl
public UserBaseQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor, CoreIdmEngineConfiguration idmEngineConfiguration)
-
-
Method Details
-
userId
-
userIds
-
userIdIgnoreCase
-
userFirstName
-
userFirstNameLike
-
userFirstNameLikeIgnoreCase
-
userLastName
-
userLastNameLike
-
userLastNameLikeIgnoreCase
-
userFullNameLike
-
userFullNameLikeIgnoreCase
-
userDisplayName
-
userDisplayNameLike
-
userDisplayNameLikeIgnoreCase
-
userEmail
-
userEmailLike
-
memberOfGroup
-
memberOfGroups
-
tenantId
-
orderByUserId
-
orderByUserEmail
-
orderByUserFirstName
-
orderByUserLastName
-
executeCount
public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
executeFindUserCount
protected abstract long executeFindUserCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
executeList
-
executeFindUserList
-
ensureVariablesInitialized
protected void ensureVariablesInitialized() -
handleAccessibleByUser
protected boolean handleAccessibleByUser(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) Perform the accessible by user checks and enrich the query with the required data.- Parameters:
commandContext
- the command context that can be used to fetch data- Returns:
true
if the query can actually be executed,false
otherwise (return empty result)
-
handleLookupGroups
-
handleDynamicLookupVariable
-
createNewQuery
protected abstract T createNewQuery(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration) -
getId
-
getIds
-
getIdIgnoreCase
-
getFirstName
-
getFirstNameLike
-
getFirstNameLikeIgnoreCase
-
getLastName
-
getLastNameLike
-
getLastNameLikeIgnoreCase
-
getFullNameLike
-
getFullNameLikeIgnoreCase
-
getDisplayName
-
getDisplayNameLike
-
getDisplayNameLikeIgnoreCase
-
getAccessibleByUser
-
getEmail
-
getEmailLike
-
getGroupId
-
getGroupIds
-
getTenantId
-
getOrQueryObjects
-