Add gremlin-based pagination to aai-common
[aai/aai-common.git] / aai-core / src / main / java / org / onap / aai / util / RestControllerInterface.java
index f5eed42..6d20a01 100644 (file)
@@ -20,8 +20,9 @@
 
 package org.onap.aai.util;
 
+import java.lang.reflect.InvocationTargetException;
+
 import org.onap.aai.exceptions.AAIException;
-import org.onap.aai.util.RestObject;
 
 public interface RestControllerInterface {
 
@@ -39,7 +40,8 @@ public interface RestControllerInterface {
 
     public void Delete(String sourceID, String transId, String path) throws AAIException;
 
-    public <T> T getInstance(Class<T> clazz) throws IllegalAccessException, InstantiationException;
+    public <T> T getInstance(Class<T> clazz) throws IllegalAccessException, InstantiationException,
+            IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException;
 
     public <T> T DoesResourceExist(String resourcePath, String resourceClassName, String fromAppId, String transId);
 }