diff --git a/modules/axelor-open-suite/axelor-qvm/src/main/java/com.axelor/apps.qvm/service/OperationService.java b/modules/axelor-open-suite/axelor-qvm/src/main/java/com.axelor/apps.qvm/service/OperationService.java new file mode 100644 index 00000000..e3e85259 --- /dev/null +++ b/modules/axelor-open-suite/axelor-qvm/src/main/java/com.axelor/apps.qvm/service/OperationService.java @@ -0,0 +1,38 @@ +/* + * Axelor Business Solutions + * + * Copyright (C) 2019 Axelor (). + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License, version 3, + * as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ +package com.axelor.apps.qvm.service; + +import com.axelor.apps.base.db.Company; +import com.axelor.apps.qvm.db.Operation; +import com.axelor.exception.AxelorException; +import com.google.inject.persist.Transactional; + +public interface OperationService { + + @Transactional + public Operation createCalibrationSeq(Company company) throws AxelorException; + + @Transactional + public Operation createQualificationSeq(Company company) throws AxelorException; + + @Transactional + public Operation createOperationSeq(Company company) throws AxelorException; + + @Transactional + public Operation setMachine(Operation operation) throws AxelorException; +}