io.camunda.operate.webapp.writer.BatchOperationWriter Maven / Gradle / Ivy
/*
* Copyright Camunda Services GmbH and/or licensed to Camunda Services GmbH under
* one or more contributor license agreements. See the NOTICE file distributed
* with this work for additional information regarding copyright ownership.
* Licensed under the Camunda License 1.0. You may not use this file
* except in compliance with the Camunda License 1.0.
*/
package io.camunda.operate.webapp.writer;
import io.camunda.operate.exceptions.PersistenceException;
import io.camunda.operate.webapp.rest.dto.operation.CreateBatchOperationRequestDto;
import io.camunda.operate.webapp.rest.dto.operation.CreateOperationRequestDto;
import io.camunda.operate.webapp.rest.dto.operation.ModifyProcessInstanceRequestDto;
import io.camunda.webapps.schema.entities.operate.ProcessEntity;
import io.camunda.webapps.schema.entities.operate.dmn.definition.DecisionDefinitionEntity;
import io.camunda.webapps.schema.entities.operation.BatchOperationEntity;
import io.camunda.webapps.schema.entities.operation.OperationEntity;
import java.util.List;
public interface BatchOperationWriter {
List lockBatch() throws PersistenceException;
void updateOperation(OperationEntity operation) throws PersistenceException;
BatchOperationEntity scheduleBatchOperation(CreateBatchOperationRequestDto batchOperationRequest);
BatchOperationEntity scheduleSingleOperation(
long processInstanceKey, CreateOperationRequestDto operationRequest);
BatchOperationEntity scheduleModifyProcessInstance(ModifyProcessInstanceRequestDto modifyRequest);
BatchOperationEntity scheduleDeleteDecisionDefinition(
DecisionDefinitionEntity decisionDefinitionEntity);
BatchOperationEntity scheduleDeleteProcessDefinition(ProcessEntity processEntity);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy