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; }