diff --git a/pom.xml b/pom.xml
index aedfae0..52cba03 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,7 @@
com.loafle.overflow
commons-java
jar
- 1.0.103-SNAPSHOT
+ 1.0.104-SNAPSHOT
com.loafle.overflow.commons-java
diff --git a/src/main/java/com/loafle/overflow/service/central/sensor/SensorService.java b/src/main/java/com/loafle/overflow/service/central/sensor/SensorService.java
index 04d9025..99d0b22 100644
--- a/src/main/java/com/loafle/overflow/service/central/sensor/SensorService.java
+++ b/src/main/java/com/loafle/overflow/service/central/sensor/SensorService.java
@@ -2,10 +2,9 @@ package com.loafle.overflow.service.central.sensor;
import com.loafle.overflow.core.annotation.WebappAPI;
import com.loafle.overflow.core.exception.OverflowException;
-import com.loafle.overflow.core.model.PageParams;
+import com.loafle.overflow.model.meta.MetaDisplayItemMapping;
import com.loafle.overflow.model.sensor.Sensor;
-import com.loafle.overflow.model.sensor.SensorItem;
-import org.springframework.data.domain.Page;
+import com.loafle.overflow.model.sensorconfig.Target;
import java.util.List;
@@ -14,35 +13,23 @@ import java.util.List;
*/
public interface SensorService {
@WebappAPI
- Sensor regist(Sensor sensor, Long targetID) throws OverflowException;
+ Sensor regist(Sensor sensor, List metaDisplayItemMappings) throws OverflowException;
@WebappAPI
Sensor read(Long id) throws OverflowException;
@WebappAPI
- void remove(Long id, Long targetID) throws OverflowException;
+ void remove(Long id) throws OverflowException;
@WebappAPI
- Page readAllByProbeID(Long probeID, PageParams pageParams) throws OverflowException;
+ List readAll() throws OverflowException;
@WebappAPI
- Page readAllByDomainID(Long domainID, PageParams pageParams) throws OverflowException;
+ List readAllByTargetID(Long targetID) throws OverflowException;
@WebappAPI
- Page readAllByInfraID(Long infraID, PageParams pageParams) throws OverflowException;
+ List readAllByTargetIn(List targets) throws OverflowException;
@WebappAPI
- Page readAllByTargetID(Long targetID, PageParams pageParams) throws OverflowException;
-
- Sensor increaseSensorItemCount(Long id) throws OverflowException;
-
- Sensor decreaseSensorItemCount(Long id) throws OverflowException;
-
-
- @WebappAPI
- Sensor registSensorConfig(Sensor sensor, List sensorItemList, String etcJson) throws OverflowException;
-
- @WebappAPI
- String generateSensorConfig(Sensor sensor) throws OverflowException;
-
+ List readAllByTargetInfraProbeID(Long probeID) throws OverflowException;
}