public class PlatformUserQueryImpl extends UserBaseQueryImpl<PlatformUserQuery,PlatformUser> implements PlatformUserQuery
Modifier and Type | Field and Description |
---|---|
protected Date |
createdAfter |
protected Date |
createdBefore |
protected boolean |
includeIdentityInfo |
protected List<String> |
notInIds |
protected String |
presence |
protected String |
state |
protected String |
subState |
protected String |
subType |
protected String |
type |
protected String |
userDefinitionId |
protected String |
userDefinitionKey |
protected boolean |
withoutTenantId |
accessibleByUser, displayName, displayNameLike, displayNameLikeIgnoreCase, email, emailLike, firstName, firstNameLike, firstNameLikeIgnoreCase, fullNameLike, fullNameLikeIgnoreCase, groupId, groupIds, id, idIgnoreCase, ids, lastName, lastNameLike, lastNameLikeIgnoreCase, orQueryObjects, tenantId
queryVariableValues
Constructor and Description |
---|
PlatformUserQueryImpl() |
PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor) |
Modifier and Type | Method and Description |
---|---|
PlatformUserQuery |
accessibleByUser(String userId)
Query all users that are accessible by the user with the provided
userId . |
PlatformUserQuery |
active() |
PlatformUserQuery |
createAfter(Date createdAfter) |
PlatformUserQuery |
createdBefore(Date createdBefore) |
protected PlatformUserQueryImpl |
createNewQuery() |
protected long |
executeFindUserCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
protected List<PlatformUser> |
executeFindUserList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext) |
List<String> |
getNotInIds() |
String |
getPresence() |
String |
getState() |
String |
getSubState() |
String |
getSubType() |
String |
getType() |
String |
getUserDefinitionId() |
String |
getUserDefinitionKey() |
PlatformUserQuery |
includeIdentityInfo()
Query the user including the extra identity info.
|
PlatformUserQuery |
infoEquals(String name,
Object value)
Checks for a user with the given info name and value.
|
PlatformUserQuery |
infoEqualsIgnoreCase(String name,
String value)
Checks for a user with the given info name and value ignoring the case of the value.
|
PlatformUserQuery |
infoValueLike(String name,
String infoValueLike)
Checks for a user with the given info name and value like.
|
PlatformUserQuery |
infoValueLikeIgnoreCase(String name,
String infoValueLike)
Checks for a user with the given info name and value like ignoring the case of the value.
|
boolean |
isIncludeIdentityInfo() |
boolean |
isWithoutTenantId() |
PlatformUserQuery |
presence(String presence)
Query for users with the given presence status.
|
PlatformUserQuery |
state(String state) |
PlatformUserQuery |
subState(String subState) |
PlatformUserQuery |
subType(String subType) |
PlatformUserQuery |
type(String type)
Query for users of the given type
|
PlatformUserQuery |
userDefinitionId(String userDefinitionId) |
PlatformUserQuery |
userDefinitionKey(String userDefinitionKey) |
PlatformUserQuery |
userIdsNotIn(List<String> ids) |
PlatformUserQuery |
withoutTenantId()
Query only users belonging to no tenant.
|
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, userLastNameLikeIgnoreCase
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, variableValueNotEqualsIgnoreCase
asc, checkQueryOk, count, desc, direction, execute, executeSingleResult, list, listPage, orderBy, orderBy, setCommandExecutor, singleResult
addOrder, getDatabaseType, getFirstResult, getFirstRow, getLastRow, getMaxResults, getNullHandlingColumn, getOrderBy, getOrderByColumnMap, getOrderByColumns, getParameter, setDatabaseType, setFirstResult, setMaxResults, setNullHandlingColumn, setOrderByColumns, setParameter
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
memberOfGroup, memberOfGroups, orderByUserEmail, orderByUserFirstName, orderByUserId, orderByUserLastName, tenantId, userDisplayName, userDisplayNameLike, userDisplayNameLikeIgnoreCase, userEmail, userEmailLike, userFirstName, userFirstNameLike, userFirstNameLikeIgnoreCase, userFullNameLike, userFullNameLikeIgnoreCase, userId, userIdIgnoreCase, userIds, userLastName, userLastNameLike, userLastNameLikeIgnoreCase
protected String userDefinitionId
protected String userDefinitionKey
protected String type
protected String subType
protected String presence
protected String state
protected String subState
protected Date createdBefore
protected Date createdAfter
protected boolean includeIdentityInfo
protected boolean withoutTenantId
public PlatformUserQueryImpl()
public PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
public PlatformUserQueryImpl(org.flowable.common.engine.impl.interceptor.CommandExecutor commandExecutor)
protected long executeFindUserCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
executeFindUserCount
in class UserBaseQueryImpl<PlatformUserQuery,PlatformUser>
protected List<PlatformUser> executeFindUserList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
executeFindUserList
in class UserBaseQueryImpl<PlatformUserQuery,PlatformUser>
public PlatformUserQuery userIdsNotIn(List<String> ids)
userIdsNotIn
in interface PlatformUserQuery
public PlatformUserQuery userDefinitionId(String userDefinitionId)
userDefinitionId
in interface PlatformUserQuery
public PlatformUserQuery userDefinitionKey(String userDefinitionKey)
userDefinitionKey
in interface PlatformUserQuery
public PlatformUserQuery type(String type)
PlatformUserQuery
type
in interface PlatformUserQuery
for known user types
public PlatformUserQuery subType(String subType)
subType
in interface PlatformUserQuery
public PlatformUserQuery presence(String presence)
PlatformUserQuery
presence
in interface PlatformUserQuery
for known presence states
public PlatformUserQuery accessibleByUser(String userId)
PlatformUserQuery
userId
.accessibleByUser
in interface PlatformUserQuery
userId
- the if of the user for which users should be queriedpublic PlatformUserQuery active()
active
in interface PlatformUserQuery
public PlatformUserQuery state(String state)
state
in interface PlatformUserQuery
public PlatformUserQuery subState(String subState)
subState
in interface PlatformUserQuery
public PlatformUserQuery infoEquals(String name, Object value)
PlatformUserQuery
infoEquals
in interface PlatformUserQuery
name
- the name of the infovalue
- the value that the info should havepublic PlatformUserQuery infoEqualsIgnoreCase(String name, String value)
PlatformUserQuery
infoEqualsIgnoreCase
in interface PlatformUserQuery
name
- the name of the infovalue
- the value that the info should havepublic PlatformUserQuery infoValueLike(String name, String infoValueLike)
PlatformUserQuery
infoValueLike
in interface PlatformUserQuery
name
- the name of the infoinfoValueLike
- the value like the info should have ('%' has to be added by the caller itself)public PlatformUserQuery infoValueLikeIgnoreCase(String name, String infoValueLike)
PlatformUserQuery
infoValueLikeIgnoreCase
in interface PlatformUserQuery
name
- the name of the infoinfoValueLike
- the value like the info should have ('%' has to be added by the caller itself)public PlatformUserQuery createAfter(Date createdAfter)
createAfter
in interface PlatformUserQuery
public PlatformUserQuery createdBefore(Date createdBefore)
createdBefore
in interface PlatformUserQuery
public PlatformUserQuery includeIdentityInfo()
PlatformUserQuery
includeIdentityInfo
in interface PlatformUserQuery
public PlatformUserQuery withoutTenantId()
PlatformUserQuery
withoutTenantId
in interface PlatformUserQuery
protected PlatformUserQueryImpl createNewQuery()
createNewQuery
in class UserBaseQueryImpl<PlatformUserQuery,PlatformUser>
public String getUserDefinitionId()
public String getUserDefinitionKey()
public String getState()
public String getSubState()
public String getType()
public String getSubType()
public String getPresence()
public boolean isIncludeIdentityInfo()
public boolean isWithoutTenantId()
Copyright © 2019. All rights reserved.