Package com.flowable.idm.engine.impl
Class PlatformUserQueryImpl
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<PlatformUserQuery,PlatformUser>
com.flowable.idm.engine.impl.PlatformUserQueryImpl
- All Implemented Interfaces:
PlatformUserQuery,java.io.Serializable,org.flowable.common.engine.api.query.CacheAwareQuery<PlatformUser>,org.flowable.common.engine.api.query.Query<PlatformUserQuery,PlatformUser>,org.flowable.common.engine.impl.interceptor.Command<java.lang.Object>,org.flowable.idm.api.UserBaseQuery<PlatformUserQuery,PlatformUser>
public class PlatformUserQueryImpl extends UserBaseQueryImpl<PlatformUserQuery,PlatformUser> implements PlatformUserQuery
- Author:
- Joram Barrez, Filip Hrisafov
- See Also:
- Serialized Form
-
Nested Class Summary
-
Field Summary
Fields Modifier and Type Field Description protected java.util.DatecreatedAfterprotected java.util.DatecreatedBeforeprotected java.lang.StringmemberOfGroupKeyprotected java.util.Collection<java.lang.String>memberOfGroupKeysprotected java.util.List<java.lang.String>notInIdsprotected booleanwithoutTenantIdFields inherited from class com.flowable.idm.engine.impl.UserBaseQueryImpl
accessbleByUserDefinitionKeyProvided, accessibleByUser, accessibleByUserDefinitionKey, displayName, displayNameLike, displayNameLikeIgnoreCase, email, emailLike, firstName, firstNameLike, firstNameLikeIgnoreCase, fullNameLike, fullNameLikeIgnoreCase, groupId, groupIds, id, idIgnoreCase, ids, lastName, lastNameLike, lastNameLikeIgnoreCase, orQueryObjects, tenantIdFields inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
queryVariableValues -
Constructor Summary
Constructors Constructor Description PlatformUserQueryImpl()PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) -
Method Summary
Modifier and Type Method Description PlatformUserQueryaccessibleByUser(java.lang.String userId)Query all users that are accessible by the user with the provideduserId.PlatformUserQueryaccessibleByUserWithUserDefinitionKey(java.lang.String userId, java.lang.String userDefinitionKey)Query all users that are accessible by the user with the provideduserIdanduserDefinitionKey.PlatformUserQueryactive()PlatformUserQuerycreateAfter(java.util.Date createdAfter)PlatformUserQuerycreatedBefore(java.util.Date createdBefore)protected PlatformUserQueryImplcreateNewQuery()protected longexecuteFindUserCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)protected java.util.List<PlatformUser>executeFindUserList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)java.util.List<java.lang.String>getNotInIds()PlatformUserQueryincludeIdentityInfo()Deprecated.PlatformUserQueryinfoEquals(java.lang.String name, java.lang.Object value)Checks for a user with the given info name and value.PlatformUserQueryinfoEqualsIgnoreCase(java.lang.String name, java.lang.String value)Checks for a user with the given info name and value ignoring the case of the value.PlatformUserQueryinfoValueLike(java.lang.String name, java.lang.String infoValueLike)Checks for a user with the given info name and value like.PlatformUserQueryinfoValueLikeIgnoreCase(java.lang.String name, java.lang.String infoValueLike)Checks for a user with the given info name and value like ignoring the case of the value.booleanisWithoutTenantId()PlatformUserQuerymemberOfGroupKey(java.lang.String groupKey)Only selectPlatformUsers that belong to the group with the given key.PlatformUserQuerymemberOfGroupKeys(java.util.Collection<java.lang.String> groupKeys)Only selectPlatformUsers that belong to the groups with the given keys.PlatformUserQuerypresence(java.lang.String presence)Query for users with the given presence status.PlatformUserQuerystate(java.lang.String state)PlatformUserQuerysubState(java.lang.String subState)PlatformUserQuerysubType(java.lang.String subType)PlatformUserQuerytype(java.lang.String type)Query for users of the given typePlatformUserQueryuserDefinitionKey(java.lang.String userDefinitionKey)PlatformUserQueryuserIdsNotIn(java.util.List<java.lang.String> ids)PlatformUserQuerywithoutTenantId()Query only users belonging to no tenant.Methods inherited from class com.flowable.idm.engine.impl.UserBaseQueryImpl
ensureVariablesInitialized, executeCount, executeList, getAccessibleByUser, getDisplayName, getDisplayNameLike, getDisplayNameLikeIgnoreCase, getEmail, getEmailLike, getFirstName, getFirstNameLike, getFirstNameLikeIgnoreCase, getFullNameLike, getFullNameLikeIgnoreCase, getGroupId, getGroupIds, getId, getIdIgnoreCase, getIds, getLastName, getLastNameLike, getLastNameLikeIgnoreCase, getOrQueryObjects, getTenantId, handleAccessibleByUser, handleDynamicLookupVariable, handleLookupGroups, memberOfGroup, memberOfGroups, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, tenantId, userDisplayName, userDisplayNameLike, userDisplayNameLikeIgnoreCase, userEmail, userEmailLike, userFirstName, userFirstNameLike, userFirstNameLikeIgnoreCase, userFullNameLike, userFullNameLikeIgnoreCase, userId, userIdIgnoreCase, userIds, userLastName, userLastNameLike, userLastNameLikeIgnoreCaseMethods inherited from class org.flowable.variable.service.impl.AbstractVariableQueryImpl
addVariable, getQueryVariableValues, hasLocalQueryVariableValue, hasNonLocalQueryVariableValue, hasValueComparisonQueryVariables, isBoolean, 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, variableValueNotEqualsIgnoreCaseMethods 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, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, 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
enhanceCachedValueMethods inherited from interface org.flowable.common.engine.api.query.Query
asc, count, desc, list, listPage, orderBy, orderBy, singleResultMethods inherited from interface org.flowable.idm.api.UserBaseQuery
memberOfGroup, memberOfGroups, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, tenantId, userDisplayName, userDisplayNameLike, userDisplayNameLikeIgnoreCase, userEmail, userEmailLike, userFirstName, userFirstNameLike, userFirstNameLikeIgnoreCase, userFullNameLike, userFullNameLikeIgnoreCase, userId, userIdIgnoreCase, userIds, userLastName, userLastNameLike, userLastNameLikeIgnoreCase
-
Field Details
-
notInIds
protected java.util.List<java.lang.String> notInIds -
createdBefore
protected java.util.Date createdBefore -
createdAfter
protected java.util.Date createdAfter -
withoutTenantId
protected boolean withoutTenantId -
memberOfGroupKey
protected java.lang.String memberOfGroupKey -
memberOfGroupKeys
protected java.util.Collection<java.lang.String> memberOfGroupKeys
-
-
Constructor Details
-
PlatformUserQueryImpl
public PlatformUserQueryImpl() -
PlatformUserQueryImpl
public PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) -
PlatformUserQueryImpl
public PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
-
-
Method Details
-
executeFindUserCount
protected long executeFindUserCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeFindUserCountin classUserBaseQueryImpl<PlatformUserQuery,PlatformUser>
-
executeFindUserList
protected java.util.List<PlatformUser> executeFindUserList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)- Specified by:
executeFindUserListin classUserBaseQueryImpl<PlatformUserQuery,PlatformUser>
-
userIdsNotIn
- Specified by:
userIdsNotInin interfacePlatformUserQuery
-
userDefinitionKey
- Specified by:
userDefinitionKeyin interfacePlatformUserQuery
-
type
Description copied from interface:PlatformUserQueryQuery for users of the given type- Specified by:
typein interfacePlatformUserQuery- See Also:
for known user types
-
subType
- Specified by:
subTypein interfacePlatformUserQuery
-
presence
Description copied from interface:PlatformUserQueryQuery for users with the given presence status.- Specified by:
presencein interfacePlatformUserQuery- See Also:
for known presence states
-
accessibleByUser
Description copied from interface:PlatformUserQueryQuery all users that are accessible by the user with the provideduserId.- Specified by:
accessibleByUserin interfacePlatformUserQuery- Parameters:
userId- the if of the user for which users should be queried
-
accessibleByUserWithUserDefinitionKey
public PlatformUserQuery accessibleByUserWithUserDefinitionKey(java.lang.String userId, java.lang.String userDefinitionKey)Description copied from interface:PlatformUserQueryQuery all users that are accessible by the user with the provideduserIdanduserDefinitionKey.- Specified by:
accessibleByUserWithUserDefinitionKeyin interfacePlatformUserQuery- Parameters:
userId- the id of the user for which users should be querieduserDefinitionKey- the user definition key for the user for which users should be queried
-
active
- Specified by:
activein interfacePlatformUserQuery
-
state
- Specified by:
statein interfacePlatformUserQuery
-
subState
- Specified by:
subStatein interfacePlatformUserQuery
-
infoEquals
Description copied from interface:PlatformUserQueryChecks for a user with the given info name and value.- Specified by:
infoEqualsin interfacePlatformUserQuery- Parameters:
name- the name of the infovalue- the value that the info should have
-
infoEqualsIgnoreCase
Description copied from interface:PlatformUserQueryChecks for a user with the given info name and value ignoring the case of the value.- Specified by:
infoEqualsIgnoreCasein interfacePlatformUserQuery- Parameters:
name- the name of the infovalue- the value that the info should have
-
infoValueLike
Description copied from interface:PlatformUserQueryChecks for a user with the given info name and value like.- Specified by:
infoValueLikein interfacePlatformUserQuery- Parameters:
name- the name of the infoinfoValueLike- the value like the info should have ('%' has to be added by the caller itself)
-
infoValueLikeIgnoreCase
public PlatformUserQuery infoValueLikeIgnoreCase(java.lang.String name, java.lang.String infoValueLike)Description copied from interface:PlatformUserQueryChecks for a user with the given info name and value like ignoring the case of the value.- Specified by:
infoValueLikeIgnoreCasein interfacePlatformUserQuery- Parameters:
name- the name of the infoinfoValueLike- the value like the info should have ('%' has to be added by the caller itself)
-
createAfter
- Specified by:
createAfterin interfacePlatformUserQuery
-
createdBefore
- Specified by:
createdBeforein interfacePlatformUserQuery
-
includeIdentityInfo
Deprecated.Description copied from interface:PlatformUserQueryQuery the user including the extra identity info. Implementations are allowed to include the identity info even without explicitly invoking this.- Specified by:
includeIdentityInfoin interfacePlatformUserQuery
-
withoutTenantId
Description copied from interface:PlatformUserQueryQuery only users belonging to no tenant.- Specified by:
withoutTenantIdin interfacePlatformUserQuery
-
memberOfGroupKey
Description copied from interface:PlatformUserQueryOnly selectPlatformUsers that belong to the group with the given key.- Specified by:
memberOfGroupKeyin interfacePlatformUserQuery
-
memberOfGroupKeys
Description copied from interface:PlatformUserQueryOnly selectPlatformUsers that belong to the groups with the given keys.- Specified by:
memberOfGroupKeysin interfacePlatformUserQuery
-
createNewQuery
- Specified by:
createNewQueryin classUserBaseQueryImpl<PlatformUserQuery,PlatformUser>
-
getNotInIds
public java.util.List<java.lang.String> getNotInIds() -
isWithoutTenantId
public boolean isWithoutTenantId()
-