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:
  • Field Details

    • id

      protected String id
    • ids

      protected List<String> ids
    • idIgnoreCase

      protected String idIgnoreCase
    • firstName

      protected String firstName
    • firstNameLike

      protected String firstNameLike
    • firstNameLikeIgnoreCase

      protected String firstNameLikeIgnoreCase
    • lastName

      protected String lastName
    • lastNameLike

      protected String lastNameLike
    • lastNameLikeIgnoreCase

      protected String lastNameLikeIgnoreCase
    • fullNameLike

      protected String fullNameLike
    • fullNameLikeIgnoreCase

      protected String fullNameLikeIgnoreCase
    • displayName

      protected String displayName
    • displayNameLike

      protected String displayNameLike
    • displayNameLikeIgnoreCase

      protected String displayNameLikeIgnoreCase
    • accessibleByUser

      protected String accessibleByUser
    • accessibleByUserDefinitionKey

      protected String accessibleByUserDefinitionKey
    • accessbleByUserDefinitionKeyProvided

      protected boolean accessbleByUserDefinitionKeyProvided
    • email

      protected String email
    • emailLike

      protected String emailLike
    • groupId

      protected String groupId
    • groupIds

      protected List<String> groupIds
    • tenantId

      protected String tenantId
    • orQueryObjects

      protected List<T extends org.flowable.idm.api.UserBaseQuery<T,U>> 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

      public T userId(String id)
      Specified by:
      userId in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userIds

      public T userIds(List<String> ids)
      Specified by:
      userIds in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userIdIgnoreCase

      public T userIdIgnoreCase(String id)
      Specified by:
      userIdIgnoreCase in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userFirstName

      public T userFirstName(String firstName)
      Specified by:
      userFirstName in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userFirstNameLike

      public T userFirstNameLike(String firstNameLike)
      Specified by:
      userFirstNameLike in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userFirstNameLikeIgnoreCase

      public T userFirstNameLikeIgnoreCase(String firstNameLikeIgnoreCase)
      Specified by:
      userFirstNameLikeIgnoreCase in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userLastName

      public T userLastName(String lastName)
      Specified by:
      userLastName in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userLastNameLike

      public T userLastNameLike(String lastNameLike)
      Specified by:
      userLastNameLike in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userLastNameLikeIgnoreCase

      public T userLastNameLikeIgnoreCase(String lastNameLikeIgnoreCase)
      Specified by:
      userLastNameLikeIgnoreCase in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userFullNameLike

      public T userFullNameLike(String fullNameLike)
      Specified by:
      userFullNameLike in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userFullNameLikeIgnoreCase

      public T userFullNameLikeIgnoreCase(String fullNameLikeIgnoreCase)
      Specified by:
      userFullNameLikeIgnoreCase in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userDisplayName

      public T userDisplayName(String displayName)
      Specified by:
      userDisplayName in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userDisplayNameLike

      public T userDisplayNameLike(String displayNameLike)
      Specified by:
      userDisplayNameLike in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userDisplayNameLikeIgnoreCase

      public T userDisplayNameLikeIgnoreCase(String displayNameLikeIgnoreCase)
      Specified by:
      userDisplayNameLikeIgnoreCase in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userEmail

      public T userEmail(String email)
      Specified by:
      userEmail in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • userEmailLike

      public T userEmailLike(String emailLike)
      Specified by:
      userEmailLike in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • memberOfGroup

      public T memberOfGroup(String groupId)
      Specified by:
      memberOfGroup in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • memberOfGroups

      public T memberOfGroups(List<String> groupIds)
      Specified by:
      memberOfGroups in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • tenantId

      public T tenantId(String tenantId)
      Specified by:
      tenantId in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • orderByUserId

      public T orderByUserId()
      Specified by:
      orderByUserId in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • orderByUserEmail

      public T orderByUserEmail()
      Specified by:
      orderByUserEmail in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • orderByUserFirstName

      public T orderByUserFirstName()
      Specified by:
      orderByUserFirstName in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • orderByUserLastName

      public T orderByUserLastName()
      Specified by:
      orderByUserLastName in interface org.flowable.idm.api.UserBaseQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • executeCount

      public long executeCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      executeCount in class org.flowable.variable.service.impl.AbstractVariableQueryImpl<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • executeFindUserCount

      protected abstract long executeFindUserCount(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • executeList

      public List<U> executeList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
      Specified by:
      executeList in class org.flowable.variable.service.impl.AbstractVariableQueryImpl<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • executeFindUserList

      protected abstract List<U> executeFindUserList(org.flowable.common.engine.impl.interceptor.CommandContext commandContext)
    • ensureVariablesInitialized

      protected void ensureVariablesInitialized()
      Overrides:
      ensureVariablesInitialized in class org.flowable.variable.service.impl.AbstractVariableQueryImpl<T extends org.flowable.idm.api.UserBaseQuery<T,U>,U extends org.flowable.idm.api.User>
    • 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

      protected boolean handleLookupGroups(UserBaseQueryImpl<T,U> query, List<String> lookupGroups)
    • handleDynamicLookupVariable

      protected boolean handleDynamicLookupVariable(UserBaseQueryImpl<T,U> query, String lookupInfoName)
    • createNewQuery

      protected abstract T createNewQuery(org.flowable.common.engine.impl.interceptor.CommandContext commandContext, CoreIdmEngineConfiguration idmEngineConfiguration)
    • getId

      public String getId()
      Specified by:
      getId in interface org.flowable.common.engine.api.query.CacheAwareQuery<T extends org.flowable.idm.api.UserBaseQuery<T,U>>
    • getIds

      public List<String> getIds()
    • getIdIgnoreCase

      public String getIdIgnoreCase()
    • getFirstName

      public String getFirstName()
    • getFirstNameLike

      public String getFirstNameLike()
    • getFirstNameLikeIgnoreCase

      public String getFirstNameLikeIgnoreCase()
    • getLastName

      public String getLastName()
    • getLastNameLike

      public String getLastNameLike()
    • getLastNameLikeIgnoreCase

      public String getLastNameLikeIgnoreCase()
    • getFullNameLike

      public String getFullNameLike()
    • getFullNameLikeIgnoreCase

      public String getFullNameLikeIgnoreCase()
    • getDisplayName

      public String getDisplayName()
    • getDisplayNameLike

      public String getDisplayNameLike()
    • getDisplayNameLikeIgnoreCase

      public String getDisplayNameLikeIgnoreCase()
    • getAccessibleByUser

      public String getAccessibleByUser()
    • getEmail

      public String getEmail()
    • getEmailLike

      public String getEmailLike()
    • getGroupId

      public String getGroupId()
    • getGroupIds

      public List<String> getGroupIds()
    • getTenantId

      public String getTenantId()
    • getOrQueryObjects

      public List<T> getOrQueryObjects()