Adding UI extensibility
[aai/sparky-be.git] / src / main / java / org / onap / aai / sparky / sync / entity / IndexDocument.java
@@ -20,9 +20,7 @@
  *
  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
  */
-package org.onap.aai.sparky.synchronizer.entity;
-
-import com.fasterxml.jackson.databind.node.ObjectNode;
+package org.onap.aai.sparky.sync.entity;
 
 /**
  * The Interface IndexDocument.
@@ -34,9 +32,8 @@ public interface IndexDocument {
    */
   public void deriveFields();
 
-  public String getIndexDocumentJson();
-
   public String getId();
 
-  public ObjectNode getBulkImportEntity();
+  public String getAsJson() throws Exception;
+
 }