Interface ITaskQueryResult
- All Known Implementing Classes:
TaskQueryResult
public interface ITaskQueryResult
This interface is used to represent a task query with case data.
- Since:
- 9.1
- Author:
- A.Pragt
-
Method Summary
Modifier and TypeMethodDescriptionthis method returns the attribute references that this task model contains.getAttributeValue
(AttributeReference attribute) this method returns the value of the attribute from the case the task is defined for.This method returns the case of the task.String[]
this method returns the custom fields defined for this taskgetCustomFieldValue
(String customField) this method returns the value of a custom field for the task.This method returns the task model.
-
Method Details
-
getCaseModel
ICaseModel getCaseModel()This method returns the case of the task.- Returns:
- The model of the case.
-
getTaskModel
ITaskModel getTaskModel()This method returns the task model.- Returns:
- The model of the task.
-
getAttributes
AttributeReference[] getAttributes()this method returns the attribute references that this task model contains.- Returns:
- The attribute references that this task model contains.
-
getAttributeValue
this method returns the value of the attribute from the case the task is defined for.- Parameters:
attribute
- The attribute.- Returns:
- The value of the attribute from the case the task is defined for.
-
getCustomFieldValue
this method returns the value of a custom field for the task.- Parameters:
customField
- The custom field.- Returns:
- The value of a custom field from the task.
-
getCustomFields
String[] getCustomFields()this method returns the custom fields defined for this task- Returns:
- custom field keys
-