| Constructor and Description |
|---|
TaskQueryImpl(TaskanaEngine taskanaEngine) |
| Modifier and Type | Method and Description |
|---|---|
TaskQuery |
classification(ClassificationQuery classificationQuery)
Add your classification to your query.
|
ObjectReferenceQuery |
createObjectReferenceQuery()
This method provides a query builder for quering the database.
|
TaskQuery |
customFields(String... customFields)
Filter the custom fields with this query.
|
TaskQuery |
descriptionLike(String description)
Add your description for pattern matching to your query.
|
ClassificationQuery |
getClassificationQuery() |
String[] |
getCustomFields() |
String |
getDescription() |
Boolean |
getIsRead() |
Boolean |
getIsTransferred() |
String[] |
getName() |
String[] |
getOwner() |
String[] |
getPorCompanyIn() |
String |
getPorCompanyLike() |
String[] |
getPorSystemIn() |
String[] |
getPorSystemInstanceIn() |
String |
getPorSystemInstanceLike() |
String |
getPorSystemLike() |
String[] |
getPorTypeIn() |
String |
getPorTypeLike() |
String[] |
getPorValueIn() |
String |
getPorValueLike() |
int[] |
getPriority() |
TaskState[] |
getStates() |
TaskanaEngineImpl |
getTaskanaEngine() |
String[] |
getWorkbasketKey() |
List<Task> |
list()
This method will return a list of defined
T objects. |
List<Task> |
list(int offset,
int limit)
This method will return a list of defined
T objects with specified
offset and an limit. |
TaskQuery |
name(String... names)
Add your names to your query.
|
TaskQuery |
owner(String... owners)
Add the owners to your query.
|
TaskQuery |
primaryObjectReferenceCompanyIn(String... companies)
Add the companies of the primary object reference for exact matching to your query.
|
TaskQuery |
primaryObjectReferenceCompanyLike(String company)
Add the company of the primary object reference for pattern matching to your query.
|
TaskQuery |
primaryObjectReferenceSystemIn(String... systems)
Add the systems of the primary object reference for exact matching to your query.
|
TaskQuery |
primaryObjectReferenceSystemInstanceIn(String... systemInstances)
Add the system instances of the primary object reference for exact matching to your query.
|
TaskQuery |
primaryObjectReferenceSystemInstanceLike(String systemInstance)
Add the system instance of the primary object reference for pattern matching to your query.
|
TaskQuery |
primaryObjectReferenceSystemLike(String system)
Add the system of the primary object reference for pattern matching to your query.
|
TaskQuery |
primaryObjectReferenceTypeIn(String... types)
Add the types of the primary object reference for exact matching to your query.
|
TaskQuery |
primaryObjectReferenceTypeLike(String type)
Add the type of the primary object reference for pattern matching to your query.
|
TaskQuery |
primaryObjectReferenceValueIn(String... values)
Add the values of the primary object reference for exact matching to your query.
|
TaskQuery |
primaryObjectReferenceValueLike(String value)
Add the value of the primary object reference for pattern matching to your query.
|
TaskQuery |
priority(int... priorities)
Add your priorities to your query.
|
TaskQuery |
read(Boolean isRead)
Add the isRead flag to the query.
|
void |
setClassificationQuery(ClassificationQuery classificationQuery) |
void |
setCustomFields(String[] customFields) |
void |
setDescription(String description) |
void |
setIsRead(Boolean isRead) |
void |
setIsTransferred(Boolean isTransferred) |
void |
setName(String[] name) |
void |
setOwner(String[] owner) |
void |
setPorCompanyIn(String[] porCompanyIn) |
void |
setPorCompanyLike(String porCompanyLike) |
void |
setPorSystemIn(String[] porSystemIn) |
void |
setPorSystemInstanceIn(String[] porSystemInstanceIn) |
void |
setPorSystemInstanceLike(String porSystemInstanceLike) |
void |
setPorSystemLike(String porSystemLike) |
void |
setPorTypeIn(String[] porTypeIn) |
void |
setPorTypeLike(String porTypeLike) |
void |
setPorValueIn(String[] porValueIn) |
void |
setPorValueLike(String porValueLike) |
void |
setPriority(int[] priority) |
void |
setStates(TaskState[] states) |
void |
setTaskanaEngine(TaskanaEngineImpl taskanaEngine) |
void |
setWorkbasketKey(String[] workbasketKey) |
TaskImpl |
single()
This method will return a single object of
T. |
TaskQuery |
state(TaskState... states)
Add your state to your query.
|
String |
toString() |
TaskQuery |
transferred(Boolean isTransferred)
Add the isTransferred flag to the query.
|
TaskQuery |
workbasketKeyIn(String... workbasketKeys)
Add your workbasket key to the query.
|
public TaskQueryImpl(TaskanaEngine taskanaEngine)
public TaskQuery name(String... names)
TaskQuerypublic TaskQuery descriptionLike(String description)
TaskQuerydescriptionLike in interface TaskQuerydescription - your descriptionpublic TaskQuery priority(int... priorities)
TaskQuerypublic TaskQuery state(TaskState... states)
TaskQuerypublic TaskQuery classification(ClassificationQuery classificationQuery)
TaskQueryclassification in interface TaskQueryclassificationQuery - the classification querypublic TaskQuery workbasketKeyIn(String... workbasketKeys)
TaskQueryworkbasketKeyIn in interface TaskQueryworkbasketKeys - the workbasket keys as Stringpublic TaskQuery owner(String... owners)
TaskQuerypublic TaskQuery primaryObjectReferenceCompanyIn(String... companies)
TaskQueryprimaryObjectReferenceCompanyIn in interface TaskQuerycompanies - the companies of your primary object referencepublic TaskQuery primaryObjectReferenceCompanyLike(String company)
TaskQueryprimaryObjectReferenceCompanyLike in interface TaskQuerycompany - the company of your primary object referencepublic TaskQuery primaryObjectReferenceSystemIn(String... systems)
TaskQueryprimaryObjectReferenceSystemIn in interface TaskQuerysystems - the systems of your primary object referencepublic TaskQuery primaryObjectReferenceSystemLike(String system)
TaskQueryprimaryObjectReferenceSystemLike in interface TaskQuerysystem - the system of your primary object referencepublic TaskQuery primaryObjectReferenceSystemInstanceIn(String... systemInstances)
TaskQueryprimaryObjectReferenceSystemInstanceIn in interface TaskQuerysystemInstances - the system instances of your primary object referencepublic TaskQuery primaryObjectReferenceSystemInstanceLike(String systemInstance)
TaskQueryprimaryObjectReferenceSystemInstanceLike in interface TaskQuerysystemInstance - the system instance of your primary object referencepublic TaskQuery primaryObjectReferenceTypeIn(String... types)
TaskQueryprimaryObjectReferenceTypeIn in interface TaskQuerytypes - the types your primary object referencepublic TaskQuery primaryObjectReferenceTypeLike(String type)
TaskQueryprimaryObjectReferenceTypeLike in interface TaskQuerytype - the type of your primary object referencepublic TaskQuery primaryObjectReferenceValueIn(String... values)
TaskQueryprimaryObjectReferenceValueIn in interface TaskQueryvalues - the values of your primary object referencepublic TaskQuery primaryObjectReferenceValueLike(String value)
TaskQueryprimaryObjectReferenceValueLike in interface TaskQueryvalue - the value of your primary object referencepublic TaskQuery read(Boolean isRead)
TaskQuerypublic TaskQuery transferred(Boolean isTransferred)
TaskQuerytransferred in interface TaskQueryisTransferred - as Boolean. If null, it won't be integrated into the statement. You have to set false.public TaskQuery customFields(String... customFields)
TaskQuerycustomFields in interface TaskQuerycustomFields - the value in the fieldspublic ObjectReferenceQuery createObjectReferenceQuery()
TaskQuerycreateObjectReferenceQuery in interface TaskQueryObjectReferenceQuerypublic List<Task> list() throws NotAuthorizedException
BaseQueryT objects.list in interface BaseQuery<Task>NotAuthorizedException - TODOpublic List<Task> list(int offset, int limit) throws NotAuthorizedException
BaseQueryT objects with specified
offset and an limit.list in interface BaseQuery<Task>offset - TODOlimit - TODONotAuthorizedException - TODOpublic TaskImpl single() throws NotAuthorizedException
BaseQueryT.single in interface BaseQuery<Task>NotAuthorizedException - TODOpublic TaskanaEngineImpl getTaskanaEngine()
public void setTaskanaEngine(TaskanaEngineImpl taskanaEngine)
public String[] getName()
public void setName(String[] name)
public String getDescription()
public void setDescription(String description)
public int[] getPriority()
public void setPriority(int[] priority)
public TaskState[] getStates()
public void setStates(TaskState[] states)
public ClassificationQuery getClassificationQuery()
public void setClassificationQuery(ClassificationQuery classificationQuery)
public String[] getWorkbasketKey()
public void setWorkbasketKey(String[] workbasketKey)
public String[] getOwner()
public void setOwner(String[] owner)
public String[] getCustomFields()
public void setCustomFields(String[] customFields)
public Boolean getIsRead()
public void setIsRead(Boolean isRead)
public Boolean getIsTransferred()
public void setIsTransferred(Boolean isTransferred)
public String[] getPorCompanyIn()
public void setPorCompanyIn(String[] porCompanyIn)
public String getPorCompanyLike()
public void setPorCompanyLike(String porCompanyLike)
public String[] getPorSystemIn()
public void setPorSystemIn(String[] porSystemIn)
public String getPorSystemLike()
public void setPorSystemLike(String porSystemLike)
public String[] getPorSystemInstanceIn()
public void setPorSystemInstanceIn(String[] porSystemInstanceIn)
public String getPorSystemInstanceLike()
public void setPorSystemInstanceLike(String porSystemInstanceLike)
public String[] getPorTypeIn()
public void setPorTypeIn(String[] porTypeIn)
public String getPorTypeLike()
public void setPorTypeLike(String porTypeLike)
public String[] getPorValueIn()
public void setPorValueIn(String[] porValueIn)
public String getPorValueLike()
public void setPorValueLike(String porValueLike)
Copyright © 2018. All rights reserved.