targetservice fixed

This commit is contained in:
insanity 2018-04-30 19:43:58 +09:00
parent 33a04c6166
commit 96b7a30f26

View File

@ -9,15 +9,15 @@ import com.loafle.overflow.model.target.Target;
* Created by insanity on 17. 6. 28. * Created by insanity on 17. 6. 28.
*/ */
public interface TargetService { public interface TargetService {
@WebappAPI
Target regist(Target target) throws OverflowException; public Target regist(Target target, Probe probe) throws OverflowException;
@WebappAPI public void remove(Target target, Probe probe) throws OverflowException;
Target read(String id) throws OverflowException; public Target read(String id) throws OverflowException;
@WebappAPI public Target increaseSensorCount(Target target) throws OverflowException;
void remove(Target target) throws OverflowException; public Target decreaseSensorCount(Target target) throws OverflowException;
@WebappAPI @WebappAPI
public Target regist(Target target, Probe probe) throws OverflowException; public Target modify(Target target) throws OverflowException;
@WebappAPI @WebappAPI
public Target remove(Target target, Probe probe) throws OverflowException; void remove(Target target) throws OverflowException;
} }