Making interface changes
MODIFY
modules/registry/registry-cpi/src/main/java/org/apache/airavata/registry/cpi/ApplicationDeployment.java
modules/registry/registry-cpi/src/main/java/org/apache/airavata/registry/cpi/ApplicationDeployment.java
@@ -53,7 +53,20 @@ public interface ApplicationDeployment {
*/
List<ApplicationDeploymentDescription> getApplicationDeployements (Map<String, String> filters) throws AppCatalogException;
- List<ApplicationDeploymentDescription> getAllApplicationDeployements (String gatewayId, List<String> accessibleIds) throws AppCatalogException;
+ /**
+ * This method will return a list of all application deployments
+ * @param gatewayId Gateway ID
+ * @return list of all application deployments
+ */
+ List<ApplicationDeploymentDescription> getAllApplicationDeployements (String gatewayId) throws AppCatalogException;
+
+ /**
+ * This method will return a list of all application deployments
+ * @param gatewayId Gateway ID
+ * @param accessibleAppIds List of Accessible App IDs
+ * @return list of all application deployments accessible to the user
+ */
+ List<ApplicationDeploymentDescription> getAccessibleApplicationDeployements (String gatewayId, List<String> accessibleAppIds) throws AppCatalogException;
List<String> getAllApplicationDeployementIds () throws AppCatalogException;

MODIFY
modules/registry/registry-cpi/src/main/java/org/apache/airavata/registry/cpi/ApplicationInterface.java
modules/registry/registry-cpi/src/main/java/org/apache/airavata/registry/cpi/ApplicationInterface.java
@@ -86,7 +86,20 @@ public interface ApplicationInterface {
*/
List<ApplicationModule> getApplicationModules(Map<String, String> filters) throws AppCatalogException;
- List<ApplicationModule> getAllApplicationModules(String gatewayId, List<String> accessibleAppIds) throws AppCatalogException;
+ /**
+ * This method will return a list of all application modules
+ * @param gatewayId Gateway ID
+ * @return list of all application modules
+ */
+ List<ApplicationModule> getAllApplicationModules(String gatewayId) throws AppCatalogException;
+
+ /**
+ * This method will return a list of all application modules
+ * @param gatewayId Gateway ID
+ * @param accessibleAppIds List of Accessible App IDs accessible to the user
+ * @return list of all application modules accessible to the user
+ */
+ List<ApplicationModule> getAccessibleApplicationModules(String gatewayId, List<String> accessibleAppIds) throws AppCatalogException;
/**
* This method will return a list of application interfaces according to given search criteria

Making interface changes