SEBSERV-160
This commit is contained in:
parent
d0407645d8
commit
f7a8fb4a33
3 changed files with 39 additions and 0 deletions
|
@ -18,6 +18,11 @@ public final class API {
|
|||
ACTIVATE
|
||||
}
|
||||
|
||||
public enum BatchActionType {
|
||||
EXAM_CONFIG_STATE_CHANGE,
|
||||
EXAM_CONFIG_APPLY_TEMPLATE_VALUES
|
||||
}
|
||||
|
||||
public static final String SEB_FILE_EXTENSION = "seb";
|
||||
|
||||
public static final String PARAM_LOGO_IMAGE = "logoImageBase64";
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
/*
|
||||
* Copyright (c) 2021 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;
|
||||
|
||||
import ch.ethz.seb.sebserver.gbl.api.API.BatchActionType;
|
||||
import ch.ethz.seb.sebserver.gbl.model.EntityKey;
|
||||
import ch.ethz.seb.sebserver.gbl.util.Result;
|
||||
|
||||
public interface BatchActionExec {
|
||||
|
||||
BatchActionType actionType();
|
||||
|
||||
Result<EntityKey> doSingleAction(EntityKey entityKey);
|
||||
|
||||
}
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (c) 2021 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;
|
||||
|
||||
public interface BatchActionService {
|
||||
|
||||
}
|
Loading…
Reference in a new issue