public class JsonTaskQueryConverter extends JsonObjectConverter<TaskQuery>
Constructor and Description |
---|
JsonTaskQueryConverter() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSuspensionStateField(com.google.gson.JsonObject jsonObject,
SuspensionState suspensionState) |
protected void |
addTenantIdFields(com.google.gson.JsonObject jsonObject,
TaskQueryImpl query) |
protected void |
addVariable(com.google.gson.JsonObject jsonObject,
String variableType,
TaskQueryVariableValue variable) |
protected void |
addVariables(TaskQueryImpl query,
com.google.gson.JsonArray variables,
boolean isTaskVariable,
boolean isProcessVariable) |
protected void |
addVariablesFields(com.google.gson.JsonObject jsonObject,
List<TaskQueryVariableValue> variables) |
protected String[] |
getArray(com.google.gson.JsonArray array) |
protected List<String> |
getList(com.google.gson.JsonArray array) |
com.google.gson.JsonObject |
toJsonObject(TaskQuery taskQuery) |
com.google.gson.JsonObject |
toJsonObject(TaskQuery taskQuery,
boolean isOrQueryActive) |
TaskQuery |
toObject(com.google.gson.JsonObject json) |
toJson
public static final String ID
public static final String TASK_ID
public static final String NAME
public static final String NAME_NOT_EQUAL
public static final String NAME_LIKE
public static final String NAME_NOT_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 ASSIGNEE_IN
public static final String ASSIGNEE_NOT_IN
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 WITH_CANDIDATE_USERS
public static final String WITHOUT_CANDIDATE_USERS
public static final String INCLUDE_ASSIGNED_TASKS
public static final String INSTANCE_ID
public static final String PROCESS_INSTANCE_ID
public static final String PROCESS_INSTANCE_ID_IN
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
public static final String OR_QUERIES
@Deprecated public static final String ORDER_BY
protected static JsonTaskQueryVariableValueConverter variableValueConverter
public com.google.gson.JsonObject toJsonObject(TaskQuery taskQuery)
toJsonObject
in class JsonObjectConverter<TaskQuery>
public com.google.gson.JsonObject toJsonObject(TaskQuery taskQuery, boolean isOrQueryActive)
protected void addSuspensionStateField(com.google.gson.JsonObject jsonObject, SuspensionState suspensionState)
protected void addTenantIdFields(com.google.gson.JsonObject jsonObject, TaskQueryImpl query)
protected void addVariablesFields(com.google.gson.JsonObject jsonObject, List<TaskQueryVariableValue> variables)
protected void addVariable(com.google.gson.JsonObject jsonObject, String variableType, TaskQueryVariableValue variable)
public TaskQuery toObject(com.google.gson.JsonObject json)
toObject
in class JsonObjectConverter<TaskQuery>
protected String[] getArray(com.google.gson.JsonArray array)
protected void addVariables(TaskQueryImpl query, com.google.gson.JsonArray variables, boolean isTaskVariable, boolean isProcessVariable)
Copyright © 2021. All rights reserved.