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... attachmentChannel)Add the values of attachment channel for exact matching to your query.TaskQueryattachmentChannelLike(String... attachmentChannel)Add the values of attachment channel for pattern matching to your query.TaskQueryattachmentClassificationIdIn(String... attachmentClassificationId)Add the attachment classification Ids for exact matching to your query.TaskQueryattachmentClassificationIdLike(String... attachmentClassificationId)Add the values of attachment classification ids for pattern matching to your query.TaskQueryattachmentClassificationKeyIn(String... attachmentClassificationKeys)Add the attachment classification keys for exact matching to your query.TaskQueryattachmentClassificationKeyLike(String... attachmentClassificationKey)Add the attachment classification Keys for pattern matching to your query.TaskQueryattachmentClassificationNameIn(String... attachmentClassificationName)Add the attachment classification names for exact matching to your query.TaskQueryattachmentClassificationNameLike(String... attachmentClassificationName)Add the values of attachment classification names for pattern matching to your query.TaskQueryattachmentReceivedWithin(TimeInterval... receivedIn)Add your received-dates to your query.TaskQueryattachmentReferenceValueIn(String... referenceValue)Add the values of reference values for exact matching to your query.TaskQueryattachmentReferenceValueLike(String... referenceValue)Add 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 the business process id for pattern matching to your query.TaskQuerycallbackStateIn(CallbackState... states)Add your callbackState to 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.TaskQueryclassificationIdIn(String... classificationId)Add your classificationId to your query.TaskQueryclassificationKeyIn(String... classificationKey)Add your classificationKey to your query.TaskQueryclassificationKeyLike(String... classificationKeys)Add your classificationKey for pattern matching to your query.TaskQueryclassificationKeyNotIn(String... classificationKeys)Exlude these classificationKeys from your query.TaskQueryclassificationNameIn(String... classificationNames)Add your classificationName to your query.TaskQueryclassificationNameLike(String... classificationNames)Add your classificationName for pattern matching to your query.TaskQuerycompletedWithin(TimeInterval... intervals)Add the time intervals within which the task was completed to your query.longcount()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.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.TaskQuerydescriptionLike(String... description)Add your description for pattern matching to 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.TaskQueryexternalIdLike(String... externalIds)Add your external id for pattern matching to your query.String[]getAttachmentChannelIn()String[]getAttachmentChannelLike()String[]getAttachmentClassificationIdIn()String[]getAttachmentClassificationIdLike()String[]getAttachmentClassificationKeyIn()String[]getAttachmentClassificationKeyLike()String[]getAttachmentClassificationNameIn()String[]getAttachmentClassificationNameLike()TimeInterval[]getAttachmentReceivedIn()String[]getAttachmentReferenceIn()String[]getAttachmentReferenceLike()String[]getBusinessProcessIdIn()String[]getBusinessProcessIdLike()TimeInterval[]getClaimedIn()String[]getClassificationCategoryIn()String[]getClassificationCategoryLike()String[]getClassificationIdIn()String[]getClassificationKeyIn()String[]getClassificationKeyLike()String[]getClassificationKeyNotIn()String[]getClassificationNameIn()String[]getClassificationNameLike()TaskQueryColumnNamegetColumnName()TimeInterval[]getCompletedIn()TimeInterval[]getCreatedIn()String[]getCreatorIn()String[]getCreatorLike()String[]getCustom10In()String[]getCustom10Like()String[]getCustom10NotIn()String[]getCustom11In()String[]getCustom11Like()String[]getCustom11NotIn()String[]getCustom12In()String[]getCustom12Like()String[]getCustom12NotIn()String[]getCustom13In()String[]getCustom13Like()String[]getCustom13NotIn()String[]getCustom14In()String[]getCustom14Like()String[]getCustom14NotIn()String[]getCustom15In()String[]getCustom15Like()String[]getCustom15NotIn()String[]getCustom16In()String[]getCustom16Like()String[]getCustom16NotIn()String[]getCustom1In()String[]getCustom1Like()String[]getCustom1NotIn()String[]getCustom2In()String[]getCustom2Like()String[]getCustom2NotIn()String[]getCustom3In()String[]getCustom3Like()String[]getCustom3NotIn()String[]getCustom4In()String[]getCustom4Like()String[]getCustom4NotIn()String[]getCustom5In()String[]getCustom5Like()String[]getCustom5NotIn()String[]getCustom6In()String[]getCustom6Like()String[]getCustom6NotIn()String[]getCustom7In()String[]getCustom7Like()String[]getCustom7NotIn()String[]getCustom8In()String[]getCustom8Like()String[]getCustom8NotIn()String[]getCustom9In()String[]getCustom9Like()String[]getCustom9NotIn()String[]getDescription()TimeInterval[]getDueIn()String[]getExternalIdIn()String[]getExternalIdLike()BooleangetIsRead()booleangetIsSelectAndClaim()BooleangetIsTransferred()StringgetLinkToCounterTaskScript()StringgetLinkToMapperScript()TimeInterval[]getModifiedIn()String[]getNameIn()String[]getNameLike()String[]getNote()String[]getNoteLike()List<String>getOrderBy()List<String>getOrderColumns()String[]getOwnerIn()String[]getOwnerLike()String[]getOwnerNotIn()String[]getParentBusinessProcessIdIn()String[]getParentBusinessProcessIdLike()TimeInterval[]getPlannedIn()String[]getPorCompanyIn()String[]getPorCompanyLike()String[]getPorSystemIn()String[]getPorSystemInstanceIn()String[]getPorSystemInstanceLike()String[]getPorSystemLike()String[]getPorTypeIn()String[]getPorTypeLike()String[]getPorValueIn()String[]getPorValueLike()int[]getPriority()TimeInterval[]getReceivedIn()TaskState[]getStateIn()String[]getTaskIds()TaskServiceImplgetTaskService()WildcardSearchField[]getWildcardSearchFieldIn()StringgetWildcardSearchValueLike()String[]getWorkbasketIdIn()KeyDomain[]getWorkbasketKeyDomainIn()TaskQueryidIn(String... taskIds)Filter for summaries which are containing one of the given taskIds.booleanisAddAttachmentClassificationNameToSelectClauseForOrdering()booleanisAddAttachmentColumnsToSelectClauseForOrdering()booleanisAddClassificationNameToSelectClauseForOrdering()booleanisJoinWithAttachments()booleanisJoinWithAttachmentsClassifications()booleanisJoinWithClassifications()booleanisUseDistinctKeyword()List<TaskSummary>list()List<TaskSummary>list(int offset, int limit)List<String>listValues(TaskQueryColumnName columnName, BaseQuery.SortDirection sortDirection)TaskQuerymodifiedWithin(TimeInterval... intervals)Add the time intervals within which the task was 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.TaskQuerynoteLike(String... note)Add your custom note for pattern matching to 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.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.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.TaskQueryownerNotIn(String... owners)Filter out owners.TaskQueryparentBusinessProcessIdIn(String... parentBusinessProcessIds)Add the parent business process ids for exact matching to your query.TaskQueryparentBusinessProcessIdLike(String... parentBusinessProcessId)Add the parent business process id for pattern matching to 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... company)Add the company of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceIn(ObjectReference... objectReferences)Add theObjectReferenceto 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... systemInstance)Add the system instance of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceSystemLike(String... system)Add the system of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceTypeIn(String... types)Add the types of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceTypeLike(String... type)Add the type of the primary object reference for pattern matching to your query.TaskQueryprimaryObjectReferenceValueIn(String... values)Add the values of the primary object reference for exact matching to your query.TaskQueryprimaryObjectReferenceValueLike(String... value)Add the value of the primary object reference for pattern matching to your query.TaskQuerypriorityIn(int... priorities)Add your priorities to your query.TaskQueryreadEquals(Boolean isRead)Add the isRead flag to the query.TaskQueryreceivedWithin(TimeInterval... intervals)Add the time intervals within which the task is received to your query.TaskQueryselectAndClaimEquals(boolean selectAndClaim)voidsetAddAttachmentClassificationNameToSelectClauseForOrdering(boolean addAttachmentClassificationNameToSelectClauseForOrdering)voidsetAddAttachmentColumnsToSelectClauseForOrdering(boolean addAttachmentColumnsToSelectClauseForOrdering)voidsetAddClassificationNameToSelectClauseForOrdering(boolean addClassificationNameToSelectClauseForOrdering)voidsetAttachmentChannelIn(String[] attachmentChannelIn)voidsetAttachmentChannelLike(String[] attachmentChannelLike)voidsetAttachmentClassificationIdIn(String[] attachmentClassificationIdIn)voidsetAttachmentClassificationIdLike(String[] attachmentclassificationIdLike)voidsetAttachmentClassificationKeyIn(String[] attachmentClassificationKeyIn)voidsetAttachmentClassificationKeyLike(String[] attachmentClassificationKeyLike)voidsetAttachmentClassificationNameIn(String[] attachmentClassificationNameIn)voidsetAttachmentClassificationNameLike(String[] attachmentClassificationNameLike)voidsetAttachmentReceivedIn(TimeInterval[] attachmentReceivedIn)voidsetAttachmentReferenceIn(String[] attachmentReferenceIn)voidsetAttachmentReferenceLike(String[] attachmentReferenceLike)voidsetClassificationNameIn(String[] classificationNameIn)voidsetClassificationNameLike(String[] classificationNameLike)voidsetJoinWithAttachments(boolean joinWithAttachments)voidsetJoinWithAttachmentsClassifications(boolean joinWithAttachmentsClassifications)voidsetJoinWithClassifications(boolean joinWithClassifications)voidsetUseDistinctKeyword(boolean useDistinctKeyword)TaskSummarysingle()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.TaskQueryworkbasketIdIn(String... workbasketIds)Add your workbasket id to the query.TaskQueryworkbasketKeyDomainIn(KeyDomain... workbasketIdentifiers)Add your workbasket key to the query.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface pro.taskana.common.api.BaseQuery
listPage, toUpperCopy
-
-
-
-
Method Detail
-
nameIn
public TaskQuery nameIn(String... names)
Description copied from interface:TaskQueryAdd your names to 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.
-
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
-
externalIdLike
public TaskQuery externalIdLike(String... externalIds)
Description copied from interface:TaskQueryAdd your external 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:
externalIdLikein interfaceTaskQuery- Parameters:
externalIds- your external ids- Returns:
- the query
-
creatorIn
public TaskQuery creatorIn(String... creators)
Description copied from interface:TaskQueryAdd the UserIds of the creator to your 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
-
descriptionLike
public TaskQuery descriptionLike(String... description)
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:
description- your description- Returns:
- the query
-
noteLike
public TaskQuery noteLike(String... note)
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.
-
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
-
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 asTaskState- Returns:
- the query
-
classificationKeyIn
public TaskQuery classificationKeyIn(String... classificationKey)
Description copied from interface:TaskQueryAdd your classificationKey to your query.- Specified by:
classificationKeyInin interfaceTaskQuery- Parameters:
classificationKey- the classification key- Returns:
- the query
-
classificationKeyNotIn
public TaskQuery classificationKeyNotIn(String... classificationKeys)
Description copied from interface:TaskQueryExlude 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
-
classificationIdIn
public TaskQuery classificationIdIn(String... classificationId)
Description copied from interface:TaskQueryAdd your classificationId to your query.- Specified by:
classificationIdInin interfaceTaskQuery- Parameters:
classificationId- the classification Ids- 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
-
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
-
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
-
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
-
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
-
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
-
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.
-
primaryObjectReferenceIn
public TaskQuery primaryObjectReferenceIn(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:
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
-
primaryObjectReferenceCompanyLike
public TaskQuery primaryObjectReferenceCompanyLike(String... company)
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:
company- the company of your primary object reference- 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
-
primaryObjectReferenceSystemLike
public TaskQuery primaryObjectReferenceSystemLike(String... system)
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:
system- the system of your primary object reference- 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
-
primaryObjectReferenceSystemInstanceLike
public TaskQuery primaryObjectReferenceSystemInstanceLike(String... systemInstance)
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:
systemInstance- the system instances of your primary object reference- 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
-
primaryObjectReferenceTypeLike
public TaskQuery primaryObjectReferenceTypeLike(String... type)
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:
type- the types of your primary object reference- Returns:
- the query
-
primaryObjectReferenceValueLike
public TaskQuery primaryObjectReferenceValueLike(String... value)
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:
value- the values of your primary object reference- 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
-
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
-
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
-
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 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:
completedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task was completed- Returns:
- the query
-
modifiedWithin
public TaskQuery modifiedWithin(TimeInterval... intervals)
Description copied from interface:TaskQueryAdd the time intervals within which the task was 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
-
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
-
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 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:
receivedWithinin interfaceTaskQuery- Parameters:
intervals- - the TimeIntervals within which the task is received- 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.
-
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
-
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
-
parentBusinessProcessIdLike
public TaskQuery parentBusinessProcessIdLike(String... parentBusinessProcessId)
Description copied from interface:TaskQueryAdd the 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:
parentBusinessProcessId- the parent businessprocess ids of the searched for tasks- 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
-
businessProcessIdLike
public TaskQuery businessProcessIdLike(String... businessProcessIds)
Description copied from interface:TaskQueryAdd the 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:
businessProcessIdLikein interfaceTaskQuery- Parameters:
businessProcessIds- the business process ids of the searched-for tasks- Returns:
- the query
-
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
-
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
-
attachmentClassificationKeyLike
public TaskQuery attachmentClassificationKeyLike(String... attachmentClassificationKey)
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:
attachmentClassificationKey- the attachmentClassificationKeys values of the searched for tasks- Returns:
- the query
-
attachmentClassificationIdIn
public TaskQuery attachmentClassificationIdIn(String... attachmentClassificationId)
Description copied from interface:TaskQueryAdd the attachment classification Ids for exact matching to your query.- Specified by:
attachmentClassificationIdInin interfaceTaskQuery- Parameters:
attachmentClassificationId- the attachmentClassificationId values of the searched for tasks- Returns:
- the query
-
attachmentClassificationIdLike
public TaskQuery attachmentClassificationIdLike(String... attachmentClassificationId)
Description copied from interface:TaskQueryAdd the values of attachment classification ids 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:
attachmentClassificationIdLikein interfaceTaskQuery- Parameters:
attachmentClassificationId- the attachmentClassificationId values of the searched-for tasks- Returns:
- the query
-
attachmentClassificationNameIn
public TaskQuery attachmentClassificationNameIn(String... attachmentClassificationName)
Description copied from interface:TaskQueryAdd the attachment classification names for exact matching to your query.- Specified by:
attachmentClassificationNameInin interfaceTaskQuery- Parameters:
attachmentClassificationName- the attachmentClassificationName values of the searched for tasks- Returns:
- the query
-
attachmentClassificationNameLike
public TaskQuery attachmentClassificationNameLike(String... attachmentClassificationName)
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:
attachmentClassificationName- the attachmentClassificationName values of the searched-for tasks- Returns:
- the query
-
attachmentChannelIn
public TaskQuery attachmentChannelIn(String... attachmentChannel)
Description copied from interface:TaskQueryAdd the values of attachment channel for exact matching to your query.- Specified by:
attachmentChannelInin interfaceTaskQuery- Parameters:
attachmentChannel- the attachmentChannel values of the searched for tasks- Returns:
- the query
-
attachmentChannelLike
public TaskQuery attachmentChannelLike(String... attachmentChannel)
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:
attachmentChannel- the attachmentChannel values of the searched-for tasks- Returns:
- the query
-
attachmentReferenceValueIn
public TaskQuery attachmentReferenceValueIn(String... referenceValue)
Description copied from interface:TaskQueryAdd the values of reference values for exact matching to your query.- Specified by:
attachmentReferenceValueInin interfaceTaskQuery- Parameters:
referenceValue- the referenceValue values of the searched for tasks- Returns:
- the query
-
attachmentReferenceValueLike
public TaskQuery attachmentReferenceValueLike(String... referenceValue)
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:
referenceValue- the referenceValue values of the searched-for tasks- 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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 wilcardSearchFieldIn 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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
idIn
public TaskQuery idIn(String... taskIds)
Description copied from interface:TaskQueryFilter for summaries which are containing one of the given taskIds.
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
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
-
selectAndClaimEquals
public TaskQuery selectAndClaimEquals(boolean selectAndClaim)
-
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>
-
getLinkToMapperScript
public String getLinkToMapperScript()
-
getLinkToCounterTaskScript
public String getLinkToCounterTaskScript()
-
isUseDistinctKeyword
public boolean isUseDistinctKeyword()
-
setUseDistinctKeyword
public void setUseDistinctKeyword(boolean useDistinctKeyword)
-
isJoinWithAttachments
public boolean isJoinWithAttachments()
-
setJoinWithAttachments
public void setJoinWithAttachments(boolean joinWithAttachments)
-
isJoinWithClassifications
public boolean isJoinWithClassifications()
-
setJoinWithClassifications
public void setJoinWithClassifications(boolean joinWithClassifications)
-
isJoinWithAttachmentsClassifications
public boolean isJoinWithAttachmentsClassifications()
-
setJoinWithAttachmentsClassifications
public void setJoinWithAttachmentsClassifications(boolean joinWithAttachmentsClassifications)
-
isAddAttachmentColumnsToSelectClauseForOrdering
public boolean isAddAttachmentColumnsToSelectClauseForOrdering()
-
setAddAttachmentColumnsToSelectClauseForOrdering
public void setAddAttachmentColumnsToSelectClauseForOrdering(boolean addAttachmentColumnsToSelectClauseForOrdering)
-
getTaskIds
public String[] getTaskIds()
-
getNameIn
public String[] getNameIn()
-
getExternalIdIn
public String[] getExternalIdIn()
-
getExternalIdLike
public String[] getExternalIdLike()
-
getCreatorIn
public String[] getCreatorIn()
-
getCreatorLike
public String[] getCreatorLike()
-
getDescription
public String[] getDescription()
-
getPriority
public int[] getPriority()
-
getStateIn
public TaskState[] getStateIn()
-
getOwnerIn
public String[] getOwnerIn()
-
getOwnerNotIn
public String[] getOwnerNotIn()
-
getOwnerLike
public String[] getOwnerLike()
-
getIsRead
public Boolean getIsRead()
-
getIsTransferred
public Boolean getIsTransferred()
-
getIsSelectAndClaim
public boolean getIsSelectAndClaim()
-
getPorCompanyIn
public String[] getPorCompanyIn()
-
getPorCompanyLike
public String[] getPorCompanyLike()
-
getPorSystemIn
public String[] getPorSystemIn()
-
getPorSystemLike
public String[] getPorSystemLike()
-
getPorSystemInstanceIn
public String[] getPorSystemInstanceIn()
-
getPorSystemInstanceLike
public String[] getPorSystemInstanceLike()
-
getPorTypeIn
public String[] getPorTypeIn()
-
getPorTypeLike
public String[] getPorTypeLike()
-
getPorValueIn
public String[] getPorValueIn()
-
getPorValueLike
public String[] getPorValueLike()
-
getCreatedIn
public TimeInterval[] getCreatedIn()
-
getTaskService
public TaskServiceImpl getTaskService()
-
getNote
public String[] getNote()
-
getNoteLike
public String[] getNoteLike()
-
getParentBusinessProcessIdIn
public String[] getParentBusinessProcessIdIn()
-
getParentBusinessProcessIdLike
public String[] getParentBusinessProcessIdLike()
-
getBusinessProcessIdIn
public String[] getBusinessProcessIdIn()
-
getBusinessProcessIdLike
public String[] getBusinessProcessIdLike()
-
getCustom1In
public String[] getCustom1In()
-
getCustom1NotIn
public String[] getCustom1NotIn()
-
getCustom1Like
public String[] getCustom1Like()
-
getCustom2In
public String[] getCustom2In()
-
getCustom2NotIn
public String[] getCustom2NotIn()
-
getCustom2Like
public String[] getCustom2Like()
-
getCustom3In
public String[] getCustom3In()
-
getCustom3NotIn
public String[] getCustom3NotIn()
-
getCustom3Like
public String[] getCustom3Like()
-
getCustom4In
public String[] getCustom4In()
-
getCustom4NotIn
public String[] getCustom4NotIn()
-
getCustom4Like
public String[] getCustom4Like()
-
getCustom5In
public String[] getCustom5In()
-
getCustom5NotIn
public String[] getCustom5NotIn()
-
getCustom5Like
public String[] getCustom5Like()
-
getCustom6In
public String[] getCustom6In()
-
getCustom6NotIn
public String[] getCustom6NotIn()
-
getCustom6Like
public String[] getCustom6Like()
-
getCustom7In
public String[] getCustom7In()
-
getCustom7NotIn
public String[] getCustom7NotIn()
-
getCustom7Like
public String[] getCustom7Like()
-
getCustom8In
public String[] getCustom8In()
-
getCustom8NotIn
public String[] getCustom8NotIn()
-
getCustom8Like
public String[] getCustom8Like()
-
getCustom9In
public String[] getCustom9In()
-
getCustom9NotIn
public String[] getCustom9NotIn()
-
getCustom9Like
public String[] getCustom9Like()
-
getCustom10In
public String[] getCustom10In()
-
getCustom10NotIn
public String[] getCustom10NotIn()
-
getCustom10Like
public String[] getCustom10Like()
-
getCustom11In
public String[] getCustom11In()
-
getCustom11NotIn
public String[] getCustom11NotIn()
-
getCustom11Like
public String[] getCustom11Like()
-
getCustom12In
public String[] getCustom12In()
-
getCustom12NotIn
public String[] getCustom12NotIn()
-
getCustom12Like
public String[] getCustom12Like()
-
getCustom13In
public String[] getCustom13In()
-
getCustom13NotIn
public String[] getCustom13NotIn()
-
getCustom13Like
public String[] getCustom13Like()
-
getCustom14In
public String[] getCustom14In()
-
getCustom14NotIn
public String[] getCustom14NotIn()
-
getCustom14Like
public String[] getCustom14Like()
-
getCustom15In
public String[] getCustom15In()
-
getCustom15NotIn
public String[] getCustom15NotIn()
-
getCustom15Like
public String[] getCustom15Like()
-
getCustom16In
public String[] getCustom16In()
-
getCustom16NotIn
public String[] getCustom16NotIn()
-
getCustom16Like
public String[] getCustom16Like()
-
getClassificationCategoryIn
public String[] getClassificationCategoryIn()
-
getClassificationCategoryLike
public String[] getClassificationCategoryLike()
-
getClaimedIn
public TimeInterval[] getClaimedIn()
-
getCompletedIn
public TimeInterval[] getCompletedIn()
-
getModifiedIn
public TimeInterval[] getModifiedIn()
-
getPlannedIn
public TimeInterval[] getPlannedIn()
-
getReceivedIn
public TimeInterval[] getReceivedIn()
-
getDueIn
public TimeInterval[] getDueIn()
-
getNameLike
public String[] getNameLike()
-
getClassificationKeyIn
public String[] getClassificationKeyIn()
-
getClassificationKeyNotIn
public String[] getClassificationKeyNotIn()
-
getClassificationKeyLike
public String[] getClassificationKeyLike()
-
getClassificationIdIn
public String[] getClassificationIdIn()
-
getWorkbasketKeyDomainIn
public KeyDomain[] getWorkbasketKeyDomainIn()
-
getWorkbasketIdIn
public String[] getWorkbasketIdIn()
-
getColumnName
public TaskQueryColumnName getColumnName()
-
getAttachmentClassificationKeyIn
public String[] getAttachmentClassificationKeyIn()
-
setAttachmentClassificationKeyIn
public void setAttachmentClassificationKeyIn(String[] attachmentClassificationKeyIn)
-
getAttachmentClassificationKeyLike
public String[] getAttachmentClassificationKeyLike()
-
setAttachmentClassificationKeyLike
public void setAttachmentClassificationKeyLike(String[] attachmentClassificationKeyLike)
-
getAttachmentClassificationIdIn
public String[] getAttachmentClassificationIdIn()
-
setAttachmentClassificationIdIn
public void setAttachmentClassificationIdIn(String[] attachmentClassificationIdIn)
-
getAttachmentClassificationIdLike
public String[] getAttachmentClassificationIdLike()
-
setAttachmentClassificationIdLike
public void setAttachmentClassificationIdLike(String[] attachmentclassificationIdLike)
-
getAttachmentChannelIn
public String[] getAttachmentChannelIn()
-
setAttachmentChannelIn
public void setAttachmentChannelIn(String[] attachmentChannelIn)
-
getAttachmentChannelLike
public String[] getAttachmentChannelLike()
-
setAttachmentChannelLike
public void setAttachmentChannelLike(String[] attachmentChannelLike)
-
getAttachmentReferenceIn
public String[] getAttachmentReferenceIn()
-
setAttachmentReferenceIn
public void setAttachmentReferenceIn(String[] attachmentReferenceIn)
-
getAttachmentReferenceLike
public String[] getAttachmentReferenceLike()
-
setAttachmentReferenceLike
public void setAttachmentReferenceLike(String[] attachmentReferenceLike)
-
getAttachmentReceivedIn
public TimeInterval[] getAttachmentReceivedIn()
-
setAttachmentReceivedIn
public void setAttachmentReceivedIn(TimeInterval[] attachmentReceivedIn)
-
getClassificationNameIn
public String[] getClassificationNameIn()
-
setClassificationNameIn
public void setClassificationNameIn(String[] classificationNameIn)
-
getClassificationNameLike
public String[] getClassificationNameLike()
-
setClassificationNameLike
public void setClassificationNameLike(String[] classificationNameLike)
-
getAttachmentClassificationNameIn
public String[] getAttachmentClassificationNameIn()
-
setAttachmentClassificationNameIn
public void setAttachmentClassificationNameIn(String[] attachmentClassificationNameIn)
-
getAttachmentClassificationNameLike
public String[] getAttachmentClassificationNameLike()
-
setAttachmentClassificationNameLike
public void setAttachmentClassificationNameLike(String[] attachmentClassificationNameLike)
-
isAddClassificationNameToSelectClauseForOrdering
public boolean isAddClassificationNameToSelectClauseForOrdering()
-
setAddClassificationNameToSelectClauseForOrdering
public void setAddClassificationNameToSelectClauseForOrdering(boolean addClassificationNameToSelectClauseForOrdering)
-
isAddAttachmentClassificationNameToSelectClauseForOrdering
public boolean isAddAttachmentClassificationNameToSelectClauseForOrdering()
-
setAddAttachmentClassificationNameToSelectClauseForOrdering
public void setAddAttachmentClassificationNameToSelectClauseForOrdering(boolean addAttachmentClassificationNameToSelectClauseForOrdering)
-
getWildcardSearchFieldIn
public WildcardSearchField[] getWildcardSearchFieldIn()
-
getWildcardSearchValueLike
public String getWildcardSearchValueLike()
-
-