public class TaskQueryImpl extends Object implements TaskQuery
| Constructor and Description |
|---|
TaskQueryImpl(TaskanaEngine taskanaEngine) |
| Modifier and Type | Method and Description |
|---|---|
TaskQuery |
classificationKeyIn(String... classificationKey)
Add your classificationKey to your query.
|
ObjectReferenceQuery |
createObjectReferenceQuery()
This method provides a query builder for quering the database.
|
TaskQuery |
customFieldsIn(String... customFields)
Filter the custom fields with this query.
|
TaskQuery |
descriptionLike(String description)
Add your description for pattern matching to your query.
|
TaskQuery |
domainIn(String... domain)
Add your domain to the query.
|
String[] |
getClassificationKey() |
String[] |
getCustomFields() |
String |
getDescription() |
String[] |
getDomain() |
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<TaskSummary> |
list()
This method will return a list of defined
T objects. |
List<TaskSummary> |
list(int offset,
int limit)
This method will return a list of defined
T objects with specified offset and an limit. |
TaskQuery |
nameIn(String... names)
Add your names to your query.
|
TaskQuery |
noteLike(String note)
Add your custom note for pattern matching to your query.
|
TaskQuery |
ownerIn(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 |
priorityIn(int... priorities)
Add your priorities to your query.
|
TaskQuery |
readEquals(Boolean isRead)
Add the isRead flag to the query.
|
void |
setTaskanaEngine(TaskanaEngineImpl taskanaEngine) |
TaskSummary |
single()
This method will return a single object of
T. |
TaskQuery |
stateIn(TaskState... states)
Add your state to your query.
|
String |
toString() |
TaskQuery |
transferredEquals(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 nameIn(String... names)
TaskQuerypublic TaskQuery descriptionLike(String description)
TaskQuerydescriptionLike in interface TaskQuerydescription - your descriptionpublic TaskQuery noteLike(String note)
TaskQuerypublic TaskQuery priorityIn(int... priorities)
TaskQuerypriorityIn in interface TaskQuerypriorities - as a integerpublic TaskQuery stateIn(TaskState... states)
TaskQuerypublic TaskQuery classificationKeyIn(String... classificationKey)
TaskQueryclassificationKeyIn in interface TaskQueryclassificationKey - the classification keypublic TaskQuery workbasketKeyIn(String... workbasketKeys)
TaskQueryworkbasketKeyIn in interface TaskQueryworkbasketKeys - the workbasket keys as Stringpublic TaskQuery domainIn(String... domain)
TaskQuerypublic TaskQuery ownerIn(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 readEquals(Boolean isRead)
TaskQueryreadEquals in interface TaskQueryisRead - as Boolean. If null, it won't be integrated into the statement. You have to set false.public TaskQuery transferredEquals(Boolean isTransferred)
TaskQuerytransferredEquals in interface TaskQueryisTransferred - as Boolean. If null, it won't be integrated into the statement. You have to set false.public TaskQuery customFieldsIn(String... customFields)
TaskQuerycustomFieldsIn in interface TaskQuerycustomFields - the value in the fieldspublic ObjectReferenceQuery createObjectReferenceQuery()
TaskQuerycreateObjectReferenceQuery in interface TaskQueryObjectReferenceQuerypublic List<TaskSummary> list() throws NotAuthorizedException
BaseQueryT objects.list in interface BaseQuery<TaskSummary>NotAuthorizedException - if the user is not authorized to perform this querypublic List<TaskSummary> list(int offset, int limit) throws NotAuthorizedException
BaseQueryT objects with specified offset and an limit.list in interface BaseQuery<TaskSummary>offset - index of the first element which should be returned.limit - number of elements which should be returned beginning with offset.NotAuthorizedException - if the user is not authorized to perform this querypublic TaskSummary single() throws NotAuthorizedException
BaseQueryT.single in interface BaseQuery<TaskSummary>NotAuthorizedException - if the user is not authorized to perform this querypublic TaskanaEngineImpl getTaskanaEngine()
public void setTaskanaEngine(TaskanaEngineImpl taskanaEngine)
public String[] getName()
public String getDescription()
public int[] getPriority()
public TaskState[] getStates()
public String[] getClassificationKey()
public String[] getWorkbasketKey()
public String[] getDomain()
public String[] getOwner()
public String[] getCustomFields()
public Boolean getIsRead()
public Boolean getIsTransferred()
public String[] getPorCompanyIn()
public String getPorCompanyLike()
public String[] getPorSystemIn()
public String getPorSystemLike()
public String[] getPorSystemInstanceIn()
public String getPorSystemInstanceLike()
public String[] getPorTypeIn()
public String getPorTypeLike()
public String[] getPorValueIn()
public String getPorValueLike()
Copyright © 2018. All rights reserved.