Package pro.taskana.task.internal
Class TaskQueryImpl
- java.lang.Object
-
- pro.taskana.task.internal.TaskQueryImpl
-
- All Implemented Interfaces:
BaseQuery<TaskSummary,TaskQueryColumnName>,TaskQuery
public class TaskQueryImpl extends Object implements TaskQuery
TaskQuery for generating dynamic sql.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface pro.taskana.common.api.BaseQuery
BaseQuery.SortDirection
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaskQueryattachmentChannelIn(String... attachmentChannels)Add the values of attachment channel for exact matching to your query.TaskQueryattachmentChannelLike(String... attachmentChannels)Add the values of attachment channel for pattern matching to your query.TaskQueryattachmentChannelNotIn(String... attachmentChannels)Exclude the values of attachment channel for exact matching from your query.TaskQueryattachmentChannelNotLike(String... attachmentChannels)Exclude the values of attachment channel for pattern matching from your query.TaskQueryattachmentClassificationIdIn(String... attachmentClassificationIds)Add the attachment classification Ids for exact matching to your query.TaskQueryattachmentClassificationIdNotIn(String... attachmentClassificationIds)Exclude the attachment classification Ids for exact matching from your query.TaskQueryattachmentClassificationKeyIn(String... attachmentClassificationKeys)Add the attachment classification keys for exact matching to your query.TaskQueryattachmentClassificationKeyLike(String... attachmentClassificationKeys)Add the attachment classification Keys for pattern matching to your query.TaskQueryattachmentClassificationKeyNotIn(String... attachmentClassificationKeys)Exclude the attachment classification keys for exact matching from your query.TaskQueryattachmentClassificationKeyNotLike(String... attachmentClassificationKeys)Exclude the attachment classification Keys for pattern matching from your query.TaskQueryattachmentClassificationNameIn(String... attachmentClassificationNames)Add the attachment classification names for exact matching to your query.TaskQueryattachmentClassificationNameLike(String... attachmentClassificationNames)Add the values of attachment classification names for pattern matching to your query.TaskQueryattachmentClassificationNameNotIn(String... attachmentClassificationNames)Exclude the attachment classification names for exact matching from your query.TaskQueryattachmentClassificationNameNotLike(String... attachmentClassificationNames)Exclude the values of attachment classification names for pattern matching from your query.TaskQueryattachmentNotReceivedWithin(TimeInterval... receivedNotIn)Exclude the received-dates from your query.TaskQueryattachmentReceivedWithin(TimeInterval... receivedIn)Add your received-dates to your query.TaskQueryattachmentReferenceValueIn(String... referenceValues)Add the values of reference values for exact matching to your query.TaskQueryattachmentReferenceValueLike(String... referenceValues)Add the values of reference values for pattern matching to your query.TaskQueryattachmentReferenceValueNotIn(String... referenceValues)Exclude the values of reference values for exact matching from your query.TaskQueryattachmentReferenceValueNotLike(String... referenceValues)Exclude the values of reference values for pattern matching to your query.TaskQuerybusinessProcessIdIn(String... businessProcessIds)Add the business process ids for exact matching to your query.TaskQuerybusinessProcessIdLike(String... businessProcessIds)Add your businessProcessId for pattern matching to your query.TaskQuerybusinessProcessIdNotIn(String... businessProcessIds)Exclude the business process ids for exact matching from your query.TaskQuerybusinessProcessIdNotLike(String... businessProcessIds)Exclude your businessProcessId for pattern matching to your query.TaskQuerycallbackStateIn(CallbackState... states)Add your callbackState to your query.TaskQuerycallbackStateNotIn(CallbackState... states)Exclude the callbackState from your query.TaskQueryclaimedNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task wasn't claimed from your query.TaskQueryclaimedWithin(TimeInterval... intervals)Add the time intervals within which the task was claimed to your query.TaskQueryclassificationCategoryIn(String... classificationCategories)Add your classificationCategory to your query.TaskQueryclassificationCategoryLike(String... classificationCategories)Add your classificationCategory for pattern matching to your query.TaskQueryclassificationCategoryNotIn(String... classificationCategories)Exclude the classificationCategory from your query.TaskQueryclassificationCategoryNotLike(String... classificationCategories)Exclude the classificationCategory for pattern matching from your query.TaskQueryclassificationIdIn(String... classificationIds)Add your classificationId to your query.TaskQueryclassificationIdNotIn(String... classificationIds)Exclude these classificationIds from your query.TaskQueryclassificationKeyIn(String... classificationKeys)Add your classificationKey to your query.TaskQueryclassificationKeyLike(String... classificationKeys)Add your classificationKey for pattern matching to your query.TaskQueryclassificationKeyNotIn(String... classificationKeys)Exclude these classificationKeys from your query.TaskQueryclassificationKeyNotLike(String... classificationKeys)Exclude the classificationKeys for pattern matching from your query.TaskQueryclassificationNameIn(String... classificationNames)Add your classificationName to your query.TaskQueryclassificationNameLike(String... classificationNames)Add your classificationName for pattern matching to your query.TaskQueryclassificationNameNotIn(String... classificationNames)Exclude the classificationName from your query.TaskQueryclassificationNameNotLike(String... classificationNames)Exclude the classificationName for pattern matching from your query.TaskQueryclassificationParentKeyIn(String... classificationParentKeys)Add these keys of the parent Classification to your query.TaskQueryclassificationParentKeyLike(String... classificationParentKeys)Add these keys of the parent Classification for pattern matching to your query.TaskQueryclassificationParentKeyNotIn(String... classificationParentKeys)Exclude these keys of the parent Classification from your query.TaskQueryclassificationParentKeyNotLike(String... classificationParentKeys)Exclude these keys of the parent Classification for pattern matching from your query.TaskQuerycompletedNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task wasn't completed from your query.TaskQuerycompletedWithin(TimeInterval... intervals)Add the time intervals within which the task was completed to your query.longcount()TaskQuerycreatedNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task wasn't created from your query.TaskQuerycreatedWithin(TimeInterval... intervals)Add the time intervals within which the task was created to your query.ObjectReferenceQuerycreateObjectReferenceQuery()This method provides a query builder for quering the database.TaskQuerycreatorIn(String... creators)Add the UserIds of the creator to your query.TaskQuerycreatorLike(String... creators)Add the UserIds of the creator for pattern matching to your query.TaskQuerycreatorNotIn(String... creators)Exclude the UserIds of the creator from your query.TaskQuerycreatorNotLike(String... creators)Exclude the UserIds of the creator for pattern matching from your query.TaskQuerycustomAttributeIn(TaskCustomField customField, String... strings)Add the values of custom attributes for exact matching to your query.TaskQuerycustomAttributeLike(TaskCustomField customField, String... strings)Add the values of custom attributes for pattern matching to your query.TaskQuerycustomAttributeNotIn(TaskCustomField customField, String... strings)Exclude these values of custom attributes from your query.TaskQuerycustomAttributeNotLike(TaskCustomField customField, String... strings)Exclude the values of custom attributes for pattern matching from your query.TaskQuerycustomIntAttributeIn(TaskCustomIntField customIntField, Integer... values)Add the values of the specified TaskCustomIntField for exact matching to your query.TaskQuerycustomIntAttributeNotIn(TaskCustomIntField customIntField, Integer... values)Exclude these values of the specified TaskCustomIntField from your query.TaskQuerycustomIntAttributeNotWithin(TaskCustomIntField customIntField, IntInterval... values)Exclude the values of specified TaskCustomIntField inside the given range from your query.TaskQuerycustomIntAttributeWithin(TaskCustomIntField customIntField, IntInterval... values)Add the values of specified TaskCustomIntField for a range matching to your query.TaskQuerydescriptionLike(String... descriptions)Add your description for pattern matching to your query.TaskQuerydescriptionNotLike(String... descriptions)Exclude your description for pattern matching from your query.TaskQuerydueNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task isn't due from your query.TaskQuerydueWithin(TimeInterval... intervals)Add the time intervals within which the task is due to your query.TaskQueryexternalIdIn(String... externalIds)Add your external ids to your query.TaskQueryexternalIdNotIn(String... externalIds)Exclude these external ids from your query.String[]getOwnerLongNameIn()String[]getOwnerLongNameLike()String[]getOwnerLongNameNotIn()String[]getOwnerLongNameNotLike()TaskQuerygroupByPor()Group the Tasks that will be returned by this query according to the value of their primary ObjectReference.TaskQuerygroupBySor(String type)Group the Tasks that will be returned by this query according to the value of their secondary ObjectReference with the specified type.TaskQueryidIn(String... taskIds)Filter for summaries which contain one of the given taskIds.TaskQueryidNotIn(String... taskIds)Exclude summaries which contain one of the given taskIds.List<TaskSummary>list()List<TaskSummary>list(int offset, int limit)List<String>listValues(TaskQueryColumnName columnName, BaseQuery.SortDirection sortDirection)TaskQuerymodifiedNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task wasn't modified from your query.TaskQuerymodifiedWithin(TimeInterval... intervals)Add the time intervals within which the task wasn't modified to your query.TaskQuerynameIn(String... names)Add your names to your query.TaskQuerynameLike(String... names)Add your name for pattern matching to your query.TaskQuerynameNotIn(String... names)Exclude these names from your query.TaskQuerynameNotLike(String... names)Exclude these names for pattern matching from your query.TaskQuerynoteLike(String... notes)Add your custom note for pattern matching to your query.TaskQuerynoteNotLike(String... notes)Exclude your custom note for pattern matching from your query.TaskQueryorderByAttachmentChannel(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the attachment channel.TaskQueryorderByAttachmentClassificationId(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the attachment classification id.TaskQueryorderByAttachmentClassificationKey(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the attachment classification key.TaskQueryorderByAttachmentClassificationName(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the attachment classification name.TaskQueryorderByAttachmentReceived(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the attachment received.TaskQueryorderByAttachmentReference(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the attachment reference value.TaskQueryorderByBusinessProcessId(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the business process id.TaskQueryorderByClaimed(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the claimed timestamp.TaskQueryorderByClassificationKey(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the classification key.TaskQueryorderByClassificationName(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the classification name.TaskQueryorderByCompleted(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the completed timestamp.TaskQueryorderByCreated(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the created timestamp.TaskQueryorderByCreator(BaseQuery.SortDirection sortDirection)This method sorts the query result according to creators name.TaskQueryorderByCustomAttribute(TaskCustomField customField, BaseQuery.SortDirection sortDirection)This method sorts the query result according to the value of a custom field.TaskQueryorderByCustomIntAttribute(TaskCustomIntField customIntField, BaseQuery.SortDirection sortDirection)This method sorts the query result according to the value of the specified TaskCustomIntField.TaskQueryorderByDomain(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the domain.TaskQueryorderByDue(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the due timestamp.TaskQueryorderByModified(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the modified timestamp.TaskQueryorderByName(BaseQuery.SortDirection sortDirection)This method sorts the query result according to name.TaskQueryorderByNote(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the note.TaskQueryorderByOwner(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the owner.TaskQueryorderByOwnerLongName(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the owner's long name.TaskQueryorderByParentBusinessProcessId(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the parent business process id.TaskQueryorderByPlanned(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the planned timestamp.TaskQueryorderByPrimaryObjectReferenceCompany(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the company of the primary object reference.TaskQueryorderByPrimaryObjectReferenceSystem(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the system of the primary object reference.TaskQueryorderByPrimaryObjectReferenceSystemInstance(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the system instance of the primary object reference.TaskQueryorderByPrimaryObjectReferenceType(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the type of the primary object reference.TaskQueryorderByPrimaryObjectReferenceValue(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the value of the primary object reference.TaskQueryorderByPriority(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the priority.TaskQueryorderByReceived(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the received timestamp.TaskQueryorderByState(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the state.TaskQueryorderByTaskId(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the primary task id.TaskQueryorderByWorkbasketId(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the workbasket-Id of the tasks.TaskQueryorderByWorkbasketKey(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the workbasket key.TaskQueryorderByWorkbasketName(BaseQuery.SortDirection sortDirection)This method sorts the query result according to the workbasket name of the tasks.TaskQueryownerIn(String... owners)Add the owners to your query.TaskQueryownerLike(String... owners)Add the owner for pattern matching to your query.TaskQueryownerLongNameIn(String... longNames)Adds the long names of the owners to your query.TaskQueryownerLongNameLike(String... longNames)Adds the long names of the owner for pattern matching to your query.TaskQueryownerLongNameNotIn(String... longNames)Adds the long names of the owners to your query, which should not be contained.TaskQueryownerLongNameNotLike(String... longNames)Adds the long names of the owner for pattern matching to your query, which should not be contained.TaskQueryownerNotIn(String... owners)Filter out owners.TaskQueryownerNotLike(String... owners)Exclude the owner for pattern matching from your query.TaskQueryparentBusinessProcessIdIn(String... parentBusinessProcessIds)Add the parent business process ids for exact matching to your query.TaskQueryparentBusinessProcessIdLike(String... businessProcessIds)Add your parent business process id for pattern matching to your query.TaskQueryparentBusinessProcessIdNotIn(String... parentBusinessProcessIds)Exclude the parent business process ids for exact matching from your query.TaskQueryparentBusinessProcessIdNotLike(String... businessProcessIds)Exclude your parent business process id for pattern matching to your query.TaskQueryplannedNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task isn't planned from your query.TaskQueryplannedWithin(TimeInterval... intervals)Add the time intervals within which the task is planned to your query.TaskQueryprimaryObjectReferenceCompanyIn(String... companies)Add the companies of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceCompanyLike(String... companies)Add the company of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceCompanyNotIn(String... companies)Exclude the companies of the primary object reference for exact matching from your query.TaskQueryprimaryObjectReferenceCompanyNotLike(String... companies)Exclude the company of the primary object reference for pattern matching from your query.TaskQueryprimaryObjectReferenceIn(ObjectReference... objectReferences)Add the ObjectReference to exact match to your query.TaskQueryprimaryObjectReferenceSystemIn(String... systems)Add the systems of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceSystemInstanceIn(String... systemInstances)Add the system instances of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceSystemInstanceLike(String... systemInstances)Add the system instance of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceSystemInstanceNotIn(String... systemInstances)Exclude the system instances of the primary object reference for exact matching from your query.TaskQueryprimaryObjectReferenceSystemInstanceNotLike(String... systemInstances)Exclude the system instance of the primary object reference for pattern matching from your query.TaskQueryprimaryObjectReferenceSystemLike(String... systems)Add the system of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceSystemNotIn(String... systems)Exclude the systems of the primary object reference for exact matching from your query.TaskQueryprimaryObjectReferenceSystemNotLike(String... systems)Exclude the system of the primary object reference for pattern matching from your query.TaskQueryprimaryObjectReferenceTypeIn(String... types)Add the types of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceTypeLike(String... types)Add the type of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceTypeNotIn(String... types)Exclude the types of the primary object reference for exact matching from your query.TaskQueryprimaryObjectReferenceTypeNotLike(String... types)Exclude the type of the primary object reference for pattern matching from your query.TaskQueryprimaryObjectReferenceValueIn(String... values)Add the values of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceValueLike(String... values)Add the value of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceValueNotIn(String... values)Exclude the values of the primary object reference for exact matching from your query.TaskQueryprimaryObjectReferenceValueNotLike(String... values)Exclude the value of the primary object reference for pattern matching from your query.TaskQuerypriorityIn(int... priorities)Add your priorities to your query.TaskQuerypriorityNotIn(int... priorities)Exclude the priorities from your query.TaskQuerypriorityNotWithin(IntInterval... priorities)Excludes the priorities in the provided range (inclusive) to your query (eg.TaskQuerypriorityWithin(IntInterval... priorities)Includes the priorities in the provided range (inclusive) to your query (eg.TaskQueryreadEquals(Boolean isRead)Add the isRead flag to the query.TaskQueryreceivedNotWithin(TimeInterval... intervals)Exclude the time intervals within which the task wasn't received from your query.TaskQueryreceivedWithin(TimeInterval... intervals)Add the time intervals within which the task is received to your query.TaskQuerysecondaryObjectReferenceIn(ObjectReference... objectReferences)Add theObjectReferenceto exact match to your query.TaskQueryselectAndClaimEquals(boolean selectAndClaim)TaskSummarysingle()TaskQuerysorCompanyIn(String... companies)Add the values of the company of at least one of the secondaryObjectReferences for exact matching to your query.TaskQuerysorCompanyLike(String... companies)Add the values of company of at least one of the secondaryobjectReferences for pattern matching to your query.TaskQuerysorSystemIn(String... systems)Add the values of the system of at least one of the secondaryObjectReferences for exact matching to your query.TaskQuerysorSystemInstanceIn(String... systemInstances)Add the values of the systemInstance of at least one of the secondaryObjectReferences for exact matching to your query.TaskQuerysorSystemInstanceLike(String... systemInstances)Add the values of systemInstance of at least one of the secondaryobjectReferences for pattern matching to your query.TaskQuerysorSystemLike(String... systems)Add the values of system of at least one of the secondaryobjectReferences for pattern matching to your query.TaskQuerysorTypeIn(String... types)Add the values of the type of at least one of the secondaryObjectReferences for exact matching to your query.TaskQuerysorTypeLike(String... types)Add the values of type of at least one of the secondaryobjectReferences for pattern matching to your query.TaskQuerysorValueIn(String... values)Add the values of the value of at least one of the secondaryObjectReferences for exact matching to your query.TaskQuerysorValueLike(String... values)Add the values of value of at least one of the secondaryobjectReferences for pattern matching to your query.TaskQuerystateIn(TaskState... states)Add your state to your query.TaskQuerystateNotIn(TaskState... states)Exclude these states from your query.StringtoString()TaskQuerytransferredEquals(Boolean isTransferred)Add the isTransferred flag to the query.TaskQuerywildcardSearchFieldsIn(WildcardSearchField... wildcardSearchFields)Add the Task fields for which the wildcard search should be performed as an exact match to your query.TaskQuerywildcardSearchValueLike(String wildcardSearchValue)Add your wildcard search value for pattern matching to your query.TaskQuerywithoutAttachment()This method adds the condition that only Tasks that don't have any Attachments will be included in the TaskQuery.TaskQueryworkbasketIdIn(String... workbasketIds)Add your workbasket id to the query.TaskQueryworkbasketIdNotIn(String... workbasketIds)Exclude the workbasket id from the query.TaskQueryworkbasketKeyDomainIn(KeyDomain... workbasketIdentifiers)Add your workbasket key to the query.TaskQueryworkbasketKeyDomainNotIn(KeyDomain... workbasketIdentifiers)Exclude the workbasket key from the query.
-
-
-
Method Detail
-
idIn
public TaskQuery idIn(String... taskIds)
Description copied from interface:TaskQueryFilter for summaries which contain one of the given taskIds.
-
idNotIn
public TaskQuery idNotIn(String... taskIds)
Description copied from interface:TaskQueryExclude summaries which contain one of the given taskIds.
-
orderByTaskId
public TaskQuery orderByTaskId(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the primary task id.- Specified by:
orderByTaskIdin interfaceTaskQuery- 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
public TaskQuery externalIdIn(String... externalIds)
Description copied from interface:TaskQueryAdd your external ids to your query.- Specified by:
externalIdInin interfaceTaskQuery- Parameters:
externalIds- the external ids as Strings- Returns:
- the query
-
externalIdNotIn
public TaskQuery externalIdNotIn(String... externalIds)
Description copied from interface:TaskQueryExclude these external ids from your query.- Specified by:
externalIdNotInin interfaceTaskQuery- Parameters:
externalIds- the external ids as Strings- Returns:
- the query
-
receivedWithin
public TaskQuery receivedWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.- Specified by:
receivedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task is received- Returns:
- the query
-
receivedNotWithin
public TaskQuery receivedNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
receivedNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task wasn't received- Returns:
- the query
-
orderByReceived
public TaskQuery orderByReceived(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the received timestamp.- Specified by:
orderByReceivedin interfaceTaskQuery- 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
public TaskQuery createdWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.- Specified by:
createdWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task was created- Returns:
- the query
-
createdNotWithin
public TaskQuery createdNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
createdNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task wasn't created- Returns:
- the query
-
orderByCreated
public TaskQuery orderByCreated(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the created timestamp.- Specified by:
orderByCreatedin interfaceTaskQuery- 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
public TaskQuery claimedWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.- Specified by:
claimedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task was claimed- Returns:
- the query
-
claimedNotWithin
public TaskQuery claimedNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
claimedNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task wasn't claimed- Returns:
- the query
-
orderByClaimed
public TaskQuery orderByClaimed(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the claimed timestamp.- Specified by:
orderByClaimedin interfaceTaskQuery- 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
public TaskQuery modifiedWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.- Specified by:
modifiedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task was modified- Returns:
- the query
-
modifiedNotWithin
public TaskQuery modifiedNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
modifiedNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task wasn't modified- Returns:
- the query
-
orderByModified
public TaskQuery orderByModified(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the modified timestamp.- Specified by:
orderByModifiedin interfaceTaskQuery- 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
public TaskQuery plannedWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.- Specified by:
plannedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task is planned- Returns:
- the query
-
plannedNotWithin
public TaskQuery plannedNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
plannedNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task isn't planned- Returns:
- the query
-
orderByPlanned
public TaskQuery orderByPlanned(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the planned timestamp.- Specified by:
orderByPlannedin interfaceTaskQuery- 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
public TaskQuery dueWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.
-
dueNotWithin
public TaskQuery dueNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
dueNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task isn't due- Returns:
- the query
-
orderByDue
public TaskQuery orderByDue(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the due timestamp.- Specified by:
orderByDuein interfaceTaskQuery- 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
public TaskQuery completedWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd 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.- Specified by:
completedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task was completed- Returns:
- the query
-
completedNotWithin
public TaskQuery completedNotWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryExclude 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.- Specified by:
completedNotWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task wasn't completed- Returns:
- the query
-
orderByCompleted
public TaskQuery orderByCompleted(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the completed timestamp.- Specified by:
orderByCompletedin interfaceTaskQuery- 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
public TaskQuery nameIn(String... names)
Description copied from interface:TaskQueryAdd your names to your query.
-
nameNotIn
public TaskQuery nameNotIn(String... names)
Description copied from interface:TaskQueryExclude these names from your query.
-
nameLike
public TaskQuery nameLike(String... names)
Description copied from interface:TaskQueryAdd 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.
-
nameNotLike
public TaskQuery nameNotLike(String... names)
Description copied from interface:TaskQueryExclude 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.- Specified by:
nameNotLikein interfaceTaskQuery- Parameters:
names- your names- Returns:
- the query
-
orderByName
public TaskQuery orderByName(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to name.- Specified by:
orderByNamein interfaceTaskQuery- 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
public TaskQuery creatorIn(String... creators)
Description copied from interface:TaskQueryAdd the UserIds of the creator to your query.
-
creatorNotIn
public TaskQuery creatorNotIn(String... creators)
Description copied from interface:TaskQueryExclude the UserIds of the creator from your query.- Specified by:
creatorNotInin interfaceTaskQuery- Parameters:
creators- of the queried tasks- Returns:
- the query
-
creatorLike
public TaskQuery creatorLike(String... creators)
Description copied from interface:TaskQueryAdd 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.- Specified by:
creatorLikein interfaceTaskQuery- Parameters:
creators- of the queried tasks- Returns:
- the query
-
creatorNotLike
public TaskQuery creatorNotLike(String... creators)
Description copied from interface:TaskQueryExclude 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.- Specified by:
creatorNotLikein interfaceTaskQuery- Parameters:
creators- of the queried tasks- Returns:
- the query
-
orderByCreator
public TaskQuery orderByCreator(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to creators name.- Specified by:
orderByCreatorin interfaceTaskQuery- 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
public TaskQuery noteLike(String... notes)
Description copied from interface:TaskQueryAdd 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.
-
noteNotLike
public TaskQuery noteNotLike(String... notes)
Description copied from interface:TaskQueryExclude 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.- Specified by:
noteNotLikein interfaceTaskQuery- Parameters:
notes- your custom notes- Returns:
- the query
-
orderByNote
public TaskQuery orderByNote(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the note.- Specified by:
orderByNotein interfaceTaskQuery- 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
public TaskQuery descriptionLike(String... descriptions)
Description copied from interface:TaskQueryAdd 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.- Specified by:
descriptionLikein interfaceTaskQuery- Parameters:
descriptions- your descriptions- Returns:
- the query
-
descriptionNotLike
public TaskQuery descriptionNotLike(String... descriptions)
Description copied from interface:TaskQueryExclude 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.- Specified by:
descriptionNotLikein interfaceTaskQuery- Parameters:
descriptions- your descriptions- Returns:
- the query
-
priorityIn
public TaskQuery priorityIn(int... priorities)
Description copied from interface:TaskQueryAdd your priorities to your query.- Specified by:
priorityInin interfaceTaskQuery- Parameters:
priorities- as a integer- Returns:
- the query
-
priorityNotIn
public TaskQuery priorityNotIn(int... priorities)
Description copied from interface:TaskQueryExclude the priorities from your query.- Specified by:
priorityNotInin interfaceTaskQuery- Parameters:
priorities- as a integer- Returns:
- the query
-
priorityWithin
public TaskQuery priorityWithin(IntInterval... priorities)
Description copied from interface:TaskQueryIncludes the priorities in the provided range (inclusive) to your query (eg. priorities = [1,3] includes 1,2,3).- Specified by:
priorityWithinin interfaceTaskQuery- Parameters:
priorities- as an integer intervals- Returns:
- the query
-
priorityNotWithin
public TaskQuery priorityNotWithin(IntInterval... priorities)
Description copied from interface:TaskQueryExcludes the priorities in the provided range (inclusive) to your query (eg. priorities = [1,3] excludes 1,2,3).- Specified by:
priorityNotWithinin interfaceTaskQuery- Parameters:
priorities- as an integer intervals- Returns:
- the query
-
orderByPriority
public TaskQuery orderByPriority(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the priority.- Specified by:
orderByPriorityin interfaceTaskQuery- 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
public TaskQuery stateIn(TaskState... states)
Description copied from interface:TaskQueryAdd your state to your query.
-
stateNotIn
public TaskQuery stateNotIn(TaskState... states)
Description copied from interface:TaskQueryExclude these states from your query.- Specified by:
stateNotInin interfaceTaskQuery- Parameters:
states- the states as TaskState- Returns:
- the query
-
orderByState
public TaskQuery orderByState(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the state.- Specified by:
orderByStatein interfaceTaskQuery- 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
-
classificationIdIn
public TaskQuery classificationIdIn(String... classificationIds)
Description copied from interface:TaskQueryAdd your classificationId to your query.- Specified by:
classificationIdInin interfaceTaskQuery- Parameters:
classificationIds- the classification Ids- Returns:
- the query
-
classificationIdNotIn
public TaskQuery classificationIdNotIn(String... classificationIds)
Description copied from interface:TaskQueryExclude these classificationIds from your query.- Specified by:
classificationIdNotInin interfaceTaskQuery- Parameters:
classificationIds- the classification Ids- Returns:
- the query
-
classificationKeyIn
public TaskQuery classificationKeyIn(String... classificationKeys)
Description copied from interface:TaskQueryAdd your classificationKey to your query.- Specified by:
classificationKeyInin interfaceTaskQuery- Parameters:
classificationKeys- the classification key- Returns:
- the query
-
classificationKeyNotIn
public TaskQuery classificationKeyNotIn(String... classificationKeys)
Description copied from interface:TaskQueryExclude these classificationKeys from your query.- Specified by:
classificationKeyNotInin interfaceTaskQuery- Parameters:
classificationKeys- the classification key- Returns:
- the query
-
classificationKeyLike
public TaskQuery classificationKeyLike(String... classificationKeys)
Description copied from interface:TaskQueryAdd 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.- Specified by:
classificationKeyLikein interfaceTaskQuery- Parameters:
classificationKeys- the classification key- Returns:
- the query
-
classificationKeyNotLike
public TaskQuery classificationKeyNotLike(String... classificationKeys)
Description copied from interface:TaskQueryExclude 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.- Specified by:
classificationKeyNotLikein interfaceTaskQuery- Parameters:
classificationKeys- the classification key- Returns:
- the query
-
orderByClassificationKey
public TaskQuery orderByClassificationKey(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the classification key.- Specified by:
orderByClassificationKeyin interfaceTaskQuery- 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
public TaskQuery classificationParentKeyIn(String... classificationParentKeys)
Description copied from interface:TaskQueryAdd these keys of the parent Classification to your query.- Specified by:
classificationParentKeyInin interfaceTaskQuery- Parameters:
classificationParentKeys- the classification parent keys- Returns:
- the query
-
classificationParentKeyNotIn
public TaskQuery classificationParentKeyNotIn(String... classificationParentKeys)
Description copied from interface:TaskQueryExclude these keys of the parent Classification from your query.- Specified by:
classificationParentKeyNotInin interfaceTaskQuery- Parameters:
classificationParentKeys- the keys of the parent Classifications- Returns:
- the query
-
classificationParentKeyLike
public TaskQuery classificationParentKeyLike(String... classificationParentKeys)
Description copied from interface:TaskQueryAdd 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.- Specified by:
classificationParentKeyLikein interfaceTaskQuery- Parameters:
classificationParentKeys- the keys of the parent Classification- Returns:
- the query
-
classificationParentKeyNotLike
public TaskQuery classificationParentKeyNotLike(String... classificationParentKeys)
Description copied from interface:TaskQueryExclude 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.- Specified by:
classificationParentKeyNotLikein interfaceTaskQuery- Parameters:
classificationParentKeys- the keys of the parent Classification- Returns:
- the query
-
classificationCategoryIn
public TaskQuery classificationCategoryIn(String... classificationCategories)
Description copied from interface:TaskQueryAdd your classificationCategory to your query.- Specified by:
classificationCategoryInin interfaceTaskQuery- Parameters:
classificationCategories- the classification category for filtering- Returns:
- the query
-
classificationCategoryNotIn
public TaskQuery classificationCategoryNotIn(String... classificationCategories)
Description copied from interface:TaskQueryExclude the classificationCategory from your query.- Specified by:
classificationCategoryNotInin interfaceTaskQuery- Parameters:
classificationCategories- the classification category for filtering- Returns:
- the query
-
classificationCategoryLike
public TaskQuery classificationCategoryLike(String... classificationCategories)
Description copied from interface:TaskQueryAdd 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.- Specified by:
classificationCategoryLikein interfaceTaskQuery- Parameters:
classificationCategories- the classification categories for filtering- Returns:
- the query
-
classificationCategoryNotLike
public TaskQuery classificationCategoryNotLike(String... classificationCategories)
Description copied from interface:TaskQueryExclude 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.- Specified by:
classificationCategoryNotLikein interfaceTaskQuery- Parameters:
classificationCategories- the classification categories for filtering- Returns:
- the query
-
classificationNameIn
public TaskQuery classificationNameIn(String... classificationNames)
Description copied from interface:TaskQueryAdd your classificationName to your query.- Specified by:
classificationNameInin interfaceTaskQuery- Parameters:
classificationNames- the classification name- Returns:
- the query
-
classificationNameNotIn
public TaskQuery classificationNameNotIn(String... classificationNames)
Description copied from interface:TaskQueryExclude the classificationName from your query.- Specified by:
classificationNameNotInin interfaceTaskQuery- Parameters:
classificationNames- the classification name- Returns:
- the query
-
classificationNameLike
public TaskQuery classificationNameLike(String... classificationNames)
Description copied from interface:TaskQueryAdd 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. *- Specified by:
classificationNameLikein interfaceTaskQuery- Parameters:
classificationNames- the classification name- Returns:
- the query
-
classificationNameNotLike
public TaskQuery classificationNameNotLike(String... classificationNames)
Description copied from interface:TaskQueryExclude 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. *- Specified by:
classificationNameNotLikein interfaceTaskQuery- Parameters:
classificationNames- the classification name- Returns:
- the query
-
orderByClassificationName
public TaskQuery orderByClassificationName(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the classification name.- Specified by:
orderByClassificationNamein interfaceTaskQuery- 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
public TaskQuery workbasketIdIn(String... workbasketIds)
Description copied from interface:TaskQueryAdd your workbasket id to the query.- Specified by:
workbasketIdInin interfaceTaskQuery- Parameters:
workbasketIds- the ids of workbaskets- Returns:
- the query
-
workbasketIdNotIn
public TaskQuery workbasketIdNotIn(String... workbasketIds)
Description copied from interface:TaskQueryExclude the workbasket id from the query.- Specified by:
workbasketIdNotInin interfaceTaskQuery- Parameters:
workbasketIds- the ids of workbaskets- Returns:
- the query
-
orderByWorkbasketId
public TaskQuery orderByWorkbasketId(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the workbasket-Id of the tasks.- Specified by:
orderByWorkbasketIdin interfaceTaskQuery- 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
public TaskQuery workbasketKeyDomainIn(KeyDomain... workbasketIdentifiers)
Description copied from interface:TaskQueryAdd your workbasket key to the query.- Specified by:
workbasketKeyDomainInin interfaceTaskQuery- Parameters:
workbasketIdentifiers- the key - domain combinations that identify workbaskets- Returns:
- the query
-
workbasketKeyDomainNotIn
public TaskQuery workbasketKeyDomainNotIn(KeyDomain... workbasketIdentifiers)
Description copied from interface:TaskQueryExclude the workbasket key from the query.- Specified by:
workbasketKeyDomainNotInin interfaceTaskQuery- Parameters:
workbasketIdentifiers- the key - domain combinations that identify workbaskets- Returns:
- the query
-
businessProcessIdIn
public TaskQuery businessProcessIdIn(String... businessProcessIds)
Description copied from interface:TaskQueryAdd the business process ids for exact matching to your query.- Specified by:
businessProcessIdInin interfaceTaskQuery- Parameters:
businessProcessIds- the businessProcessIds of the searched for tasks- Returns:
- the query
-
businessProcessIdNotIn
public TaskQuery businessProcessIdNotIn(String... businessProcessIds)
Description copied from interface:TaskQueryExclude the business process ids for exact matching from your query.- Specified by:
businessProcessIdNotInin interfaceTaskQuery- Parameters:
businessProcessIds- the businessProcessIds of the searched for tasks- Returns:
- the query
-
businessProcessIdLike
public TaskQuery businessProcessIdLike(String... businessProcessIds)
Description copied from interface:TaskQueryAdd 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. *- Specified by:
businessProcessIdLikein interfaceTaskQuery- Parameters:
businessProcessIds- the classification name- Returns:
- the query
-
businessProcessIdNotLike
public TaskQuery businessProcessIdNotLike(String... businessProcessIds)
Description copied from interface:TaskQueryExclude 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. *- Specified by:
businessProcessIdNotLikein interfaceTaskQuery- Parameters:
businessProcessIds- the classification name- Returns:
- the query
-
orderByBusinessProcessId
public TaskQuery orderByBusinessProcessId(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the business process id.- Specified by:
orderByBusinessProcessIdin interfaceTaskQuery- 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
public TaskQuery parentBusinessProcessIdIn(String... parentBusinessProcessIds)
Description copied from interface:TaskQueryAdd the parent business process ids for exact matching to your query.- Specified by:
parentBusinessProcessIdInin interfaceTaskQuery- Parameters:
parentBusinessProcessIds- the parent businessProcessIds of the searched for tasks- Returns:
- the query
-
parentBusinessProcessIdNotIn
public TaskQuery parentBusinessProcessIdNotIn(String... parentBusinessProcessIds)
Description copied from interface:TaskQueryExclude the parent business process ids for exact matching from your query.- Specified by:
parentBusinessProcessIdNotInin interfaceTaskQuery- Parameters:
parentBusinessProcessIds- the parent businessProcessIds of the searched for tasks- Returns:
- the query
-
parentBusinessProcessIdLike
public TaskQuery parentBusinessProcessIdLike(String... businessProcessIds)
Description copied from interface:TaskQueryAdd 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. *- Specified by:
parentBusinessProcessIdLikein interfaceTaskQuery- Parameters:
businessProcessIds- the classification name- Returns:
- the query
-
parentBusinessProcessIdNotLike
public TaskQuery parentBusinessProcessIdNotLike(String... businessProcessIds)
Description copied from interface:TaskQueryExclude 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. *- Specified by:
parentBusinessProcessIdNotLikein interfaceTaskQuery- Parameters:
businessProcessIds- the classification name- Returns:
- the query
-
orderByParentBusinessProcessId
public TaskQuery orderByParentBusinessProcessId(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the parent business process id.- Specified by:
orderByParentBusinessProcessIdin interfaceTaskQuery- 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
public TaskQuery ownerIn(String... owners)
Description copied from interface:TaskQueryAdd the owners to your query.
-
ownerNotIn
public TaskQuery ownerNotIn(String... owners)
Description copied from interface:TaskQueryFilter out owners.- Specified by:
ownerNotInin interfaceTaskQuery- Parameters:
owners- the owners as String- Returns:
- the query
-
ownerLike
public TaskQuery ownerLike(String... owners)
Description copied from interface:TaskQueryAdd 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.
-
ownerNotLike
public TaskQuery ownerNotLike(String... owners)
Description copied from interface:TaskQueryExclude 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.
- Specified by:
ownerNotLikein interfaceTaskQuery- Parameters:
owners- the owners of the searched tasks- Returns:
- the query
-
orderByOwner
public TaskQuery orderByOwner(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the owner.- Specified by:
orderByOwnerin interfaceTaskQuery- 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
-
ownerLongNameIn
public TaskQuery ownerLongNameIn(String... longNames)
Description copied from interface:TaskQueryAdds the long names of the owners to your query.- Specified by:
ownerLongNameInin interfaceTaskQuery- Parameters:
longNames- the long names as String- Returns:
- the query
-
ownerLongNameNotIn
public TaskQuery ownerLongNameNotIn(String... longNames)
Description copied from interface:TaskQueryAdds the long names of the owners to your query, which should not be contained.- Specified by:
ownerLongNameNotInin interfaceTaskQuery- Parameters:
longNames- the long names as String- Returns:
- the query
-
ownerLongNameLike
public TaskQuery ownerLongNameLike(String... longNames)
Description copied from interface:TaskQueryAdds 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.
- Specified by:
ownerLongNameLikein interfaceTaskQuery- Parameters:
longNames- the owners of the searched tasks- Returns:
- the query
-
ownerLongNameNotLike
public TaskQuery ownerLongNameNotLike(String... longNames)
Description copied from interface:TaskQueryAdds 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.
- Specified by:
ownerLongNameNotLikein interfaceTaskQuery- Parameters:
longNames- the owners of the searched tasks- Returns:
- the query
-
primaryObjectReferenceIn
public TaskQuery primaryObjectReferenceIn(ObjectReference... objectReferences)
Description copied from interface:TaskQueryAdd 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 ignoredIf you specify multiple arguments they are combined with the OR keyword.
- Specified by:
primaryObjectReferenceInin interfaceTaskQuery- Parameters:
objectReferences- the combined values which are searched together.- Returns:
- the query
-
primaryObjectReferenceCompanyIn
public TaskQuery primaryObjectReferenceCompanyIn(String... companies)
Description copied from interface:TaskQueryAdd the companies of the primary object reference for exact matching to your query.- Specified by:
primaryObjectReferenceCompanyInin interfaceTaskQuery- Parameters:
companies- the companies of your primary object reference- Returns:
- the query
-
primaryObjectReferenceCompanyNotIn
public TaskQuery primaryObjectReferenceCompanyNotIn(String... companies)
Description copied from interface:TaskQueryExclude the companies of the primary object reference for exact matching from your query.- Specified by:
primaryObjectReferenceCompanyNotInin interfaceTaskQuery- Parameters:
companies- the companies of your primary object reference- Returns:
- the query
-
primaryObjectReferenceCompanyLike
public TaskQuery primaryObjectReferenceCompanyLike(String... companies)
Description copied from interface:TaskQueryAdd 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.- Specified by:
primaryObjectReferenceCompanyLikein interfaceTaskQuery- Parameters:
companies- the companies of your primary object reference- Returns:
- the query
-
primaryObjectReferenceCompanyNotLike
public TaskQuery primaryObjectReferenceCompanyNotLike(String... companies)
Description copied from interface:TaskQueryExclude 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.- Specified by:
primaryObjectReferenceCompanyNotLikein interfaceTaskQuery- Parameters:
companies- the companies of your primary object reference- Returns:
- the query
-
orderByPrimaryObjectReferenceCompany
public TaskQuery orderByPrimaryObjectReferenceCompany(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the company of the primary object reference.- Specified by:
orderByPrimaryObjectReferenceCompanyin interfaceTaskQuery- 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
public TaskQuery primaryObjectReferenceSystemIn(String... systems)
Description copied from interface:TaskQueryAdd the systems of the primary object reference for exact matching to your query.- Specified by:
primaryObjectReferenceSystemInin interfaceTaskQuery- Parameters:
systems- the systems of your primary object reference- Returns:
- the query
-
primaryObjectReferenceSystemNotIn
public TaskQuery primaryObjectReferenceSystemNotIn(String... systems)
Description copied from interface:TaskQueryExclude the systems of the primary object reference for exact matching from your query.- Specified by:
primaryObjectReferenceSystemNotInin interfaceTaskQuery- Parameters:
systems- the systems of your primary object reference- Returns:
- the query
-
primaryObjectReferenceSystemLike
public TaskQuery primaryObjectReferenceSystemLike(String... systems)
Description copied from interface:TaskQueryAdd 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.- Specified by:
primaryObjectReferenceSystemLikein interfaceTaskQuery- Parameters:
systems- the system of your primary object reference- Returns:
- the query
-
primaryObjectReferenceSystemNotLike
public TaskQuery primaryObjectReferenceSystemNotLike(String... systems)
Description copied from interface:TaskQueryExclude 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.- Specified by:
primaryObjectReferenceSystemNotLikein interfaceTaskQuery- Parameters:
systems- the system of your primary object reference- Returns:
- the query
-
orderByPrimaryObjectReferenceSystem
public TaskQuery orderByPrimaryObjectReferenceSystem(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the system of the primary object reference.- Specified by:
orderByPrimaryObjectReferenceSystemin interfaceTaskQuery- 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
public TaskQuery primaryObjectReferenceSystemInstanceIn(String... systemInstances)
Description copied from interface:TaskQueryAdd the system instances of the primary object reference for exact matching to your query.- Specified by:
primaryObjectReferenceSystemInstanceInin interfaceTaskQuery- Parameters:
systemInstances- the system instances of your primary object reference- Returns:
- the query
-
primaryObjectReferenceSystemInstanceNotIn
public TaskQuery primaryObjectReferenceSystemInstanceNotIn(String... systemInstances)
Description copied from interface:TaskQueryExclude the system instances of the primary object reference for exact matching from your query.- Specified by:
primaryObjectReferenceSystemInstanceNotInin interfaceTaskQuery- Parameters:
systemInstances- the system instances of your primary object reference- Returns:
- the query
-
primaryObjectReferenceSystemInstanceLike
public TaskQuery primaryObjectReferenceSystemInstanceLike(String... systemInstances)
Description copied from interface:TaskQueryAdd 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.- Specified by:
primaryObjectReferenceSystemInstanceLikein interfaceTaskQuery- Parameters:
systemInstances- the system instances of your primary object reference- Returns:
- the query
-
primaryObjectReferenceSystemInstanceNotLike
public TaskQuery primaryObjectReferenceSystemInstanceNotLike(String... systemInstances)
Description copied from interface:TaskQueryExclude 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.- Specified by:
primaryObjectReferenceSystemInstanceNotLikein interfaceTaskQuery- Parameters:
systemInstances- the system instances of your primary object reference- Returns:
- the query
-
orderByPrimaryObjectReferenceSystemInstance
public TaskQuery orderByPrimaryObjectReferenceSystemInstance(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the system instance of the primary object reference.- Specified by:
orderByPrimaryObjectReferenceSystemInstancein interfaceTaskQuery- 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
public TaskQuery primaryObjectReferenceTypeIn(String... types)
Description copied from interface:TaskQueryAdd the types of the primary object reference for exact matching to your query.- Specified by:
primaryObjectReferenceTypeInin interfaceTaskQuery- Parameters:
types- the types your primary object reference- Returns:
- the query
-
primaryObjectReferenceTypeNotIn
public TaskQuery primaryObjectReferenceTypeNotIn(String... types)
Description copied from interface:TaskQueryExclude the types of the primary object reference for exact matching from your query.- Specified by:
primaryObjectReferenceTypeNotInin interfaceTaskQuery- Parameters:
types- the types your primary object reference- Returns:
- the query
-
primaryObjectReferenceTypeLike
public TaskQuery primaryObjectReferenceTypeLike(String... types)
Description copied from interface:TaskQueryAdd 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.- Specified by:
primaryObjectReferenceTypeLikein interfaceTaskQuery- Parameters:
types- the types of your primary object reference- Returns:
- the query
-
primaryObjectReferenceTypeNotLike
public TaskQuery primaryObjectReferenceTypeNotLike(String... types)
Description copied from interface:TaskQueryExclude 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.- Specified by:
primaryObjectReferenceTypeNotLikein interfaceTaskQuery- Parameters:
types- the types of your primary object reference- Returns:
- the query
-
orderByPrimaryObjectReferenceType
public TaskQuery orderByPrimaryObjectReferenceType(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the type of the primary object reference.- Specified by:
orderByPrimaryObjectReferenceTypein interfaceTaskQuery- 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
public TaskQuery primaryObjectReferenceValueIn(String... values)
Description copied from interface:TaskQueryAdd the values of the primary object reference for exact matching to your query.- Specified by:
primaryObjectReferenceValueInin interfaceTaskQuery- Parameters:
values- the values of your primary object reference- Returns:
- the query
-
primaryObjectReferenceValueNotIn
public TaskQuery primaryObjectReferenceValueNotIn(String... values)
Description copied from interface:TaskQueryExclude the values of the primary object reference for exact matching from your query.- Specified by:
primaryObjectReferenceValueNotInin interfaceTaskQuery- Parameters:
values- the values of your primary object reference- Returns:
- the query
-
primaryObjectReferenceValueLike
public TaskQuery primaryObjectReferenceValueLike(String... values)
Description copied from interface:TaskQueryAdd 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.- Specified by:
primaryObjectReferenceValueLikein interfaceTaskQuery- Parameters:
values- the values of your primary object reference- Returns:
- the query
-
primaryObjectReferenceValueNotLike
public TaskQuery primaryObjectReferenceValueNotLike(String... values)
Description copied from interface:TaskQueryExclude 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.- Specified by:
primaryObjectReferenceValueNotLikein interfaceTaskQuery- Parameters:
values- the values of your primary object reference- Returns:
- the query
-
orderByPrimaryObjectReferenceValue
public TaskQuery orderByPrimaryObjectReferenceValue(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the value of the primary object reference.- Specified by:
orderByPrimaryObjectReferenceValuein interfaceTaskQuery- 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
public TaskQuery groupByPor()
Description copied from interface:TaskQueryGroup 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.- Specified by:
groupByPorin interfaceTaskQuery- Returns:
- the query
-
groupBySor
public TaskQuery groupBySor(String type)
Description copied from interface:TaskQueryGroup 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.- Specified by:
groupBySorin interfaceTaskQuery- Parameters:
type- the type of the relevant secondary ObjectReference- Returns:
- the query
-
readEquals
public TaskQuery readEquals(Boolean isRead)
Description copied from interface:TaskQueryAdd the isRead flag to the query.- Specified by:
readEqualsin interfaceTaskQuery- Parameters:
isRead- as Boolean. If null, it won't be integrated into the statement. You have to set false.- Returns:
- the query
-
transferredEquals
public TaskQuery transferredEquals(Boolean isTransferred)
Description copied from interface:TaskQueryAdd the isTransferred flag to the query.- Specified by:
transferredEqualsin interfaceTaskQuery- Parameters:
isTransferred- as Boolean. If null, it won't be integrated into the statement. You have to set false.- Returns:
- the query
-
attachmentClassificationIdIn
public TaskQuery attachmentClassificationIdIn(String... attachmentClassificationIds)
Description copied from interface:TaskQueryAdd the attachment classification Ids for exact matching to your query.- Specified by:
attachmentClassificationIdInin interfaceTaskQuery- Parameters:
attachmentClassificationIds- the attachmentClassificationId values of the searched for tasks- Returns:
- the query
-
attachmentClassificationIdNotIn
public TaskQuery attachmentClassificationIdNotIn(String... attachmentClassificationIds)
Description copied from interface:TaskQueryExclude the attachment classification Ids for exact matching from your query.- Specified by:
attachmentClassificationIdNotInin interfaceTaskQuery- Parameters:
attachmentClassificationIds- the attachmentClassificationId values of the searched for tasks- Returns:
- the query
-
orderByAttachmentClassificationId
public TaskQuery orderByAttachmentClassificationId(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByAttachmentClassificationIdin interfaceTaskQuery- 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
public TaskQuery attachmentClassificationKeyIn(String... attachmentClassificationKeys)
Description copied from interface:TaskQueryAdd the attachment classification keys for exact matching to your query.- Specified by:
attachmentClassificationKeyInin interfaceTaskQuery- Parameters:
attachmentClassificationKeys- the attachmentClassificationKeys values of the searched for tasks- Returns:
- the query
-
attachmentClassificationKeyNotIn
public TaskQuery attachmentClassificationKeyNotIn(String... attachmentClassificationKeys)
Description copied from interface:TaskQueryExclude the attachment classification keys for exact matching from your query.- Specified by:
attachmentClassificationKeyNotInin interfaceTaskQuery- Parameters:
attachmentClassificationKeys- the attachmentClassificationKeys values of the searched for tasks- Returns:
- the query
-
attachmentClassificationKeyLike
public TaskQuery attachmentClassificationKeyLike(String... attachmentClassificationKeys)
Description copied from interface:TaskQueryAdd 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.- Specified by:
attachmentClassificationKeyLikein interfaceTaskQuery- Parameters:
attachmentClassificationKeys- the attachmentClassificationKey values of the searched for tasks- Returns:
- the query
-
attachmentClassificationKeyNotLike
public TaskQuery attachmentClassificationKeyNotLike(String... attachmentClassificationKeys)
Description copied from interface:TaskQueryExclude 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.- Specified by:
attachmentClassificationKeyNotLikein interfaceTaskQuery- Parameters:
attachmentClassificationKeys- the attachmentClassificationKey values of the searched for tasks- Returns:
- the query
-
orderByAttachmentClassificationKey
public TaskQuery orderByAttachmentClassificationKey(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByAttachmentClassificationKeyin interfaceTaskQuery- 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
public TaskQuery attachmentClassificationNameIn(String... attachmentClassificationNames)
Description copied from interface:TaskQueryAdd the attachment classification names for exact matching to your query.- Specified by:
attachmentClassificationNameInin interfaceTaskQuery- Parameters:
attachmentClassificationNames- the attachmentClassificationName values of the searched for tasks- Returns:
- the query
-
attachmentClassificationNameNotIn
public TaskQuery attachmentClassificationNameNotIn(String... attachmentClassificationNames)
Description copied from interface:TaskQueryExclude the attachment classification names for exact matching from your query.- Specified by:
attachmentClassificationNameNotInin interfaceTaskQuery- Parameters:
attachmentClassificationNames- the attachmentClassificationName values of the searched for tasks- Returns:
- the query
-
attachmentClassificationNameLike
public TaskQuery attachmentClassificationNameLike(String... attachmentClassificationNames)
Description copied from interface:TaskQueryAdd 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.- Specified by:
attachmentClassificationNameLikein interfaceTaskQuery- Parameters:
attachmentClassificationNames- the attachmentClassificationName values of the searched-for tasks- Returns:
- the query
-
attachmentClassificationNameNotLike
public TaskQuery attachmentClassificationNameNotLike(String... attachmentClassificationNames)
Description copied from interface:TaskQueryExclude 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.- Specified by:
attachmentClassificationNameNotLikein interfaceTaskQuery- Parameters:
attachmentClassificationNames- the attachmentClassificationName values of the searched-for tasks- Returns:
- the query
-
orderByAttachmentClassificationName
public TaskQuery orderByAttachmentClassificationName(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByAttachmentClassificationNamein interfaceTaskQuery- 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
public TaskQuery attachmentChannelIn(String... attachmentChannels)
Description copied from interface:TaskQueryAdd the values of attachment channel for exact matching to your query.- Specified by:
attachmentChannelInin interfaceTaskQuery- Parameters:
attachmentChannels- the attachmentChannel values of the searched for tasks- Returns:
- the query
-
attachmentChannelNotIn
public TaskQuery attachmentChannelNotIn(String... attachmentChannels)
Description copied from interface:TaskQueryExclude the values of attachment channel for exact matching from your query.- Specified by:
attachmentChannelNotInin interfaceTaskQuery- Parameters:
attachmentChannels- the attachmentChannel values of the searched for tasks- Returns:
- the query
-
attachmentChannelLike
public TaskQuery attachmentChannelLike(String... attachmentChannels)
Description copied from interface:TaskQueryAdd 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.- Specified by:
attachmentChannelLikein interfaceTaskQuery- Parameters:
attachmentChannels- the attachmentChannel values of the searched-for tasks- Returns:
- the query
-
attachmentChannelNotLike
public TaskQuery attachmentChannelNotLike(String... attachmentChannels)
Description copied from interface:TaskQueryExclude 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.- Specified by:
attachmentChannelNotLikein interfaceTaskQuery- Parameters:
attachmentChannels- the attachmentChannel values of the searched-for tasks- Returns:
- the query
-
orderByAttachmentChannel
public TaskQuery orderByAttachmentChannel(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByAttachmentChannelin interfaceTaskQuery- 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
public TaskQuery attachmentReferenceValueIn(String... referenceValues)
Description copied from interface:TaskQueryAdd the values of reference values for exact matching to your query.- Specified by:
attachmentReferenceValueInin interfaceTaskQuery- Parameters:
referenceValues- the referenceValue values of the searched for tasks- Returns:
- the query
-
attachmentReferenceValueNotIn
public TaskQuery attachmentReferenceValueNotIn(String... referenceValues)
Description copied from interface:TaskQueryExclude the values of reference values for exact matching from your query.- Specified by:
attachmentReferenceValueNotInin interfaceTaskQuery- Parameters:
referenceValues- the referenceValue values of the searched for tasks- Returns:
- the query
-
attachmentReferenceValueLike
public TaskQuery attachmentReferenceValueLike(String... referenceValues)
Description copied from interface:TaskQueryAdd 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.- Specified by:
attachmentReferenceValueLikein interfaceTaskQuery- Parameters:
referenceValues- the referenceValue values of the searched-for tasks- Returns:
- the query
-
attachmentReferenceValueNotLike
public TaskQuery attachmentReferenceValueNotLike(String... referenceValues)
Description copied from interface:TaskQueryExclude 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.- Specified by:
attachmentReferenceValueNotLikein interfaceTaskQuery- Parameters:
referenceValues- the referenceValue values of the searched-for tasks- Returns:
- the query
-
orderByAttachmentReference
public TaskQuery orderByAttachmentReference(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByAttachmentReferencein interfaceTaskQuery- 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
public TaskQuery attachmentReceivedWithin(TimeInterval... receivedIn)
Description copied from interface:TaskQueryAdd your received-dates to your query.- Specified by:
attachmentReceivedWithinin interfaceTaskQuery- Parameters:
receivedIn- theTimeIntervalwithin which the searched-for tasks attachment were received the last time.- Returns:
- the query
-
attachmentNotReceivedWithin
public TaskQuery attachmentNotReceivedWithin(TimeInterval... receivedNotIn)
Description copied from interface:TaskQueryExclude the received-dates from your query.- Specified by:
attachmentNotReceivedWithinin interfaceTaskQuery- Parameters:
receivedNotIn- theTimeIntervalwithin which the searched-for tasks attachment weren't received the last time.- Returns:
- the query
-
orderByAttachmentReceived
public TaskQuery orderByAttachmentReceived(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByAttachmentReceivedin interfaceTaskQuery- 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
public TaskQuery withoutAttachment()
Description copied from interface:TaskQueryThis method adds the condition that only Tasks that don't have any Attachments will be included in the TaskQuery.- Specified by:
withoutAttachmentin interfaceTaskQuery- Returns:
- the TaskQuery
-
getOwnerLongNameIn
public String[] getOwnerLongNameIn()
-
getOwnerLongNameNotIn
public String[] getOwnerLongNameNotIn()
-
getOwnerLongNameLike
public String[] getOwnerLongNameLike()
-
getOwnerLongNameNotLike
public String[] getOwnerLongNameNotLike()
-
secondaryObjectReferenceIn
public TaskQuery secondaryObjectReferenceIn(ObjectReference... objectReferences)
Description copied from interface:TaskQueryAdd theObjectReferenceto 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 ignoredIf you specify multiple arguments they are combined with the OR keyword.
- Specified by:
secondaryObjectReferenceInin interfaceTaskQuery- Parameters:
objectReferences- the combined values which are searched together.- Returns:
- the query
-
sorCompanyIn
public TaskQuery sorCompanyIn(String... companies)
Description copied from interface:TaskQueryAdd the values of the company of at least one of the secondaryObjectReferences for exact matching to your query.- Specified by:
sorCompanyInin interfaceTaskQuery- Parameters:
companies- the company values of the searched for Tasks- Returns:
- the TaskQuery
-
sorCompanyLike
public TaskQuery sorCompanyLike(String... companies)
Description copied from interface:TaskQueryAdd 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.- Specified by:
sorCompanyLikein interfaceTaskQuery- Parameters:
companies- the company values of the searched-for Tasks- Returns:
- the TaskQuery
-
sorSystemIn
public TaskQuery sorSystemIn(String... systems)
Description copied from interface:TaskQueryAdd the values of the system of at least one of the secondaryObjectReferences for exact matching to your query.- Specified by:
sorSystemInin interfaceTaskQuery- Parameters:
systems- the system values of the searched for Tasks- Returns:
- the TaskQuery
-
sorSystemLike
public TaskQuery sorSystemLike(String... systems)
Description copied from interface:TaskQueryAdd 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.- Specified by:
sorSystemLikein interfaceTaskQuery- Parameters:
systems- the system values of the searched-for Tasks- Returns:
- the TaskQuery
-
sorSystemInstanceIn
public TaskQuery sorSystemInstanceIn(String... systemInstances)
Description copied from interface:TaskQueryAdd the values of the systemInstance of at least one of the secondaryObjectReferences for exact matching to your query.- Specified by:
sorSystemInstanceInin interfaceTaskQuery- Parameters:
systemInstances- the systemInstance values of the searched for Tasks- Returns:
- the TaskQuery
-
sorSystemInstanceLike
public TaskQuery sorSystemInstanceLike(String... systemInstances)
Description copied from interface:TaskQueryAdd 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.- Specified by:
sorSystemInstanceLikein interfaceTaskQuery- Parameters:
systemInstances- the systemInstance values of the searched-for Tasks- Returns:
- the TaskQuery
-
sorTypeIn
public TaskQuery sorTypeIn(String... types)
Description copied from interface:TaskQueryAdd the values of the type of at least one of the secondaryObjectReferences for exact matching to your query.
-
sorTypeLike
public TaskQuery sorTypeLike(String... types)
Description copied from interface:TaskQueryAdd 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.- Specified by:
sorTypeLikein interfaceTaskQuery- Parameters:
types- the type values of the searched-for Tasks- Returns:
- the TaskQuery
-
sorValueIn
public TaskQuery sorValueIn(String... values)
Description copied from interface:TaskQueryAdd the values of the value of at least one of the secondaryObjectReferences for exact matching to your query.- Specified by:
sorValueInin interfaceTaskQuery- Parameters:
values- the value values of the searched for Tasks- Returns:
- the TaskQuery
-
sorValueLike
public TaskQuery sorValueLike(String... values)
Description copied from interface:TaskQueryAdd 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.- Specified by:
sorValueLikein interfaceTaskQuery- Parameters:
values- the value values of the searched-for Tasks- Returns:
- the TaskQuery
-
customAttributeIn
public TaskQuery customAttributeIn(TaskCustomField customField, String... strings) throws InvalidArgumentException
Description copied from interface:TaskQueryAdd the values of custom attributes for exact matching to your query.- Specified by:
customAttributeInin interfaceTaskQuery- Parameters:
customField- identifies which custom attribute is affected.strings- the customField values of the searched for tasks- Returns:
- the query
- Throws:
InvalidArgumentException- if searchArguments are not given
-
customAttributeNotIn
public TaskQuery customAttributeNotIn(TaskCustomField customField, String... strings) throws InvalidArgumentException
Description copied from interface:TaskQueryExclude these values of custom attributes from your query.- Specified by:
customAttributeNotInin interfaceTaskQuery- Parameters:
customField- identifies which custom attribute is affected.strings- the customField values of the searched for tasks- Returns:
- the query
- Throws:
InvalidArgumentException- if searchArguments are not given
-
customAttributeLike
public TaskQuery customAttributeLike(TaskCustomField customField, String... strings) throws InvalidArgumentException
Description copied from interface:TaskQueryAdd 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.- Specified by:
customAttributeLikein interfaceTaskQuery- Parameters:
customField- identifies which custom attribute is affected.strings- the customField values of the searched for tasks- Returns:
- the query
- Throws:
InvalidArgumentException- if searchArguments is not given
-
customAttributeNotLike
public TaskQuery customAttributeNotLike(TaskCustomField customField, String... strings) throws InvalidArgumentException
Description copied from interface:TaskQueryExclude 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.- Specified by:
customAttributeNotLikein interfaceTaskQuery- Parameters:
customField- identifies which custom attribute is affected.strings- the customField values of the searched for tasks- Returns:
- the query
- Throws:
InvalidArgumentException- if searchArguments is not given
-
orderByCustomAttribute
public TaskQuery orderByCustomAttribute(TaskCustomField customField, BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the value of a custom field.- Specified by:
orderByCustomAttributein interfaceTaskQuery- 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
-
customIntAttributeNotIn
public TaskQuery customIntAttributeNotIn(TaskCustomIntField customIntField, Integer... values) throws InvalidArgumentException
Description copied from interface:TaskQueryExclude these values of the specified TaskCustomIntField from your query.- Specified by:
customIntAttributeNotInin interfaceTaskQuery- Parameters:
customIntField- identifies which TaskCustomIntField is affectedvalues- the corresponding customIntField values of the searched for Tasks- Returns:
- the query
- Throws:
InvalidArgumentException- if searchArguments are not given
-
customIntAttributeIn
public TaskQuery customIntAttributeIn(TaskCustomIntField customIntField, Integer... values) throws InvalidArgumentException
Description copied from interface:TaskQueryAdd the values of the specified TaskCustomIntField for exact matching to your query.- Specified by:
customIntAttributeInin interfaceTaskQuery- Parameters:
customIntField- identifies which TaskCustomIntField is affectedvalues- the corresponding values of the searched for Tasks- Returns:
- the query
- Throws:
InvalidArgumentException- if searchArguments are not given
-
orderByCustomIntAttribute
public TaskQuery orderByCustomIntAttribute(TaskCustomIntField customIntField, BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the value of the specified TaskCustomIntField.- Specified by:
orderByCustomIntAttributein interfaceTaskQuery- Parameters:
customIntField- identifies which TaskCustomIntField is affectedsortDirection- 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
-
customIntAttributeWithin
public TaskQuery customIntAttributeWithin(TaskCustomIntField customIntField, IntInterval... values)
Description copied from interface:TaskQueryAdd 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.- Specified by:
customIntAttributeWithinin interfaceTaskQuery- Parameters:
customIntField- identifies which TaskCustomIntField is affectedvalues- identify the IntIntervals that are used for filtering- Returns:
- the query
-
customIntAttributeNotWithin
public TaskQuery customIntAttributeNotWithin(TaskCustomIntField customIntField, IntInterval... values)
Description copied from interface:TaskQueryExclude 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.- Specified by:
customIntAttributeNotWithinin interfaceTaskQuery- Parameters:
customIntField- identifies which TaskCustomIntField is affectedvalues- identify the IntIntervals that are used for filtering- Returns:
- the query
-
callbackStateIn
public TaskQuery callbackStateIn(CallbackState... states)
Description copied from interface:TaskQueryAdd your callbackState to your query.- Specified by:
callbackStateInin interfaceTaskQuery- Parameters:
states- the callback states asCallbackState- Returns:
- the query
-
callbackStateNotIn
public TaskQuery callbackStateNotIn(CallbackState... states)
Description copied from interface:TaskQueryExclude the callbackState from your query.- Specified by:
callbackStateNotInin interfaceTaskQuery- Parameters:
states- the callback states asCallbackState- Returns:
- the query
-
wildcardSearchValueLike
public TaskQuery wildcardSearchValueLike(String wildcardSearchValue)
Description copied from interface:TaskQueryAdd 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- Specified by:
wildcardSearchValueLikein interfaceTaskQuery- Parameters:
wildcardSearchValue- the wildcard search value- Returns:
- the query
-
wildcardSearchFieldsIn
public TaskQuery wildcardSearchFieldsIn(WildcardSearchField... wildcardSearchFields)
Description copied from interface:TaskQueryAdd 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- Specified by:
wildcardSearchFieldsInin interfaceTaskQuery- Parameters:
wildcardSearchFields- the Task fields of your wildcard search- Returns:
- the query
-
createObjectReferenceQuery
public ObjectReferenceQuery createObjectReferenceQuery()
Description copied from interface:TaskQueryThis method provides a query builder for quering the database.- Specified by:
createObjectReferenceQueryin interfaceTaskQuery- Returns:
- a
ObjectReferenceQuery
-
orderByDomain
public TaskQuery orderByDomain(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the domain.- Specified by:
orderByDomainin interfaceTaskQuery- 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
public TaskQuery orderByWorkbasketKey(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the workbasket key.- Specified by:
orderByWorkbasketKeyin interfaceTaskQuery- 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
public TaskQuery orderByWorkbasketName(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis method sorts the query result according to the workbasket name of the tasks.- Specified by:
orderByWorkbasketNamein interfaceTaskQuery- 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
-
orderByOwnerLongName
public TaskQuery orderByOwnerLongName(BaseQuery.SortDirection sortDirection)
Description copied from interface:TaskQueryThis 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.)- Specified by:
orderByOwnerLongNamein interfaceTaskQuery- 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
-
list
public List<TaskSummary> list()
- Specified by:
listin interfaceBaseQuery<TaskSummary,TaskQueryColumnName>
-
list
public List<TaskSummary> list(int offset, int limit)
- Specified by:
listin interfaceBaseQuery<TaskSummary,TaskQueryColumnName>
-
listValues
public List<String> listValues(TaskQueryColumnName columnName, BaseQuery.SortDirection sortDirection)
- Specified by:
listValuesin interfaceBaseQuery<TaskSummary,TaskQueryColumnName>
-
single
public TaskSummary single()
- Specified by:
singlein interfaceBaseQuery<TaskSummary,TaskQueryColumnName>
-
count
public long count()
- Specified by:
countin interfaceBaseQuery<TaskSummary,TaskQueryColumnName>
-
selectAndClaimEquals
public TaskQuery selectAndClaimEquals(boolean selectAndClaim)
-
-