Interface WorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>,R extends WorkInstanceInfo>

All Superinterfaces:
Query<Q,R>
All Known Subinterfaces:
HistoricWorkInstanceQuery, WorkInstanceQuery
All Known Implementing Classes:
HistoricWorkInstanceQueryImpl, WorkInstanceInfoQueryImpl, WorkInstanceQueryImpl

public interface WorkInstanceInfoQuery<Q extends WorkInstanceInfoQuery<Q,R>,R extends WorkInstanceInfo> extends Query<Q,R>
Query used for querying process and case instances.
Author:
Filip Hrisafov
  • Method Details

    • id

      Q id(String id)
      Only select work instances with the given id
    • name

      Q name(String name)
      Only select work instances with the given name
    • definitionId

      Q definitionId(String definitionId)
      Only select work instances with the given definition id
    • definitionName

      Q definitionName(String definitionName)
      Only select work instances with the given definition name
    • definitionKey

      Q definitionKey(String definitionKey)
      Only select work instances with the given definition key
    • definitionCategory

      Q definitionCategory(String definitionCategory)
      Only select work instances with the given definition category
    • definitionCategories

      Q definitionCategories(Collection<String> definitionCategories)
      Only select work instances with the given definition categories
    • state

      Q state(String state)
      Only select work instances with the given state
    • type

      Q type(String type)
      Only select work instances with the given type
    • startUserId

      Q startUserId(String startUserId)
      Only select work instances with the given start user id
    • searchText

      Q searchText(String searchText)
      Only select work instances with the given search text
    • tenantId

      Q tenantId(String tenantId)
      Only select work instances with the given tenantId
    • accessibleByUserOrGroups

      Q accessibleByUserOrGroups(String userId, Collection<String> groupKeys)
      Only select work instances accessible by the give user or groups
    • includeTranslation

      Q includeTranslation()
      Whether translations for the work instances should also be fetched.
    • assigneeUserId

      Q assigneeUserId(String userId)
      Only select work instance assigned to the given userid
    • businessKey

      Q businessKey(String businessKey)
      Only select work instance with the given businessKey
    • businessStatus

      Q businessStatus(String businessStatus)
      Only select work instance with the given businessStatus