Abandoned Review because of git issues;
[cps.git] / cps / cps-service / src / main / java / org / onap / cps / spi / DataPersistencyService.java
index 4dcd31d..11f9ed0 100644 (file)
@@ -31,4 +31,12 @@ public interface DataPersistencyService {
      * @return jsonEntityID the ID of the JSON entity.
      */
     Integer storeJsonStructure(final String jsonStructure);
+
+    /**
+     * Get the JSON structure from the database using the entity identifier.
+     *
+     * @param jsonStructureId the json entity identifier.
+     * @return a JSON Structure.
+     */
+    String getJsonById(int jsonStructureId);
 }