From 96b7a30f267e1c197d6465a558b912ad28ea5f8d Mon Sep 17 00:00:00 2001 From: insanity Date: Mon, 30 Apr 2018 19:43:58 +0900 Subject: [PATCH] targetservice fixed --- .../service/central/target/TargetService.java | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java index 129051f..0d6e9a3 100644 --- a/src/main/java/com/loafle/overflow/service/central/target/TargetService.java +++ b/src/main/java/com/loafle/overflow/service/central/target/TargetService.java @@ -9,15 +9,15 @@ import com.loafle.overflow.model.target.Target; * Created by insanity on 17. 6. 28. */ public interface TargetService { + + public Target regist(Target target, Probe probe) throws OverflowException; + public void remove(Target target, Probe probe) throws OverflowException; + public Target read(String id) throws OverflowException; + public Target increaseSensorCount(Target target) throws OverflowException; + public Target decreaseSensorCount(Target target) throws OverflowException; + @WebappAPI - Target regist(Target target) throws OverflowException; - @WebappAPI - Target read(String id) throws OverflowException; + public Target modify(Target target) throws OverflowException; @WebappAPI void remove(Target target) throws OverflowException; - - @WebappAPI - public Target regist(Target target, Probe probe) throws OverflowException; - @WebappAPI - public Target remove(Target target, Probe probe) throws OverflowException; }