Interface TaskQuery

All Superinterfaces:
BaseQuery<TaskSummary,TaskQueryColumnName>
All Known Implementing Classes:
TaskQueryImpl

public interface TaskQuery extends BaseQuery<TaskSummary,TaskQueryColumnName>
TaskQuery for generating dynamic sql.
  • Method Details

    • idIn

      TaskQuery idIn(String... ids)
      Filter for summaries which contain one of the given taskIds.
      Parameters:
      ids - The ids of the searched-for tasks.
      Returns:
      the taskQuery
    • idNotIn

      TaskQuery idNotIn(String... ids)
      Exclude summaries which contain one of the given taskIds.
      Parameters:
      ids - The ids of the searched-for tasks.
      Returns:
      the taskQuery
    • orderByTaskId

      TaskQuery orderByTaskId(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the primary task id.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • externalIdIn

      TaskQuery externalIdIn(String... externalIds)
      Add your external ids to your query.
      Parameters:
      externalIds - the external ids as Strings
      Returns:
      the query
    • externalIdNotIn

      TaskQuery externalIdNotIn(String... externalIds)
      Exclude these external ids from your query.
      Parameters:
      externalIds - the external ids as Strings
      Returns:
      the query
    • receivedWithin

      TaskQuery receivedWithin(TimeInterval... receivedWithin)
      Add the time intervals within which the task is received to your query. For each time interval, the database query will search for tasks whose received timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      receivedWithin - - the TimeIntervals within which the task is received
      Returns:
      the query
    • receivedNotWithin

      TaskQuery receivedNotWithin(TimeInterval... receivedNotWithin)
      Exclude the time intervals within which the task wasn't received from your query. For each time interval, the database query will search for tasks whose received timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      receivedNotWithin - - the TimeIntervals within which the task wasn't received
      Returns:
      the query
    • orderByReceived

      TaskQuery orderByReceived(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the received timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • createdWithin

      TaskQuery createdWithin(TimeInterval... createdWithin)
      Add the time intervals within which the task was created to your query. For each time interval, the database query will search for tasks whose created timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      createdWithin - - the TimeIntervals within which the task was created
      Returns:
      the query
    • createdNotWithin

      TaskQuery createdNotWithin(TimeInterval... createdNotWithin)
      Exclude the time intervals within which the task wasn't created from your query. For each time interval, the database query will search for tasks whose created timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      createdNotWithin - - the TimeIntervals within which the task wasn't created
      Returns:
      the query
    • orderByCreated

      TaskQuery orderByCreated(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the created timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • claimedWithin

      TaskQuery claimedWithin(TimeInterval... claimedWithin)
      Add the time intervals within which the task was claimed to your query. For each time interval, the database query will search for tasks whose claimed timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      claimedWithin - - the TimeIntervals within which the task was claimed
      Returns:
      the query
    • claimedNotWithin

      TaskQuery claimedNotWithin(TimeInterval... claimedNotWithin)
      Exclude the time intervals within which the task wasn't claimed from your query. For each time interval, the database query will search for tasks whose claimed timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      claimedNotWithin - - the TimeIntervals within which the task wasn't claimed
      Returns:
      the query
    • orderByClaimed

      TaskQuery orderByClaimed(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the claimed timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • modifiedWithin

      TaskQuery modifiedWithin(TimeInterval... modifiedWithin)
      Add the time intervals within which the task wasn't modified to your query. For each time interval, the database query will search for tasks whose modified timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      modifiedWithin - - the TimeIntervals within which the task was modified
      Returns:
      the query
    • modifiedNotWithin

      TaskQuery modifiedNotWithin(TimeInterval... modifiedNotWithin)
      Exclude the time intervals within which the task wasn't modified from your query. For each time interval, the database query will search for tasks whose modified timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      modifiedNotWithin - - the TimeIntervals within which the task wasn't modified
      Returns:
      the query
    • orderByModified

      TaskQuery orderByModified(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the modified timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • plannedWithin

      TaskQuery plannedWithin(TimeInterval... plannedWithin)
      Add the time intervals within which the task is planned to your query. For each time interval, the database query will search for tasks whose planned timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      plannedWithin - - the TimeIntervals within which the task is planned
      Returns:
      the query
    • plannedNotWithin

      TaskQuery plannedNotWithin(TimeInterval... plannedNotWithin)
      Exclude the time intervals within which the task isn't planned from your query. For each time interval, the database query will search for tasks whose planned timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      plannedNotWithin - - the TimeIntervals within which the task isn't planned
      Returns:
      the query
    • orderByPlanned

      TaskQuery orderByPlanned(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the planned timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • dueWithin

      TaskQuery dueWithin(TimeInterval... dueWithin)
      Add the time intervals within which the task is due to your query. For each time interval, the database query will search for tasks whose due timestamp is after or at the interval's begin and before or at the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      dueWithin - - the TimeIntervals within which the task is due
      Returns:
      the query
    • dueNotWithin

      TaskQuery dueNotWithin(TimeInterval... dueNotWithin)
      Exclude the time intervals within which the task isn't due from your query. For each time interval, the database query will search for tasks whose due timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      dueNotWithin - - the TimeIntervals within which the task isn't due
      Returns:
      the query
    • orderByDue

      TaskQuery orderByDue(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the due timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • completedWithin

      TaskQuery completedWithin(TimeInterval... completedWithin)
      Add the time intervals within which the task was completed to your query. For each time interval, the database query will search for tasks whose completed timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      completedWithin - - the TimeIntervals within which the task was completed
      Returns:
      the query
    • completedNotWithin

      TaskQuery completedNotWithin(TimeInterval... completedNotWithin)
      Exclude the time intervals within which the task wasn't completed from your query. For each time interval, the database query will search for tasks whose completed timestamp is before the interval's begin and after the interval's end. If more than one interval is specified, the query will connect them with the OR keyword. If either begin or end of an interval are null, these values will not be specified in the query.
      Parameters:
      completedNotWithin - - the TimeIntervals within which the task wasn't completed
      Returns:
      the query
    • orderByCompleted

      TaskQuery orderByCompleted(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the completed timestamp.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • nameIn

      TaskQuery nameIn(String... names)
      Add your names to your query.
      Parameters:
      names - the names as Strings
      Returns:
      the query
    • nameNotIn

      TaskQuery nameNotIn(String... names)
      Exclude these names from your query.
      Parameters:
      names - the names as Strings
      Returns:
      the query
    • nameLike

      TaskQuery nameLike(String... names)
      Add your name for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      names - your names
      Returns:
      the query
    • nameNotLike

      TaskQuery nameNotLike(String... names)
      Exclude these names for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      names - your names
      Returns:
      the query
    • orderByName

      TaskQuery orderByName(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to name.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • creatorIn

      TaskQuery creatorIn(String... creators)
      Add the UserIds of the creator to your query.
      Parameters:
      creators - of the queried tasks
      Returns:
      the query
    • creatorNotIn

      TaskQuery creatorNotIn(String... creators)
      Exclude the UserIds of the creator from your query.
      Parameters:
      creators - of the queried tasks
      Returns:
      the query
    • creatorLike

      TaskQuery creatorLike(String... creators)
      Add the UserIds of the creator for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      creators - of the queried tasks
      Returns:
      the query
    • creatorNotLike

      TaskQuery creatorNotLike(String... creators)
      Exclude the UserIds of the creator for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      creators - of the queried tasks
      Returns:
      the query
    • orderByCreator

      TaskQuery orderByCreator(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to creators name.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • noteLike

      TaskQuery noteLike(String... notes)
      Add your custom note for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      notes - your custom notes
      Returns:
      the query
    • noteNotLike

      TaskQuery noteNotLike(String... notes)
      Exclude your custom note for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      notes - your custom notes
      Returns:
      the query
    • orderByNote

      TaskQuery orderByNote(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the note.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • descriptionLike

      TaskQuery descriptionLike(String... descriptions)
      Add your description for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      descriptions - your descriptions
      Returns:
      the query
    • descriptionNotLike

      TaskQuery descriptionNotLike(String... descriptions)
      Exclude your description for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      descriptions - your descriptions
      Returns:
      the query
    • priorityIn

      TaskQuery priorityIn(int... priorities)
      Add your priorities to your query.
      Parameters:
      priorities - as a integer
      Returns:
      the query
    • priorityNotIn

      TaskQuery priorityNotIn(int... priorities)
      Exclude the priorities from your query.
      Parameters:
      priorities - as a integer
      Returns:
      the query
    • priorityWithin

      TaskQuery priorityWithin(IntInterval... priorities)
      Includes the priorities in the provided range (inclusive) to your query (eg. priorities = [1,3] includes 1,2,3).
      Parameters:
      priorities - as an integer intervals
      Returns:
      the query
    • priorityNotWithin

      TaskQuery priorityNotWithin(IntInterval... priorities)
      Excludes the priorities in the provided range (inclusive) to your query (eg. priorities = [1,3] excludes 1,2,3).
      Parameters:
      priorities - as an integer intervals
      Returns:
      the query
    • orderByPriority

      TaskQuery orderByPriority(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the priority.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • stateIn

      TaskQuery stateIn(TaskState... states)
      Add your state to your query.
      Parameters:
      states - the states as TaskState
      Returns:
      the query
    • stateNotIn

      TaskQuery stateNotIn(TaskState... states)
      Exclude these states from your query.
      Parameters:
      states - the states as TaskState
      Returns:
      the query
    • orderByState

      TaskQuery orderByState(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the state.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • hasComments

      TaskQuery hasComments(Boolean hasComments)
      Add the hasComments flag to the query.
      Parameters:
      hasComments - as Boolean. If null, it won't be integrated into the statement. It will only be integrated into the statement if set to true or false
      Returns:
      the query
    • classificationIdIn

      TaskQuery classificationIdIn(String... classificationIds)
      Add your classificationId to your query.
      Parameters:
      classificationIds - the classification Ids
      Returns:
      the query
    • classificationIdNotIn

      TaskQuery classificationIdNotIn(String... classificationIds)
      Exclude these classificationIds from your query.
      Parameters:
      classificationIds - the classification Ids
      Returns:
      the query
    • classificationKeyIn

      TaskQuery classificationKeyIn(String... classificationKeys)
      Add your classificationKey to your query.
      Parameters:
      classificationKeys - the classification key
      Returns:
      the query
    • classificationKeyNotIn

      TaskQuery classificationKeyNotIn(String... classificationKeys)
      Exclude these classificationKeys from your query.
      Parameters:
      classificationKeys - the classification key
      Returns:
      the query
    • classificationKeyLike

      TaskQuery classificationKeyLike(String... classificationKeys)
      Add your classificationKey for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      classificationKeys - the classification key
      Returns:
      the query
    • classificationKeyNotLike

      TaskQuery classificationKeyNotLike(String... classificationKeys)
      Exclude the classificationKeys for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      classificationKeys - the classification key
      Returns:
      the query
    • orderByClassificationKey

      TaskQuery orderByClassificationKey(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the classification key.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • classificationParentKeyIn

      TaskQuery classificationParentKeyIn(String... classificationParentKeys)
      Add these keys of the parent Classification to your query.
      Parameters:
      classificationParentKeys - the classification parent keys
      Returns:
      the query
    • classificationParentKeyNotIn

      TaskQuery classificationParentKeyNotIn(String... classificationParentKeys)
      Exclude these keys of the parent Classification from your query.
      Parameters:
      classificationParentKeys - the keys of the parent Classifications
      Returns:
      the query
    • classificationParentKeyLike

      TaskQuery classificationParentKeyLike(String... classificationParentKeys)
      Add these keys of the parent Classification for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      classificationParentKeys - the keys of the parent Classification
      Returns:
      the query
    • classificationParentKeyNotLike

      TaskQuery classificationParentKeyNotLike(String... classificationParentKeys)
      Exclude these keys of the parent Classification for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      classificationParentKeys - the keys of the parent Classification
      Returns:
      the query
    • classificationCategoryIn

      TaskQuery classificationCategoryIn(String... classificationCategories)
      Add your classificationCategory to your query.
      Parameters:
      classificationCategories - the classification category for filtering
      Returns:
      the query
    • classificationCategoryNotIn

      TaskQuery classificationCategoryNotIn(String... classificationCategories)
      Exclude the classificationCategory from your query.
      Parameters:
      classificationCategories - the classification category for filtering
      Returns:
      the query
    • classificationCategoryLike

      TaskQuery classificationCategoryLike(String... classificationCategories)
      Add your classificationCategory for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      classificationCategories - the classification categories for filtering
      Returns:
      the query
    • classificationCategoryNotLike

      TaskQuery classificationCategoryNotLike(String... classificationCategories)
      Exclude the classificationCategory for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      classificationCategories - the classification categories for filtering
      Returns:
      the query
    • classificationNameIn

      TaskQuery classificationNameIn(String... classificationNames)
      Add your classificationName to your query.
      Parameters:
      classificationNames - the classification name
      Returns:
      the query
    • classificationNameNotIn

      TaskQuery classificationNameNotIn(String... classificationNames)
      Exclude the classificationName from your query.
      Parameters:
      classificationNames - the classification name
      Returns:
      the query
    • classificationNameLike

      TaskQuery classificationNameLike(String... classificationNames)
      Add your classificationName for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword. *
      Parameters:
      classificationNames - the classification name
      Returns:
      the query
    • classificationNameNotLike

      TaskQuery classificationNameNotLike(String... classificationNames)
      Exclude the classificationName for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword. *
      Parameters:
      classificationNames - the classification name
      Returns:
      the query
    • orderByClassificationName

      TaskQuery orderByClassificationName(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the classification name.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • workbasketIdIn

      TaskQuery workbasketIdIn(String... workbasketIds)
      Add your workbasket id to the query.
      Parameters:
      workbasketIds - the ids of workbaskets
      Returns:
      the query
    • workbasketIdNotIn

      TaskQuery workbasketIdNotIn(String... workbasketIds)
      Exclude the workbasket id from the query.
      Parameters:
      workbasketIds - the ids of workbaskets
      Returns:
      the query
    • orderByWorkbasketId

      TaskQuery orderByWorkbasketId(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the workbasket-Id of the tasks.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • workbasketKeyDomainIn

      TaskQuery workbasketKeyDomainIn(KeyDomain... workbasketIdentifiers)
      Add your workbasket key to the query.
      Parameters:
      workbasketIdentifiers - the key - domain combinations that identify workbaskets
      Returns:
      the query
    • workbasketKeyDomainNotIn

      TaskQuery workbasketKeyDomainNotIn(KeyDomain... workbasketIdentifiers)
      Exclude the workbasket key from the query.
      Parameters:
      workbasketIdentifiers - the key - domain combinations that identify workbaskets
      Returns:
      the query
    • ownerLongNameIn

      TaskQuery ownerLongNameIn(String... longNames)
      Adds the long names of the owners to your query.
      Parameters:
      longNames - the long names as String
      Returns:
      the query
    • ownerLongNameNotIn

      TaskQuery ownerLongNameNotIn(String... longNames)
      Adds the long names of the owners to your query, which should not be contained.
      Parameters:
      longNames - the long names as String
      Returns:
      the query
    • ownerLongNameLike

      TaskQuery ownerLongNameLike(String... longNames)
      Adds the long names of the owner for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern.

      If you specify multiple arguments they are combined with the OR keyword.

      Parameters:
      longNames - the owners of the searched tasks
      Returns:
      the query
    • ownerLongNameNotLike

      TaskQuery ownerLongNameNotLike(String... longNames)
      Adds the long names of the owner for pattern matching to your query, which should not be contained. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern.

      If you specify multiple arguments they are combined with the OR keyword.

      Parameters:
      longNames - the owners of the searched tasks
      Returns:
      the query
    • businessProcessIdIn

      TaskQuery businessProcessIdIn(String... businessProcessIds)
      Add the business process ids for exact matching to your query.
      Parameters:
      businessProcessIds - the businessProcessIds of the searched for tasks
      Returns:
      the query
    • businessProcessIdNotIn

      TaskQuery businessProcessIdNotIn(String... businessProcessIds)
      Exclude the business process ids for exact matching from your query.
      Parameters:
      businessProcessIds - the businessProcessIds of the searched for tasks
      Returns:
      the query
    • businessProcessIdLike

      TaskQuery businessProcessIdLike(String... businessProcessIds)
      Add your businessProcessId for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword. *
      Parameters:
      businessProcessIds - the classification name
      Returns:
      the query
    • businessProcessIdNotLike

      TaskQuery businessProcessIdNotLike(String... businessProcessIds)
      Exclude your businessProcessId for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword. *
      Parameters:
      businessProcessIds - the classification name
      Returns:
      the query
    • orderByBusinessProcessId

      TaskQuery orderByBusinessProcessId(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the business process id.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • parentBusinessProcessIdIn

      TaskQuery parentBusinessProcessIdIn(String... parentBusinessProcessIds)
      Add the parent business process ids for exact matching to your query.
      Parameters:
      parentBusinessProcessIds - the parent businessProcessIds of the searched for tasks
      Returns:
      the query
    • parentBusinessProcessIdNotIn

      TaskQuery parentBusinessProcessIdNotIn(String... parentBusinessProcessIds)
      Exclude the parent business process ids for exact matching from your query.
      Parameters:
      parentBusinessProcessIds - the parent businessProcessIds of the searched for tasks
      Returns:
      the query
    • parentBusinessProcessIdLike

      TaskQuery parentBusinessProcessIdLike(String... businessProcessIds)
      Add your parent business process id for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword. *
      Parameters:
      businessProcessIds - the classification name
      Returns:
      the query
    • parentBusinessProcessIdNotLike

      TaskQuery parentBusinessProcessIdNotLike(String... businessProcessIds)
      Exclude your parent business process id for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword. *
      Parameters:
      businessProcessIds - the classification name
      Returns:
      the query
    • orderByParentBusinessProcessId

      TaskQuery orderByParentBusinessProcessId(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the parent business process id.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • ownerIn

      TaskQuery ownerIn(String... owners)
      Add the owners to your query.
      Parameters:
      owners - the owners as String
      Returns:
      the query
    • ownerNotIn

      TaskQuery ownerNotIn(String... owners)
      Filter out owners.
      Parameters:
      owners - the owners as String
      Returns:
      the query
    • ownerLike

      TaskQuery ownerLike(String... owners)
      Add the owner for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern.

      If you specify multiple arguments they are combined with the OR keyword.

      Parameters:
      owners - the owners of the searched tasks
      Returns:
      the query
    • ownerNotLike

      TaskQuery ownerNotLike(String... owners)
      Exclude the owner for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern.

      If you specify multiple arguments they are combined with the OR keyword.

      Parameters:
      owners - the owners of the searched tasks
      Returns:
      the query
    • orderByOwner

      TaskQuery orderByOwner(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the owner.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • primaryObjectReferenceIn

      TaskQuery primaryObjectReferenceIn(ObjectReference... objectReferences)
      Add the ObjectReference to exact match to your query. Each individual value has to match. Fields with the value 'null' will be ignored. The id of each ObjectReference will be ignored

      If you specify multiple arguments they are combined with the OR keyword.

      Parameters:
      objectReferences - the combined values which are searched together.
      Returns:
      the query
    • primaryObjectReferenceCompanyIn

      TaskQuery primaryObjectReferenceCompanyIn(String... companies)
      Add the companies of the primary object reference for exact matching to your query.
      Parameters:
      companies - the companies of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceCompanyNotIn

      TaskQuery primaryObjectReferenceCompanyNotIn(String... companies)
      Exclude the companies of the primary object reference for exact matching from your query.
      Parameters:
      companies - the companies of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceCompanyLike

      TaskQuery primaryObjectReferenceCompanyLike(String... companies)
      Add the company of the primary object reference for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      companies - the companies of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceCompanyNotLike

      TaskQuery primaryObjectReferenceCompanyNotLike(String... companies)
      Exclude the company of the primary object reference for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      companies - the companies of your primary object reference
      Returns:
      the query
    • orderByPrimaryObjectReferenceCompany

      TaskQuery orderByPrimaryObjectReferenceCompany(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the company of the primary object reference.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • primaryObjectReferenceSystemIn

      TaskQuery primaryObjectReferenceSystemIn(String... systems)
      Add the systems of the primary object reference for exact matching to your query.
      Parameters:
      systems - the systems of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceSystemNotIn

      TaskQuery primaryObjectReferenceSystemNotIn(String... systems)
      Exclude the systems of the primary object reference for exact matching from your query.
      Parameters:
      systems - the systems of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceSystemLike

      TaskQuery primaryObjectReferenceSystemLike(String... systems)
      Add the system of the primary object reference for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      systems - the system of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceSystemNotLike

      TaskQuery primaryObjectReferenceSystemNotLike(String... systems)
      Exclude the system of the primary object reference for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      systems - the system of your primary object reference
      Returns:
      the query
    • orderByPrimaryObjectReferenceSystem

      TaskQuery orderByPrimaryObjectReferenceSystem(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the system of the primary object reference.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • primaryObjectReferenceSystemInstanceIn

      TaskQuery primaryObjectReferenceSystemInstanceIn(String... systemInstances)
      Add the system instances of the primary object reference for exact matching to your query.
      Parameters:
      systemInstances - the system instances of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceSystemInstanceNotIn

      TaskQuery primaryObjectReferenceSystemInstanceNotIn(String... systemInstances)
      Exclude the system instances of the primary object reference for exact matching from your query.
      Parameters:
      systemInstances - the system instances of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceSystemInstanceLike

      TaskQuery primaryObjectReferenceSystemInstanceLike(String... systemInstances)
      Add the system instance of the primary object reference for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      systemInstances - the system instances of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceSystemInstanceNotLike

      TaskQuery primaryObjectReferenceSystemInstanceNotLike(String... systemInstances)
      Exclude the system instance of the primary object reference for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      systemInstances - the system instances of your primary object reference
      Returns:
      the query
    • orderByPrimaryObjectReferenceSystemInstance

      TaskQuery orderByPrimaryObjectReferenceSystemInstance(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the system instance of the primary object reference.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • primaryObjectReferenceTypeIn

      TaskQuery primaryObjectReferenceTypeIn(String... types)
      Add the types of the primary object reference for exact matching to your query.
      Parameters:
      types - the types your primary object reference
      Returns:
      the query
    • primaryObjectReferenceTypeNotIn

      TaskQuery primaryObjectReferenceTypeNotIn(String... types)
      Exclude the types of the primary object reference for exact matching from your query.
      Parameters:
      types - the types your primary object reference
      Returns:
      the query
    • primaryObjectReferenceTypeLike

      TaskQuery primaryObjectReferenceTypeLike(String... types)
      Add the type of the primary object reference for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      types - the types of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceTypeNotLike

      TaskQuery primaryObjectReferenceTypeNotLike(String... types)
      Exclude the type of the primary object reference for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      types - the types of your primary object reference
      Returns:
      the query
    • orderByPrimaryObjectReferenceType

      TaskQuery orderByPrimaryObjectReferenceType(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the type of the primary object reference.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • primaryObjectReferenceValueIn

      TaskQuery primaryObjectReferenceValueIn(String... values)
      Add the values of the primary object reference for exact matching to your query.
      Parameters:
      values - the values of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceValueNotIn

      TaskQuery primaryObjectReferenceValueNotIn(String... values)
      Exclude the values of the primary object reference for exact matching from your query.
      Parameters:
      values - the values of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceValueLike

      TaskQuery primaryObjectReferenceValueLike(String... values)
      Add the value of the primary object reference for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      values - the values of your primary object reference
      Returns:
      the query
    • primaryObjectReferenceValueNotLike

      TaskQuery primaryObjectReferenceValueNotLike(String... values)
      Exclude the value of the primary object reference for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      values - the values of your primary object reference
      Returns:
      the query
    • orderByPrimaryObjectReferenceValue

      TaskQuery orderByPrimaryObjectReferenceValue(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the value of the primary object reference.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • groupByPor

      TaskQuery groupByPor()
      Group the Tasks that will be returned by this query according to the value of their primary ObjectReference. Only one Task will be returned for all Tasks with the same value.
      Returns:
      the query
    • groupBySor

      TaskQuery groupBySor(String type)
      Group the Tasks that will be returned by this query according to the value of their secondary ObjectReference with the specified type. Only one Task will be returned for all Tasks with the same value.
      Parameters:
      type - the type of the relevant secondary ObjectReference
      Returns:
      the query
    • readEquals

      TaskQuery readEquals(Boolean isRead)
      Add the isRead flag to the query.
      Parameters:
      isRead - as Boolean. If null, it won't be integrated into the statement. It will only be integrated into the statement if set to true or false
      Returns:
      the query
    • transferredEquals

      TaskQuery transferredEquals(Boolean isTransferred)
      Add the isTransferred flag to the query.
      Parameters:
      isTransferred - as Boolean. If null, it won't be integrated into the statement. It will only be integrated into the statement if set to true or false
      Returns:
      the query
    • attachmentClassificationIdIn

      TaskQuery attachmentClassificationIdIn(String... attachmentClassificationIds)
      Add the attachment classification Ids for exact matching to your query.
      Parameters:
      attachmentClassificationIds - the attachmentClassificationId values of the searched for tasks
      Returns:
      the query
    • attachmentClassificationIdNotIn

      TaskQuery attachmentClassificationIdNotIn(String... attachmentClassificationIds)
      Exclude the attachment classification Ids for exact matching from your query.
      Parameters:
      attachmentClassificationIds - the attachmentClassificationId values of the searched for tasks
      Returns:
      the query
    • orderByAttachmentClassificationId

      TaskQuery orderByAttachmentClassificationId(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the attachment classification id. (Should only be used if there is one attachment per task in other case the result would be wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • attachmentClassificationKeyIn

      TaskQuery attachmentClassificationKeyIn(String... attachmentClassificationKeys)
      Add the attachment classification keys for exact matching to your query.
      Parameters:
      attachmentClassificationKeys - the attachmentClassificationKeys values of the searched for tasks
      Returns:
      the query
    • attachmentClassificationKeyNotIn

      TaskQuery attachmentClassificationKeyNotIn(String... attachmentClassificationKeys)
      Exclude the attachment classification keys for exact matching from your query.
      Parameters:
      attachmentClassificationKeys - the attachmentClassificationKeys values of the searched for tasks
      Returns:
      the query
    • attachmentClassificationKeyLike

      TaskQuery attachmentClassificationKeyLike(String... attachmentClassificationKeys)
      Add the attachment classification Keys for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      attachmentClassificationKeys - the attachmentClassificationKey values of the searched for tasks
      Returns:
      the query
    • attachmentClassificationKeyNotLike

      TaskQuery attachmentClassificationKeyNotLike(String... attachmentClassificationKeys)
      Exclude the attachment classification Keys for pattern matching from your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      attachmentClassificationKeys - the attachmentClassificationKey values of the searched for tasks
      Returns:
      the query
    • orderByAttachmentClassificationKey

      TaskQuery orderByAttachmentClassificationKey(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the attachment classification key. (Should only be used if there is one attachment per task in other case the result would be wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • attachmentClassificationNameIn

      TaskQuery attachmentClassificationNameIn(String... attachmentClassificationNames)
      Add the attachment classification names for exact matching to your query.
      Parameters:
      attachmentClassificationNames - the attachmentClassificationName values of the searched for tasks
      Returns:
      the query
    • attachmentClassificationNameNotIn

      TaskQuery attachmentClassificationNameNotIn(String... attachmentClassificationNames)
      Exclude the attachment classification names for exact matching from your query.
      Parameters:
      attachmentClassificationNames - the attachmentClassificationName values of the searched for tasks
      Returns:
      the query
    • attachmentClassificationNameLike

      TaskQuery attachmentClassificationNameLike(String... attachmentClassificationNames)
      Add the values of attachment classification names for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      attachmentClassificationNames - the attachmentClassificationName values of the searched-for tasks
      Returns:
      the query
    • attachmentClassificationNameNotLike

      TaskQuery attachmentClassificationNameNotLike(String... attachmentClassificationNames)
      Exclude the values of attachment classification names for pattern matching from your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      attachmentClassificationNames - the attachmentClassificationName values of the searched-for tasks
      Returns:
      the query
    • orderByAttachmentClassificationName

      TaskQuery orderByAttachmentClassificationName(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the attachment classification name. (Should only be used if there is one attachment per task in other case the result would be wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • attachmentChannelIn

      TaskQuery attachmentChannelIn(String... attachmentChannels)
      Add the values of attachment channel for exact matching to your query.
      Parameters:
      attachmentChannels - the attachmentChannel values of the searched for tasks
      Returns:
      the query
    • attachmentChannelNotIn

      TaskQuery attachmentChannelNotIn(String... attachmentChannels)
      Exclude the values of attachment channel for exact matching from your query.
      Parameters:
      attachmentChannels - the attachmentChannel values of the searched for tasks
      Returns:
      the query
    • orderByOwnerLongName

      TaskQuery orderByOwnerLongName(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the owner's long name. (Should only be used if each Task has an owner. Otherwise, the result is wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • attachmentChannelLike

      TaskQuery attachmentChannelLike(String... attachmentChannels)
      Add the values of attachment channel for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      attachmentChannels - the attachmentChannel values of the searched-for tasks
      Returns:
      the query
    • attachmentChannelNotLike

      TaskQuery attachmentChannelNotLike(String... attachmentChannels)
      Exclude the values of attachment channel for pattern matching from your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      attachmentChannels - the attachmentChannel values of the searched-for tasks
      Returns:
      the query
    • orderByAttachmentChannel

      TaskQuery orderByAttachmentChannel(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the attachment channel. (Should only be used if there is one attachment per task in other case the result would be wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • attachmentReferenceValueIn

      TaskQuery attachmentReferenceValueIn(String... referenceValues)
      Add the values of reference values for exact matching to your query.
      Parameters:
      referenceValues - the referenceValue values of the searched for tasks
      Returns:
      the query
    • attachmentReferenceValueNotIn

      TaskQuery attachmentReferenceValueNotIn(String... referenceValues)
      Exclude the values of reference values for exact matching from your query.
      Parameters:
      referenceValues - the referenceValue values of the searched for tasks
      Returns:
      the query
    • attachmentReferenceValueLike

      TaskQuery attachmentReferenceValueLike(String... referenceValues)
      Add the values of reference values for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      referenceValues - the referenceValue values of the searched-for tasks
      Returns:
      the query
    • attachmentReferenceValueNotLike

      TaskQuery attachmentReferenceValueNotLike(String... referenceValues)
      Exclude the values of reference values for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      referenceValues - the referenceValue values of the searched-for tasks
      Returns:
      the query
    • orderByAttachmentReference

      TaskQuery orderByAttachmentReference(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the attachment reference value. (Should only be used if there is one attachment per task in other case the result would be wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • attachmentReceivedWithin

      TaskQuery attachmentReceivedWithin(TimeInterval... receivedWithin)
      Add your received-dates to your query.
      Parameters:
      receivedWithin - the TimeInterval within which the searched-for tasks attachment were received the last time.
      Returns:
      the query
    • attachmentNotReceivedWithin

      TaskQuery attachmentNotReceivedWithin(TimeInterval... receivedNotWithin)
      Exclude the received-dates from your query.
      Parameters:
      receivedNotWithin - the TimeInterval within which the searched-for tasks attachment weren't received the last time.
      Returns:
      the query
    • orderByAttachmentReceived

      TaskQuery orderByAttachmentReceived(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the attachment received. (Should only be used if there is one attachment per task in other case the result would be wrong.)
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • withoutAttachment

      TaskQuery withoutAttachment()
      This method adds the condition that only Tasks that don't have any Attachments will be included in the TaskQuery.
      Returns:
      the TaskQuery
    • secondaryObjectReferenceIn

      TaskQuery secondaryObjectReferenceIn(ObjectReference... objectReferences)
      Add the ObjectReference to exact match to your query. Each individual value has to match. Fields with the value 'null' will be ignored. The id of each ObjectReference will be ignored

      If you specify multiple arguments they are combined with the OR keyword.

      Parameters:
      objectReferences - the combined values which are searched together.
      Returns:
      the query
    • sorCompanyIn

      TaskQuery sorCompanyIn(String... companies)
      Add the values of the company of at least one of the secondaryObjectReferences for exact matching to your query.
      Parameters:
      companies - the company values of the searched for Tasks
      Returns:
      the TaskQuery
    • sorCompanyLike

      TaskQuery sorCompanyLike(String... companies)
      Add the values of company of at least one of the secondaryobjectReferences for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      companies - the company values of the searched-for Tasks
      Returns:
      the TaskQuery
    • sorSystemIn

      TaskQuery sorSystemIn(String... systems)
      Add the values of the system of at least one of the secondaryObjectReferences for exact matching to your query.
      Parameters:
      systems - the system values of the searched for Tasks
      Returns:
      the TaskQuery
    • sorSystemLike

      TaskQuery sorSystemLike(String... systems)
      Add the values of system of at least one of the secondaryobjectReferences for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      systems - the system values of the searched-for Tasks
      Returns:
      the TaskQuery
    • sorSystemInstanceIn

      TaskQuery sorSystemInstanceIn(String... systemInstances)
      Add the values of the systemInstance of at least one of the secondaryObjectReferences for exact matching to your query.
      Parameters:
      systemInstances - the systemInstance values of the searched for Tasks
      Returns:
      the TaskQuery
    • sorSystemInstanceLike

      TaskQuery sorSystemInstanceLike(String... systemInstances)
      Add the values of systemInstance of at least one of the secondaryobjectReferences for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      systemInstances - the systemInstance values of the searched-for Tasks
      Returns:
      the TaskQuery
    • sorTypeIn

      TaskQuery sorTypeIn(String... types)
      Add the values of the type of at least one of the secondaryObjectReferences for exact matching to your query.
      Parameters:
      types - the type values of the searched for Tasks
      Returns:
      the TaskQuery
    • sorTypeLike

      TaskQuery sorTypeLike(String... types)
      Add the values of type of at least one of the secondaryobjectReferences for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      types - the type values of the searched-for Tasks
      Returns:
      the TaskQuery
    • sorValueIn

      TaskQuery sorValueIn(String... values)
      Add the values of the value of at least one of the secondaryObjectReferences for exact matching to your query.
      Parameters:
      values - the value values of the searched for Tasks
      Returns:
      the TaskQuery
    • sorValueLike

      TaskQuery sorValueLike(String... values)
      Add the values of value of at least one of the secondaryobjectReferences for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      values - the value values of the searched-for Tasks
      Returns:
      the TaskQuery
    • customAttributeIn

      TaskQuery customAttributeIn(TaskCustomField customField, String... searchArguments) throws InvalidArgumentException
      Add the values of custom attributes for exact matching to your query.
      Parameters:
      customField - identifies which custom attribute is affected.
      searchArguments - the customField values of the searched for tasks
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments are not given
    • customAttributeNotIn

      TaskQuery customAttributeNotIn(TaskCustomField customField, String... searchArguments) throws InvalidArgumentException
      Exclude these values of custom attributes from your query.
      Parameters:
      customField - identifies which custom attribute is affected.
      searchArguments - the customField values of the searched for tasks
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments are not given
    • customAttributeLike

      TaskQuery customAttributeLike(TaskCustomField customField, String... searchArguments) throws InvalidArgumentException
      Add the values of custom attributes for pattern matching to your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      customField - identifies which custom attribute is affected.
      searchArguments - the customField values of the searched for tasks
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments is not given
    • customAttributeNotLike

      TaskQuery customAttributeNotLike(TaskCustomField customField, String... searchArguments) throws InvalidArgumentException
      Exclude the values of custom attributes for pattern matching from your query. They will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. If you specify multiple arguments they are combined with the OR keyword.
      Parameters:
      customField - identifies which custom attribute is affected.
      searchArguments - the customField values of the searched for tasks
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments is not given
    • orderByCustomAttribute

      TaskQuery orderByCustomAttribute(TaskCustomField customField, BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the value of a custom field.
      Parameters:
      customField - identifies which custom attribute is affected.
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • customIntAttributeIn

      TaskQuery customIntAttributeIn(TaskCustomIntField customField, Integer... searchArguments) throws InvalidArgumentException
      Add the values of the specified TaskCustomIntField for exact matching to your query.
      Parameters:
      customField - identifies which TaskCustomIntField is affected
      searchArguments - the corresponding values of the searched for Tasks
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments are not given
    • customIntAttributeNotIn

      TaskQuery customIntAttributeNotIn(TaskCustomIntField customIntField, Integer... searchArguments) throws InvalidArgumentException
      Exclude these values of the specified TaskCustomIntField from your query.
      Parameters:
      customIntField - identifies which TaskCustomIntField is affected
      searchArguments - the corresponding customIntField values of the searched for Tasks
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments are not given
    • customIntAttributeWithin

      TaskQuery customIntAttributeWithin(TaskCustomIntField customIntField, IntInterval... customIntAttributeWithin)
      Add the values of specified TaskCustomIntField for a range matching to your query. If the lower bound is NULL, then all values smaller than the upper bound will be accepted. If the upper bound is NULL, then all values greater than the lower bound will be accepted.
      Parameters:
      customIntField - identifies which TaskCustomIntField is affected
      customIntAttributeWithin - identify the IntIntervals that are used for filtering
      Returns:
      the query
    • customIntAttributeNotWithin

      TaskQuery customIntAttributeNotWithin(TaskCustomIntField customIntField, IntInterval... customIntAttributeNotWithin) throws InvalidArgumentException
      Exclude the values of specified TaskCustomIntField inside the given range from your query. If the lower bound is NULL, then all values smaller than the upper bound will be excluded. If the upper bound is NULL, then all values greater than the lower bound will be excluded.
      Parameters:
      customIntField - identifies which TaskCustomIntField is affected
      customIntAttributeNotWithin - identify the IntIntervals that are used for filtering
      Returns:
      the query
      Throws:
      InvalidArgumentException - if searchArguments are not given
    • orderByCustomIntAttribute

      TaskQuery orderByCustomIntAttribute(TaskCustomIntField customIntField, BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the value of the specified TaskCustomIntField.
      Parameters:
      customIntField - identifies which TaskCustomIntField is affected
      sortDirection - determines whether the result is sorted in ascending or descending order; if sortDirection is NULL, the result is sorted in ascending order
      Returns:
      the query
    • callbackStateIn

      TaskQuery callbackStateIn(CallbackState... states)
      Add your callbackState to your query.
      Parameters:
      states - the callback states as CallbackState
      Returns:
      the query
    • callbackStateNotIn

      TaskQuery callbackStateNotIn(CallbackState... states)
      Exclude the callbackState from your query.
      Parameters:
      states - the callback states as CallbackState
      Returns:
      the query
    • wildcardSearchValueLike

      TaskQuery wildcardSearchValueLike(String wildcardSearchValue)
      Add your wildcard search value for pattern matching to your query. It will be compared in SQL with the LIKE operator. You may use a wildcard like % to specify the pattern. Must be used in combination with the wildcardSearchFieldsIn parameter
      Parameters:
      wildcardSearchValue - the wildcard search value
      Returns:
      the query
    • wildcardSearchFieldsIn

      TaskQuery wildcardSearchFieldsIn(WildcardSearchField... wildcardSearchFields)
      Add the Task fields for which the wildcard search should be performed as an exact match to your query. Must be used in combination with the wildcardSearchValueLike parameter
      Parameters:
      wildcardSearchFields - the Task fields of your wildcard search
      Returns:
      the query
    • createObjectReferenceQuery

      ObjectReferenceQuery createObjectReferenceQuery()
      This method provides a query builder for quering the database.
      Returns:
      a ObjectReferenceQuery
    • orderByDomain

      TaskQuery orderByDomain(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the domain.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • orderByWorkbasketKey

      TaskQuery orderByWorkbasketKey(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the workbasket key.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • orderByWorkbasketName

      TaskQuery orderByWorkbasketName(BaseQuery.SortDirection sortDirection)
      This method sorts the query result according to the workbasket name of the tasks.
      Parameters:
      sortDirection - Determines whether the result is sorted in ascending or descending order. If sortDirection is null, the result is sorted in ascending order
      Returns:
      the query
    • lockResultsEquals

      TaskQuery lockResultsEquals(Integer lockResults)
      This method locks the returned rows until the end of the transaction using the FOR UPDATE lock. It cannot be used together with selectAndClaim.
      Parameters:
      lockResults - determines the number of returned and locked results; if zero, no results are locked, but the number of returned results is not limited
      Returns:
      the query