X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=src%2Fmain%2Fjava%2Forg%2Fonap%2Fcrud%2Fdao%2FGraphDao.java;h=867cf564c6eafaae3333081461cdaa214b4b4a3f;hb=f60a17c6abb6deef1c24f917488745cbc6e6a566;hp=7cb3d4ca679e6ef6a42897757c61bf8f05868bef;hpb=3bc6a702f2d3d8710c7aaa94cdc8c0ccf3deb759;p=aai%2Fgizmo.git diff --git a/src/main/java/org/onap/crud/dao/GraphDao.java b/src/main/java/org/onap/crud/dao/GraphDao.java index 7cb3d4c..867cf56 100644 --- a/src/main/java/org/onap/crud/dao/GraphDao.java +++ b/src/main/java/org/onap/crud/dao/GraphDao.java @@ -24,6 +24,7 @@ import java.util.List; import java.util.Map; import java.util.Set; import org.onap.aai.restclient.client.OperationResult; +import org.onap.crud.dao.champ.ChampBulkPayload; import org.onap.crud.entity.Edge; import org.onap.crud.entity.Vertex; import org.onap.crud.exception.CrudException; @@ -91,7 +92,7 @@ public interface GraphDao { * @throws CrudException */ public OperationResult getEdge(String id, String type, Map queryParams) throws CrudException; - + /** * Retrieve a collection of {@link Edge} objects with a given type and which * match a set of supplied filter parameters. @@ -187,7 +188,7 @@ public interface GraphDao { public Vertex addVertex(String type, Map properties, String version, String txId) throws CrudException; public Edge addEdge(String type, Vertex source, Vertex target, Map properties, String version, String txId) - throws CrudException; + throws CrudException; public Vertex updateVertex(String id, String type, Map properties, String version, String txId) throws CrudException; @@ -198,6 +199,8 @@ public interface GraphDao { public void deleteEdge(String id, String txId) throws CrudException; public Edge getEdge(String id, String txId) throws CrudException; - + public Edge getEdge(String id) throws CrudException; + + public OperationResult bulkOperation(ChampBulkPayload champPayload) throws CrudException; }