public ProcessDefinitionQuery eventSubscription(String eventType, String eventName) { if (eventName == null) { throw new ActivitiIllegalArgumentException("event name is null"); } if (eventType == null) { throw new ActivitiException("event type is null"); } this.eventSubscriptionType = eventType; this.eventSubscriptionName = eventName; return this; }
@Override public Map<String, Object> getVariablesByTaskId(String taskId) { return taskService.getVariables(taskId); } }
public HistoricProcessInstanceQuery endOr() { if (!inOrStatement) { throw new ActivitiException("endOr() can only be called after calling or()"); } inOrStatement = false; currentOrQueryObject = null; return this; }
public EventSubscriptionQueryImpl activityId(String activityId) { if (activityId == null) { throw new ActivitiIllegalArgumentException("Provided activity id is null"); } this.activityId = activityId; return this; }
public DeadLetterJobQueryImpl jobId(String jobId) { if (jobId == null) { throw new ActivitiIllegalArgumentException("Provided job id is null"); } this.id = jobId; return this; }
public DeploymentQueryImpl deploymentTenantIdLike(String tenantIdLike) { if (tenantIdLike == null) { throw new ActivitiIllegalArgumentException("deploymentTenantIdLike is null"); } this.tenantIdLike = tenantIdLike; return this; }
public ModelQueryImpl modelCategoryNotEquals(String categoryNotEquals) { if (categoryNotEquals == null) { throw new ActivitiIllegalArgumentException("categoryNotEquals is null"); } this.categoryNotEquals = categoryNotEquals; return this; }
public ModelQueryImpl modelNameLike(String nameLike) { if (nameLike == null) { throw new ActivitiIllegalArgumentException("nameLike is null"); } this.nameLike = nameLike; return this; }
public ModelQuery modelKey(String key) { if (key == null) { throw new ActivitiIllegalArgumentException("key is null"); } this.key = key; return this; }
public ProcessDefinitionQueryImpl deploymentId(String deploymentId) { if (deploymentId == null) { throw new ActivitiIllegalArgumentException("id is null"); } this.deploymentId = deploymentId; return this; }
public HistoricVariableInstanceQueryImpl executionId(String executionId) { if (executionId == null) { throw new ActivitiIllegalArgumentException("Execution id is null"); } this.executionId = executionId; return this; }
public ProcessInstanceQuery processInstanceBusinessKey(String businessKey, String processDefinitionKey) { if (businessKey == null) { throw new ActivitiIllegalArgumentException("Business key is null"); } if (inOrStatement) { throw new ActivitiIllegalArgumentException("This method is not supported in an OR statement"); } this.businessKey = businessKey; this.processDefinitionKey = processDefinitionKey; return this; }
@Override public ExecutionQuery processDefinitionCategory(String processDefinitionCategory) { if (processDefinitionCategory == null) { throw new ActivitiIllegalArgumentException("Process definition category is null"); } this.processDefinitionCategory = processDefinitionCategory; return this; }
public ExecutionQuery processInstanceBusinessKey(String businessKey) { if (businessKey == null) { throw new ActivitiIllegalArgumentException("Business key is null"); } this.businessKey = businessKey; return this; }
public ExecutionQueryImpl executionId(String executionId) { if (executionId == null) { throw new ActivitiIllegalArgumentException("Execution id is null"); } this.executionId = executionId; return this; }
public ExecutionQuery startedAfter(Date afterTime) { if (afterTime == null) { throw new ActivitiIllegalArgumentException("after time is null"); } this.startedAfter = afterTime; return this; }
public JobQuery duedateHigherThan(Date date) { if (date == null) { throw new ActivitiIllegalArgumentException("Provided date is null"); } this.duedateHigherThan = date; return this; }
public SuspendedJobQueryImpl executionId(String executionId) { if (executionId == null) { throw new ActivitiIllegalArgumentException("Provided execution id is null"); } this.executionId = executionId; return this; }
public SuspendedJobQueryImpl duedateLowerThan(Date date) { if (date == null) { throw new ActivitiIllegalArgumentException("Provided date is null"); } this.duedateLowerThan = date; return this; }
public SuspendedJobQueryImpl duedateHigherThenOrEquals(Date date) { if (date == null) { throw new ActivitiIllegalArgumentException("Provided date is null"); } this.duedateHigherThanOrEqual = date; return this; }