Divide the MSB source codes into two repos
[msb/apigateway.git] / apiroute / apiroute-service / src / main / java / org / onap / msb / apiroute / wrapper / dao / service / IServiceDAO.java
diff --git a/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/wrapper/dao/service/IServiceDAO.java b/apiroute/apiroute-service/src/main/java/org/onap/msb/apiroute/wrapper/dao/service/IServiceDAO.java
new file mode 100644 (file)
index 0000000..d63f656
--- /dev/null
@@ -0,0 +1,17 @@
+package org.onap.msb.apiroute.wrapper.dao.service;
+
+import java.util.List;
+
+import org.onap.msb.apiroute.wrapper.dao.service.bean.ServiceInfo;
+
+public interface IServiceDAO {
+    public void saveService(String key, ServiceInfo serviceInfo) throws Exception;
+
+    public ServiceInfo queryService(String key) throws Exception;
+
+    public List<ServiceInfo> queryMultiService(String keyPattern) throws Exception;
+
+    public long deleteService(String key) throws Exception;
+
+    public long deleteMultiService(String keyPattern) throws Exception;
+}