org.camunda.bpm.engine.impl.json
Class JsonTaskQueryConverter
java.lang.Object
org.camunda.bpm.engine.impl.json.JsonObjectConverter<TaskQuery>
org.camunda.bpm.engine.impl.json.JsonTaskQueryConverter
public class JsonTaskQueryConverter
- extends JsonObjectConverter<TaskQuery>
- Author:
- Sebastian Menski
|
Method Summary |
protected void |
addArrayField(JSONObject json,
String name,
String[] array)
|
protected void |
addDateField(JSONObject json,
String name,
Date date)
|
protected void |
addDefaultField(JSONObject json,
String name,
Object defaultValue,
Object value)
|
protected void |
addField(JSONObject json,
String name,
Object value)
|
protected void |
addListField(JSONObject json,
String name,
List<String> list)
|
protected void |
addVariable(JSONArray array,
TaskQueryVariableValue variable)
|
protected void |
addVariable(JSONObject json,
String variableType,
TaskQueryVariableValue variable)
|
protected void |
addVariablesFields(JSONObject json,
List<TaskQueryVariableValue> variables)
|
protected List<String> |
getList(JSONArray array)
|
protected void |
setSortBy(TaskQuery query,
String sortBy)
|
JSONObject |
toJsonObject(TaskQuery taskQuery)
|
TaskQuery |
toObject(JSONObject json)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
public static final String ID
- See Also:
- Constant Field Values
TASK_ID
public static final String TASK_ID
- See Also:
- Constant Field Values
NAME
public static final String NAME
- See Also:
- Constant Field Values
NAME_LIKE
public static final String NAME_LIKE
- See Also:
- Constant Field Values
DESCRIPTION
public static final String DESCRIPTION
- See Also:
- Constant Field Values
DESCRIPTION_LIKE
public static final String DESCRIPTION_LIKE
- See Also:
- Constant Field Values
PRIORITY
public static final String PRIORITY
- See Also:
- Constant Field Values
MIN_PRIORITY
public static final String MIN_PRIORITY
- See Also:
- Constant Field Values
MAX_PRIORITY
public static final String MAX_PRIORITY
- See Also:
- Constant Field Values
ASSIGNEE
public static final String ASSIGNEE
- See Also:
- Constant Field Values
ASSIGNEE_LIKE
public static final String ASSIGNEE_LIKE
- See Also:
- Constant Field Values
INVOLVED_USER
public static final String INVOLVED_USER
- See Also:
- Constant Field Values
OWNER
public static final String OWNER
- See Also:
- Constant Field Values
UNASSIGNED
public static final String UNASSIGNED
- See Also:
- Constant Field Values
DELEGATION_STATE
public static final String DELEGATION_STATE
- See Also:
- Constant Field Values
CANDIDATE_USER
public static final String CANDIDATE_USER
- See Also:
- Constant Field Values
CANDIDATE_GROUP
public static final String CANDIDATE_GROUP
- See Also:
- Constant Field Values
CANDIDATE_GROUPS
public static final String CANDIDATE_GROUPS
- See Also:
- Constant Field Values
INSTANCE_ID
public static final String INSTANCE_ID
- See Also:
- Constant Field Values
PROCESS_INSTANCE_ID
public static final String PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
EXECUTION_ID
public static final String EXECUTION_ID
- See Also:
- Constant Field Values
ACTIVITY_INSTANCE_ID_IN
public static final String ACTIVITY_INSTANCE_ID_IN
- See Also:
- Constant Field Values
CREATED
public static final String CREATED
- See Also:
- Constant Field Values
CREATED_BEFORE
public static final String CREATED_BEFORE
- See Also:
- Constant Field Values
CREATED_AFTER
public static final String CREATED_AFTER
- See Also:
- Constant Field Values
KEY
public static final String KEY
- See Also:
- Constant Field Values
KEY_LIKE
public static final String KEY_LIKE
- See Also:
- Constant Field Values
PROCESS_DEFINITION_KEY
public static final String PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
PROCESS_DEFINITION_ID
public static final String PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
PROCESS_DEFINITION_NAME
public static final String PROCESS_DEFINITION_NAME
- See Also:
- Constant Field Values
PROCESS_DEFINITION_NAME_LIKE
public static final String PROCESS_DEFINITION_NAME_LIKE
- See Also:
- Constant Field Values
PROCESS_INSTANCE_BUSINESS_KEY
public static final String PROCESS_INSTANCE_BUSINESS_KEY
- See Also:
- Constant Field Values
PROCESS_INSTANCE_BUSINESS_KEY_LIKE
public static final String PROCESS_INSTANCE_BUSINESS_KEY_LIKE
- See Also:
- Constant Field Values
DUE
public static final String DUE
- See Also:
- Constant Field Values
DUE_DATE
public static final String DUE_DATE
- See Also:
- Constant Field Values
DUE_BEFORE
public static final String DUE_BEFORE
- See Also:
- Constant Field Values
DUE_AFTER
public static final String DUE_AFTER
- See Also:
- Constant Field Values
FOLLOW_UP
public static final String FOLLOW_UP
- See Also:
- Constant Field Values
FOLLOW_UP_DATE
public static final String FOLLOW_UP_DATE
- See Also:
- Constant Field Values
FOLLOW_UP_BEFORE
public static final String FOLLOW_UP_BEFORE
- See Also:
- Constant Field Values
FOLLOW_UP_NULL_ACCEPTED
public static final String FOLLOW_UP_NULL_ACCEPTED
- See Also:
- Constant Field Values
FOLLOW_UP_AFTER
public static final String FOLLOW_UP_AFTER
- See Also:
- Constant Field Values
EXCLUDE_SUBTASKS
public static final String EXCLUDE_SUBTASKS
- See Also:
- Constant Field Values
CASE_DEFINITION_KEY
public static final String CASE_DEFINITION_KEY
- See Also:
- Constant Field Values
CASE_DEFINITION_ID
public static final String CASE_DEFINITION_ID
- See Also:
- Constant Field Values
CASE_DEFINITION_NAME
public static final String CASE_DEFINITION_NAME
- See Also:
- Constant Field Values
CASE_DEFINITION_NAME_LIKE
public static final String CASE_DEFINITION_NAME_LIKE
- See Also:
- Constant Field Values
CASE_INSTANCE_ID
public static final String CASE_INSTANCE_ID
- See Also:
- Constant Field Values
CASE_INSTANCE_BUSINESS_KEY
public static final String CASE_INSTANCE_BUSINESS_KEY
- See Also:
- Constant Field Values
CASE_INSTANCE_BUSINESS_KEY_LIKE
public static final String CASE_INSTANCE_BUSINESS_KEY_LIKE
- See Also:
- Constant Field Values
CASE_EXECUTION_ID
public static final String CASE_EXECUTION_ID
- See Also:
- Constant Field Values
ORDER_BY
public static final String ORDER_BY
- See Also:
- Constant Field Values
ACTIVE
public static final String ACTIVE
- See Also:
- Constant Field Values
SUSPENDED
public static final String SUSPENDED
- See Also:
- Constant Field Values
PROCESS_VARIABLES
public static final String PROCESS_VARIABLES
- See Also:
- Constant Field Values
TASK_VARIABLES
public static final String TASK_VARIABLES
- See Also:
- Constant Field Values
CASE_INSTANCE_VARIABLES
public static final String CASE_INSTANCE_VARIABLES
- See Also:
- Constant Field Values
SORT_BY
public static final String SORT_BY
- See Also:
- Constant Field Values
SORT_ORDER
public static final String SORT_ORDER
- See Also:
- Constant Field Values
variableValueConverter
protected static JsonTaskQueryVariableValueConverter variableValueConverter
JsonTaskQueryConverter
public JsonTaskQueryConverter()
toJsonObject
public JSONObject toJsonObject(TaskQuery taskQuery)
- Specified by:
toJsonObject in class JsonObjectConverter<TaskQuery>
addField
protected void addField(JSONObject json,
String name,
Object value)
addDefaultField
protected void addDefaultField(JSONObject json,
String name,
Object defaultValue,
Object value)
addListField
protected void addListField(JSONObject json,
String name,
List<String> list)
addArrayField
protected void addArrayField(JSONObject json,
String name,
String[] array)
addDateField
protected void addDateField(JSONObject json,
String name,
Date date)
addVariablesFields
protected void addVariablesFields(JSONObject json,
List<TaskQueryVariableValue> variables)
addVariable
protected void addVariable(JSONObject json,
String variableType,
TaskQueryVariableValue variable)
addVariable
protected void addVariable(JSONArray array,
TaskQueryVariableValue variable)
toObject
public TaskQuery toObject(JSONObject json)
- Specified by:
toObject in class JsonObjectConverter<TaskQuery>
getList
protected List<String> getList(JSONArray array)
setSortBy
protected void setSortBy(TaskQuery query,
String sortBy)
Copyright © 2014 camunda services GmbH. All rights reserved.