public class JsonTaskQueryConverter extends JsonObjectConverter<TaskQuery>
Constructor and Description |
---|
JsonTaskQueryConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSuspensionStateField(JSONObject json,
SuspensionState suspensionState) |
protected void |
addTenantIdFields(JSONObject json,
TaskQueryImpl query) |
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) |
JSONObject |
toJsonObject(TaskQuery taskQuery) |
TaskQuery |
toObject(JSONObject json) |
toJson
public static final String ID
public static final String TASK_ID
public static final String NAME
public static final String NAME_LIKE
public static final String DESCRIPTION
public static final String DESCRIPTION_LIKE
public static final String PRIORITY
public static final String MIN_PRIORITY
public static final String MAX_PRIORITY
public static final String ASSIGNEE
public static final String ASSIGNEE_LIKE
public static final String INVOLVED_USER
public static final String OWNER
public static final String UNASSIGNED
public static final String ASSIGNED
public static final String DELEGATION_STATE
public static final String CANDIDATE_USER
public static final String CANDIDATE_GROUP
public static final String CANDIDATE_GROUPS
public static final String WITH_CANDIDATE_GROUPS
public static final String WITHOUT_CANDIDATE_GROUPS
public static final String INCLUDE_ASSIGNED_TASKS
public static final String INSTANCE_ID
public static final String PROCESS_INSTANCE_ID
public static final String EXECUTION_ID
public static final String ACTIVITY_INSTANCE_ID_IN
public static final String CREATED
public static final String CREATED_BEFORE
public static final String CREATED_AFTER
public static final String KEY
public static final String KEYS
public static final String KEY_LIKE
public static final String PARENT_TASK_ID
public static final String PROCESS_DEFINITION_KEY
public static final String PROCESS_DEFINITION_KEYS
public static final String PROCESS_DEFINITION_ID
public static final String PROCESS_DEFINITION_NAME
public static final String PROCESS_DEFINITION_NAME_LIKE
public static final String PROCESS_INSTANCE_BUSINESS_KEY
public static final String PROCESS_INSTANCE_BUSINESS_KEYS
public static final String PROCESS_INSTANCE_BUSINESS_KEY_LIKE
public static final String DUE
public static final String DUE_DATE
public static final String DUE_BEFORE
public static final String DUE_AFTER
public static final String FOLLOW_UP
public static final String FOLLOW_UP_DATE
public static final String FOLLOW_UP_BEFORE
public static final String FOLLOW_UP_NULL_ACCEPTED
public static final String FOLLOW_UP_AFTER
public static final String EXCLUDE_SUBTASKS
public static final String CASE_DEFINITION_KEY
public static final String CASE_DEFINITION_ID
public static final String CASE_DEFINITION_NAME
public static final String CASE_DEFINITION_NAME_LIKE
public static final String CASE_INSTANCE_ID
public static final String CASE_INSTANCE_BUSINESS_KEY
public static final String CASE_INSTANCE_BUSINESS_KEY_LIKE
public static final String CASE_EXECUTION_ID
public static final String ACTIVE
public static final String SUSPENDED
public static final String PROCESS_VARIABLES
public static final String TASK_VARIABLES
public static final String CASE_INSTANCE_VARIABLES
public static final String TENANT_IDS
public static final String WITHOUT_TENANT_ID
public static final String ORDERING_PROPERTIES
@Deprecated public static final String ORDER_BY
protected static JsonTaskQueryVariableValueConverter variableValueConverter
public JSONObject toJsonObject(TaskQuery taskQuery)
toJsonObject
in class JsonObjectConverter<TaskQuery>
protected void addSuspensionStateField(JSONObject json, SuspensionState suspensionState)
protected void addTenantIdFields(JSONObject json, TaskQueryImpl query)
protected void addVariablesFields(JSONObject json, List<TaskQueryVariableValue> variables)
protected void addVariable(JSONObject json, String variableType, TaskQueryVariableValue variable)
protected void addVariable(JSONArray array, TaskQueryVariableValue variable)
public TaskQuery toObject(JSONObject json)
toObject
in class JsonObjectConverter<TaskQuery>
Copyright © 2018. All rights reserved.