From e985e7aa82ddd847fc8e61ca7b7832bc40504062 Mon Sep 17 00:00:00 2001 From: anhefti Date: Thu, 9 Mar 2023 08:38:45 +0100 Subject: [PATCH] delete in 1.3 --- .../bulkaction/impl/DeleteExamConfig.java | 67 ------------------- 1 file changed, 67 deletions(-) delete mode 100644 src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/bulkaction/impl/DeleteExamConfig.java diff --git a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/bulkaction/impl/DeleteExamConfig.java b/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/bulkaction/impl/DeleteExamConfig.java deleted file mode 100644 index ec271e6b..00000000 --- a/src/main/java/ch/ethz/seb/sebserver/webservice/servicelayer/bulkaction/impl/DeleteExamConfig.java +++ /dev/null @@ -1,67 +0,0 @@ -/* - * Copyright (c) 2023 ETH Zürich, Educational Development and Technology (LET) - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - */ - -package ch.ethz.seb.sebserver.webservice.servicelayer.bulkaction.impl; - -import java.util.Map; - -import org.springframework.context.annotation.Lazy; -import org.springframework.stereotype.Component; - -import ch.ethz.seb.sebserver.gbl.api.API.BatchActionType; -import ch.ethz.seb.sebserver.gbl.api.APIMessage; -import ch.ethz.seb.sebserver.gbl.model.BatchAction; -import ch.ethz.seb.sebserver.gbl.model.EntityKey; -import ch.ethz.seb.sebserver.gbl.profile.WebServiceProfile; -import ch.ethz.seb.sebserver.gbl.util.Result; -import ch.ethz.seb.sebserver.webservice.servicelayer.authorization.AuthorizationService; -import ch.ethz.seb.sebserver.webservice.servicelayer.bulkaction.BatchActionExec; -import ch.ethz.seb.sebserver.webservice.servicelayer.dao.ConfigurationNodeDAO; -import ch.ethz.seb.sebserver.webservice.servicelayer.dao.ExamConfigurationMapDAO; -import ch.ethz.seb.sebserver.webservice.servicelayer.dao.UserActivityLogDAO; - -@Lazy -@Component -@WebServiceProfile -public class DeleteExamConfig implements BatchActionExec { - - private final ConfigurationNodeDAO configurationNodeDAO; - private final ExamConfigurationMapDAO examConfigurationMapDAO; - private final AuthorizationService authorization; - private final UserActivityLogDAO userActivityLogDAO; - - public DeleteExamConfig( - final ConfigurationNodeDAO configurationNodeDAO, - final ExamConfigurationMapDAO examConfigurationMapDAO, - final AuthorizationService authorization, - final UserActivityLogDAO userActivityLogDAO) { - - this.configurationNodeDAO = configurationNodeDAO; - this.examConfigurationMapDAO = examConfigurationMapDAO; - this.authorization = authorization; - this.userActivityLogDAO = userActivityLogDAO; - } - - @Override - public BatchActionType actionType() { - return BatchActionType.EXAM_CONFIG_DELETE; - } - - @Override - public APIMessage checkConsistency(final Map actionAttributes) { - // no additional check here - return null; - } - - @Override - public Result doSingleAction(final String modelId, final BatchAction batchAction) { - // TODO Auto-generated method stub - return null; - } - -}