Package 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
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description JsonTaskQueryConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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)
protected TaskQuery
toObject(com.google.gson.JsonObject json, boolean isOrQuery)
-
Methods inherited from class org.camunda.bpm.engine.impl.json.JsonObjectConverter
toJson
-
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
TASK_ID
public static final String TASK_ID
- See Also:
- Constant Field Values
-
TASK_ID_IN
public static final String TASK_ID_IN
- See Also:
- Constant Field Values
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
NAME_NOT_EQUAL
public static final String NAME_NOT_EQUAL
- See Also:
- Constant Field Values
-
NAME_LIKE
public static final String NAME_LIKE
- See Also:
- Constant Field Values
-
NAME_NOT_LIKE
public static final String NAME_NOT_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
-
ASSIGNEE_IN
public static final String ASSIGNEE_IN
- See Also:
- Constant Field Values
-
ASSIGNEE_NOT_IN
public static final String ASSIGNEE_NOT_IN
- 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
-
ASSIGNED
public static final String ASSIGNED
- 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
-
WITH_CANDIDATE_GROUPS
public static final String WITH_CANDIDATE_GROUPS
- See Also:
- Constant Field Values
-
WITHOUT_CANDIDATE_GROUPS
public static final String WITHOUT_CANDIDATE_GROUPS
- See Also:
- Constant Field Values
-
WITH_CANDIDATE_USERS
public static final String WITH_CANDIDATE_USERS
- See Also:
- Constant Field Values
-
WITHOUT_CANDIDATE_USERS
public static final String WITHOUT_CANDIDATE_USERS
- See Also:
- Constant Field Values
-
INCLUDE_ASSIGNED_TASKS
public static final String INCLUDE_ASSIGNED_TASKS
- 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
-
PROCESS_INSTANCE_ID_IN
public static final String PROCESS_INSTANCE_ID_IN
- 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
-
UPDATED_AFTER
public static final String UPDATED_AFTER
- See Also:
- Constant Field Values
-
KEY
public static final String KEY
- See Also:
- Constant Field Values
-
KEYS
public static final String KEYS
- See Also:
- Constant Field Values
-
KEY_LIKE
public static final String KEY_LIKE
- See Also:
- Constant Field Values
-
PARENT_TASK_ID
public static final String PARENT_TASK_ID
- See Also:
- Constant Field Values
-
PROCESS_DEFINITION_KEY
public static final String PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
PROCESS_DEFINITION_KEYS
public static final String PROCESS_DEFINITION_KEYS
- 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_KEYS
public static final String PROCESS_INSTANCE_BUSINESS_KEYS
- 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
-
WITHOUT_DUE_DATE
public static final String WITHOUT_DUE_DATE
- 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
-
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
-
TENANT_IDS
public static final String TENANT_IDS
- See Also:
- Constant Field Values
-
WITHOUT_TENANT_ID
public static final String WITHOUT_TENANT_ID
- See Also:
- Constant Field Values
-
ORDERING_PROPERTIES
public static final String ORDERING_PROPERTIES
- See Also:
- Constant Field Values
-
OR_QUERIES
public static final String OR_QUERIES
- See Also:
- Constant Field Values
-
ORDER_BY
@Deprecated public static final String ORDER_BY
Deprecated.Exists for backwards compatibility with 7.2; deprecated since 7.3- See Also:
- Constant Field Values
-
variableValueConverter
protected static JsonTaskQueryVariableValueConverter variableValueConverter
-
-
Method Detail
-
toJsonObject
public com.google.gson.JsonObject toJsonObject(TaskQuery taskQuery)
- Specified by:
toJsonObject
in classJsonObjectConverter<TaskQuery>
-
toJsonObject
public com.google.gson.JsonObject toJsonObject(TaskQuery taskQuery, boolean isOrQueryActive)
-
addSuspensionStateField
protected void addSuspensionStateField(com.google.gson.JsonObject jsonObject, SuspensionState suspensionState)
-
addTenantIdFields
protected void addTenantIdFields(com.google.gson.JsonObject jsonObject, TaskQueryImpl query)
-
addVariablesFields
protected void addVariablesFields(com.google.gson.JsonObject jsonObject, List<TaskQueryVariableValue> variables)
-
addVariable
protected void addVariable(com.google.gson.JsonObject jsonObject, String variableType, TaskQueryVariableValue variable)
-
toObject
public TaskQuery toObject(com.google.gson.JsonObject json)
- Specified by:
toObject
in classJsonObjectConverter<TaskQuery>
-
toObject
protected TaskQuery toObject(com.google.gson.JsonObject json, boolean isOrQuery)
-
getArray
protected String[] getArray(com.google.gson.JsonArray array)
-
addVariables
protected void addVariables(TaskQueryImpl query, com.google.gson.JsonArray variables, boolean isTaskVariable, boolean isProcessVariable)
-
-