http://git-wip-us.apache.org/repos/asf/airavata/blob/bff76559/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
----------------------------------------------------------------------
diff --git 
a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
 
b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
index e041fd5..c355c7e 100644
--- 
a/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
+++ 
b/modules/sharing-registry/sharing-registry-stubs/src/main/java/org/apache/airavata/sharing/registry/service/cpi/GovRegistryService.java
@@ -6,13 +6,13 @@
  */
 package org.apache.airavata.sharing.registry.service.cpi;
 
-import org.apache.airavata.sharing.registry.models.SharingRegistryException;
 import org.apache.thrift.scheme.IScheme;
 import org.apache.thrift.scheme.SchemeFactory;
 import org.apache.thrift.scheme.StandardScheme;
 
 import org.apache.thrift.scheme.TupleScheme;
 import org.apache.thrift.protocol.TTupleProtocol;
+import org.apache.thrift.protocol.TProtocolException;
 import org.apache.thrift.EncodingUtils;
 import org.apache.thrift.TException;
 import org.apache.thrift.async.AsyncMethodCallback;
@@ -22,15 +22,19 @@ import java.util.ArrayList;
 import java.util.Map;
 import java.util.HashMap;
 import java.util.EnumMap;
+import java.util.Set;
+import java.util.HashSet;
 import java.util.EnumSet;
 import java.util.Collections;
 import java.util.BitSet;
+import java.nio.ByteBuffer;
+import java.util.Arrays;
 import javax.annotation.Generated;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
 
 @SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = 
"2016-10-06")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = 
"2016-10-12")
 public class GovRegistryService {
 
   public interface Iface {
@@ -41,15 +45,15 @@ public class GovRegistryService {
      * 
      * @param domain
      */
-    public String 
createDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public String 
createDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean 
updateDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean 
updateDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean deleteDomain(String domainId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean deleteDomain(String domainId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public org.apache.airavata.sharing.registry.models.Domain getDomain(String 
domainId) throws SharingRegistryException, org.apache.thrift.TException;
+    public org.apache.airavata.sharing.registry.models.Domain getDomain(String 
domainId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.Domain> 
getDomains(int offset, int limit) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.Domain> 
getDomains(int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     /**
      *  * User Operations
@@ -57,15 +61,15 @@ public class GovRegistryService {
      * 
      * @param user
      */
-    public String createUser(org.apache.airavata.sharing.registry.models.User 
user) throws SharingRegistryException, org.apache.thrift.TException;
+    public String createUser(org.apache.airavata.sharing.registry.models.User 
user) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean 
updatedUser(org.apache.airavata.sharing.registry.models.User user) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean 
updatedUser(org.apache.airavata.sharing.registry.models.User user) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean deleteUser(String userId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public boolean deleteUser(String userId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public org.apache.airavata.sharing.registry.models.User getUser(String 
userId) throws SharingRegistryException, org.apache.thrift.TException;
+    public org.apache.airavata.sharing.registry.models.User getUser(String 
userId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.User> 
getUsers(String domain, int offset, int limit) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.User> 
getUsers(String domain, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     /**
      *  * Group Operations
@@ -73,25 +77,25 @@ public class GovRegistryService {
      * 
      * @param group
      */
-    public String 
createGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public String 
createGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean 
updateGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean 
updateGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean deleteGroup(String groupId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean deleteGroup(String groupId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public org.apache.airavata.sharing.registry.models.UserGroup 
getGroup(String groupId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public org.apache.airavata.sharing.registry.models.UserGroup 
getGroup(String groupId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getGroups(String domain, int offset, int limit) throws 
org.apache.thrift.TException;
 
-    public boolean addUsersToGroup(List<String> userIds, String groupId) 
throws SharingRegistryException, org.apache.thrift.TException;
+    public boolean addUsersToGroup(List<String> userIds, String groupId) 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean removeUsersFromGroup(List<String> userIds, String groupId) 
throws SharingRegistryException, org.apache.thrift.TException;
+    public boolean removeUsersFromGroup(List<String> userIds, String groupId) 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
getGroupMembers(String groupId, int offset, int limit) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
getGroupMembers(String groupId, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean addChildGroupToParentGroup(String childId, String groupId) 
throws SharingRegistryException, org.apache.thrift.TException;
+    public boolean addChildGroupToParentGroup(String childId, String groupId) 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean removeChildGroupFromParentGroup(String childId, String 
groupId) throws SharingRegistryException, org.apache.thrift.TException;
+    public boolean removeChildGroupFromParentGroup(String childId, String 
groupId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     /**
      *  * EntityType Operations
@@ -99,15 +103,15 @@ public class GovRegistryService {
      * 
      * @param entityType
      */
-    public String 
createEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws SharingRegistryException, org.apache.thrift.TException;
+    public String 
createEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean 
updateEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws SharingRegistryException, org.apache.thrift.TException;
+    public boolean 
updateEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean deleteEntityType(String entityTypeId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean deleteEntityType(String entityTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public org.apache.airavata.sharing.registry.models.EntityType 
getEntityType(String entityTypeId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public org.apache.airavata.sharing.registry.models.EntityType 
getEntityType(String entityTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.EntityType> 
getEntityTypes(String domain, int offset, int limit) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.EntityType> 
getEntityTypes(String domain, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     /**
      *  * Entity Operations
@@ -115,19 +119,19 @@ public class GovRegistryService {
      * 
      * @param entity
      */
-    public String 
createEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public String 
createEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean 
updateEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean 
updateEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean deleteEntity(String entityId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean deleteEntity(String entityId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public org.apache.airavata.sharing.registry.models.Entity getEntity(String 
entityId) throws SharingRegistryException, org.apache.thrift.TException;
+    public org.apache.airavata.sharing.registry.models.Entity getEntity(String 
entityId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.Entity> 
searchEntities(String userId, String entityTypeId, 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters, int offset, int limit) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.Entity> 
searchEntities(String userId, String entityTypeId, 
List<org.apache.airavata.sharing.registry.models.SearchCriteria> filters, int 
offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.User> 
getListOfSharedUsers(String entityId, String permissionTypeId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.User> 
getListOfSharedUsers(String entityId, String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getListOfSharedGroups(String entityId, String permissionTypeId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getListOfSharedGroups(String entityId, String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     /**
      *  * Permission Operations
@@ -135,15 +139,15 @@ public class GovRegistryService {
      * 
      * @param permissionType
      */
-    public String 
createPermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws SharingRegistryException, org.apache.thrift.TException;
+    public String 
createPermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean 
updatePermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws SharingRegistryException, org.apache.thrift.TException;
+    public boolean 
updatePermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean deletePermissionType(String entityTypeId) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean deletePermissionType(String entityTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public org.apache.airavata.sharing.registry.models.PermissionType 
getPermissionType(String permissionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public org.apache.airavata.sharing.registry.models.PermissionType 
getPermissionType(String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public List<org.apache.airavata.sharing.registry.models.PermissionType> 
getPermissionTypes(String domain, int offset, int limit) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public List<org.apache.airavata.sharing.registry.models.PermissionType> 
getPermissionTypes(String domain, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
     /**
      *  * Sharing Entity with Users and Groups
@@ -154,15 +158,15 @@ public class GovRegistryService {
      * @param perssionTypeId
      * @param cascadePermission
      */
-    public boolean shareEntityWithUsers(String entityId, List<String> 
userList, String perssionTypeId, boolean cascadePermission) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean shareEntityWithUsers(String entityId, List<String> 
userList, String perssionTypeId, boolean cascadePermission) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean revokeEntitySharingFromUsers(String entityId, List<String> 
userList, String perssionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public boolean revokeEntitySharingFromUsers(String entityId, List<String> 
userList, String perssionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean shareEntityWithGroups(String entityId, List<String> 
groupList, String perssionTypeId, boolean cascadePermission) throws 
SharingRegistryException, org.apache.thrift.TException;
+    public boolean shareEntityWithGroups(String entityId, List<String> 
groupList, String perssionTypeId, boolean cascadePermission) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean revokeEntitySharingFromGroups(String entityId, List<String> 
groupList, String perssionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public boolean revokeEntitySharingFromGroups(String entityId, List<String> 
groupList, String perssionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
-    public boolean userHasAccess(String domainId, String userId, String 
entityId, String permissionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException;
+    public boolean userHasAccess(String domainId, String userId, String 
entityId, String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException;
 
   }
 
@@ -226,7 +230,7 @@ public class GovRegistryService {
 
     public void getEntity(String entityId, 
org.apache.thrift.async.AsyncMethodCallback resultHandler) throws 
org.apache.thrift.TException;
 
-    public void searchEntities(String userId, String entityTypeId, 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback 
resultHandler) throws org.apache.thrift.TException;
+    public void searchEntities(String userId, String entityTypeId, 
List<org.apache.airavata.sharing.registry.models.SearchCriteria> filters, int 
offset, int limit, org.apache.thrift.async.AsyncMethodCallback resultHandler) 
throws org.apache.thrift.TException;
 
     public void getListOfSharedUsers(String entityId, String permissionTypeId, 
org.apache.thrift.async.AsyncMethodCallback resultHandler) throws 
org.apache.thrift.TException;
 
@@ -274,7 +278,7 @@ public class GovRegistryService {
       super(iprot, oprot);
     }
 
-    public String 
createDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
SharingRegistryException, org.apache.thrift.TException
+    public String 
createDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_createDomain(domain);
       return recv_createDomain();
@@ -287,7 +291,7 @@ public class GovRegistryService {
       sendBase("createDomain", args);
     }
 
-    public String recv_createDomain() throws SharingRegistryException, 
org.apache.thrift.TException
+    public String recv_createDomain() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       createDomain_result result = new createDomain_result();
       receiveBase(result, "createDomain");
@@ -300,7 +304,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "createDomain failed: unknown result");
     }
 
-    public boolean 
updateDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean 
updateDomain(org.apache.airavata.sharing.registry.models.Domain domain) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_updateDomain(domain);
       return recv_updateDomain();
@@ -313,7 +317,7 @@ public class GovRegistryService {
       sendBase("updateDomain", args);
     }
 
-    public boolean recv_updateDomain() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_updateDomain() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       updateDomain_result result = new updateDomain_result();
       receiveBase(result, "updateDomain");
@@ -326,7 +330,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "updateDomain failed: unknown result");
     }
 
-    public boolean deleteDomain(String domainId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean deleteDomain(String domainId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_deleteDomain(domainId);
       return recv_deleteDomain();
@@ -339,7 +343,7 @@ public class GovRegistryService {
       sendBase("deleteDomain", args);
     }
 
-    public boolean recv_deleteDomain() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_deleteDomain() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       deleteDomain_result result = new deleteDomain_result();
       receiveBase(result, "deleteDomain");
@@ -352,7 +356,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "deleteDomain failed: unknown result");
     }
 
-    public org.apache.airavata.sharing.registry.models.Domain getDomain(String 
domainId) throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.Domain getDomain(String 
domainId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getDomain(domainId);
       return recv_getDomain();
@@ -365,7 +369,7 @@ public class GovRegistryService {
       sendBase("getDomain", args);
     }
 
-    public org.apache.airavata.sharing.registry.models.Domain recv_getDomain() 
throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.Domain recv_getDomain() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getDomain_result result = new getDomain_result();
       receiveBase(result, "getDomain");
@@ -378,7 +382,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getDomain failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.Domain> 
getDomains(int offset, int limit) throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.Domain> 
getDomains(int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getDomains(offset, limit);
       return recv_getDomains();
@@ -392,7 +396,7 @@ public class GovRegistryService {
       sendBase("getDomains", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.Domain> 
recv_getDomains() throws SharingRegistryException, org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.Domain> 
recv_getDomains() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getDomains_result result = new getDomains_result();
       receiveBase(result, "getDomains");
@@ -405,7 +409,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getDomains failed: unknown result");
     }
 
-    public String createUser(org.apache.airavata.sharing.registry.models.User 
user) throws SharingRegistryException, org.apache.thrift.TException
+    public String createUser(org.apache.airavata.sharing.registry.models.User 
user) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_createUser(user);
       return recv_createUser();
@@ -418,7 +422,7 @@ public class GovRegistryService {
       sendBase("createUser", args);
     }
 
-    public String recv_createUser() throws SharingRegistryException, 
org.apache.thrift.TException
+    public String recv_createUser() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       createUser_result result = new createUser_result();
       receiveBase(result, "createUser");
@@ -431,7 +435,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "createUser failed: unknown result");
     }
 
-    public boolean 
updatedUser(org.apache.airavata.sharing.registry.models.User user) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean 
updatedUser(org.apache.airavata.sharing.registry.models.User user) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_updatedUser(user);
       return recv_updatedUser();
@@ -444,7 +448,7 @@ public class GovRegistryService {
       sendBase("updatedUser", args);
     }
 
-    public boolean recv_updatedUser() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_updatedUser() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       updatedUser_result result = new updatedUser_result();
       receiveBase(result, "updatedUser");
@@ -457,7 +461,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "updatedUser failed: unknown result");
     }
 
-    public boolean deleteUser(String userId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean deleteUser(String userId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_deleteUser(userId);
       return recv_deleteUser();
@@ -470,7 +474,7 @@ public class GovRegistryService {
       sendBase("deleteUser", args);
     }
 
-    public boolean recv_deleteUser() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_deleteUser() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       deleteUser_result result = new deleteUser_result();
       receiveBase(result, "deleteUser");
@@ -483,7 +487,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "deleteUser failed: unknown result");
     }
 
-    public org.apache.airavata.sharing.registry.models.User getUser(String 
userId) throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.User getUser(String 
userId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getUser(userId);
       return recv_getUser();
@@ -496,7 +500,7 @@ public class GovRegistryService {
       sendBase("getUser", args);
     }
 
-    public org.apache.airavata.sharing.registry.models.User recv_getUser() 
throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.User recv_getUser() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getUser_result result = new getUser_result();
       receiveBase(result, "getUser");
@@ -509,7 +513,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getUser failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.User> 
getUsers(String domain, int offset, int limit) throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.User> 
getUsers(String domain, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getUsers(domain, offset, limit);
       return recv_getUsers();
@@ -524,7 +528,7 @@ public class GovRegistryService {
       sendBase("getUsers", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.User> 
recv_getUsers() throws SharingRegistryException, org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.User> 
recv_getUsers() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getUsers_result result = new getUsers_result();
       receiveBase(result, "getUsers");
@@ -537,7 +541,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getUsers failed: unknown result");
     }
 
-    public String 
createGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
SharingRegistryException, org.apache.thrift.TException
+    public String 
createGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_createGroup(group);
       return recv_createGroup();
@@ -550,7 +554,7 @@ public class GovRegistryService {
       sendBase("createGroup", args);
     }
 
-    public String recv_createGroup() throws SharingRegistryException, 
org.apache.thrift.TException
+    public String recv_createGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       createGroup_result result = new createGroup_result();
       receiveBase(result, "createGroup");
@@ -563,7 +567,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "createGroup failed: unknown result");
     }
 
-    public boolean 
updateGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean 
updateGroup(org.apache.airavata.sharing.registry.models.UserGroup group) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_updateGroup(group);
       return recv_updateGroup();
@@ -576,7 +580,7 @@ public class GovRegistryService {
       sendBase("updateGroup", args);
     }
 
-    public boolean recv_updateGroup() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_updateGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       updateGroup_result result = new updateGroup_result();
       receiveBase(result, "updateGroup");
@@ -589,7 +593,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "updateGroup failed: unknown result");
     }
 
-    public boolean deleteGroup(String groupId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean deleteGroup(String groupId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_deleteGroup(groupId);
       return recv_deleteGroup();
@@ -602,7 +606,7 @@ public class GovRegistryService {
       sendBase("deleteGroup", args);
     }
 
-    public boolean recv_deleteGroup() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_deleteGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       deleteGroup_result result = new deleteGroup_result();
       receiveBase(result, "deleteGroup");
@@ -615,7 +619,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "deleteGroup failed: unknown result");
     }
 
-    public org.apache.airavata.sharing.registry.models.UserGroup 
getGroup(String groupId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.UserGroup 
getGroup(String groupId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getGroup(groupId);
       return recv_getGroup();
@@ -628,7 +632,7 @@ public class GovRegistryService {
       sendBase("getGroup", args);
     }
 
-    public org.apache.airavata.sharing.registry.models.UserGroup 
recv_getGroup() throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.UserGroup 
recv_getGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getGroup_result result = new getGroup_result();
       receiveBase(result, "getGroup");
@@ -666,7 +670,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getGroups failed: unknown result");
     }
 
-    public boolean addUsersToGroup(List<String> userIds, String groupId) 
throws SharingRegistryException, org.apache.thrift.TException
+    public boolean addUsersToGroup(List<String> userIds, String groupId) 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_addUsersToGroup(userIds, groupId);
       return recv_addUsersToGroup();
@@ -680,7 +684,7 @@ public class GovRegistryService {
       sendBase("addUsersToGroup", args);
     }
 
-    public boolean recv_addUsersToGroup() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_addUsersToGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       addUsersToGroup_result result = new addUsersToGroup_result();
       receiveBase(result, "addUsersToGroup");
@@ -693,7 +697,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "addUsersToGroup failed: unknown result");
     }
 
-    public boolean removeUsersFromGroup(List<String> userIds, String groupId) 
throws SharingRegistryException, org.apache.thrift.TException
+    public boolean removeUsersFromGroup(List<String> userIds, String groupId) 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_removeUsersFromGroup(userIds, groupId);
       return recv_removeUsersFromGroup();
@@ -707,7 +711,7 @@ public class GovRegistryService {
       sendBase("removeUsersFromGroup", args);
     }
 
-    public boolean recv_removeUsersFromGroup() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_removeUsersFromGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       removeUsersFromGroup_result result = new removeUsersFromGroup_result();
       receiveBase(result, "removeUsersFromGroup");
@@ -720,7 +724,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "removeUsersFromGroup failed: unknown result");
     }
 
-    public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
getGroupMembers(String groupId, int offset, int limit) throws 
SharingRegistryException, org.apache.thrift.TException
+    public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
getGroupMembers(String groupId, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getGroupMembers(groupId, offset, limit);
       return recv_getGroupMembers();
@@ -735,7 +739,7 @@ public class GovRegistryService {
       sendBase("getGroupMembers", args);
     }
 
-    public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
recv_getGroupMembers() throws SharingRegistryException, 
org.apache.thrift.TException
+    public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
recv_getGroupMembers() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getGroupMembers_result result = new getGroupMembers_result();
       receiveBase(result, "getGroupMembers");
@@ -748,7 +752,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getGroupMembers failed: unknown result");
     }
 
-    public boolean addChildGroupToParentGroup(String childId, String groupId) 
throws SharingRegistryException, org.apache.thrift.TException
+    public boolean addChildGroupToParentGroup(String childId, String groupId) 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_addChildGroupToParentGroup(childId, groupId);
       return recv_addChildGroupToParentGroup();
@@ -762,7 +766,7 @@ public class GovRegistryService {
       sendBase("addChildGroupToParentGroup", args);
     }
 
-    public boolean recv_addChildGroupToParentGroup() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_addChildGroupToParentGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       addChildGroupToParentGroup_result result = new 
addChildGroupToParentGroup_result();
       receiveBase(result, "addChildGroupToParentGroup");
@@ -775,7 +779,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "addChildGroupToParentGroup failed: unknown result");
     }
 
-    public boolean removeChildGroupFromParentGroup(String childId, String 
groupId) throws SharingRegistryException, org.apache.thrift.TException
+    public boolean removeChildGroupFromParentGroup(String childId, String 
groupId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_removeChildGroupFromParentGroup(childId, groupId);
       return recv_removeChildGroupFromParentGroup();
@@ -789,7 +793,7 @@ public class GovRegistryService {
       sendBase("removeChildGroupFromParentGroup", args);
     }
 
-    public boolean recv_removeChildGroupFromParentGroup() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_removeChildGroupFromParentGroup() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       removeChildGroupFromParentGroup_result result = new 
removeChildGroupFromParentGroup_result();
       receiveBase(result, "removeChildGroupFromParentGroup");
@@ -802,7 +806,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "removeChildGroupFromParentGroup failed: unknown result");
     }
 
-    public String 
createEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws SharingRegistryException, org.apache.thrift.TException
+    public String 
createEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_createEntityType(entityType);
       return recv_createEntityType();
@@ -815,7 +819,7 @@ public class GovRegistryService {
       sendBase("createEntityType", args);
     }
 
-    public String recv_createEntityType() throws SharingRegistryException, 
org.apache.thrift.TException
+    public String recv_createEntityType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       createEntityType_result result = new createEntityType_result();
       receiveBase(result, "createEntityType");
@@ -828,7 +832,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "createEntityType failed: unknown result");
     }
 
-    public boolean 
updateEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws SharingRegistryException, org.apache.thrift.TException
+    public boolean 
updateEntityType(org.apache.airavata.sharing.registry.models.EntityType 
entityType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_updateEntityType(entityType);
       return recv_updateEntityType();
@@ -841,7 +845,7 @@ public class GovRegistryService {
       sendBase("updateEntityType", args);
     }
 
-    public boolean recv_updateEntityType() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_updateEntityType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       updateEntityType_result result = new updateEntityType_result();
       receiveBase(result, "updateEntityType");
@@ -854,7 +858,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "updateEntityType failed: unknown result");
     }
 
-    public boolean deleteEntityType(String entityTypeId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean deleteEntityType(String entityTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_deleteEntityType(entityTypeId);
       return recv_deleteEntityType();
@@ -867,7 +871,7 @@ public class GovRegistryService {
       sendBase("deleteEntityType", args);
     }
 
-    public boolean recv_deleteEntityType() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_deleteEntityType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       deleteEntityType_result result = new deleteEntityType_result();
       receiveBase(result, "deleteEntityType");
@@ -880,7 +884,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "deleteEntityType failed: unknown result");
     }
 
-    public org.apache.airavata.sharing.registry.models.EntityType 
getEntityType(String entityTypeId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.EntityType 
getEntityType(String entityTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getEntityType(entityTypeId);
       return recv_getEntityType();
@@ -893,7 +897,7 @@ public class GovRegistryService {
       sendBase("getEntityType", args);
     }
 
-    public org.apache.airavata.sharing.registry.models.EntityType 
recv_getEntityType() throws SharingRegistryException, 
org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.EntityType 
recv_getEntityType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getEntityType_result result = new getEntityType_result();
       receiveBase(result, "getEntityType");
@@ -906,7 +910,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getEntityType failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.EntityType> 
getEntityTypes(String domain, int offset, int limit) throws 
SharingRegistryException, org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.EntityType> 
getEntityTypes(String domain, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getEntityTypes(domain, offset, limit);
       return recv_getEntityTypes();
@@ -921,7 +925,7 @@ public class GovRegistryService {
       sendBase("getEntityTypes", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.EntityType> 
recv_getEntityTypes() throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.EntityType> 
recv_getEntityTypes() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getEntityTypes_result result = new getEntityTypes_result();
       receiveBase(result, "getEntityTypes");
@@ -934,7 +938,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getEntityTypes failed: unknown result");
     }
 
-    public String 
createEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
SharingRegistryException, org.apache.thrift.TException
+    public String 
createEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_createEntity(entity);
       return recv_createEntity();
@@ -947,7 +951,7 @@ public class GovRegistryService {
       sendBase("createEntity", args);
     }
 
-    public String recv_createEntity() throws SharingRegistryException, 
org.apache.thrift.TException
+    public String recv_createEntity() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       createEntity_result result = new createEntity_result();
       receiveBase(result, "createEntity");
@@ -960,7 +964,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "createEntity failed: unknown result");
     }
 
-    public boolean 
updateEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean 
updateEntity(org.apache.airavata.sharing.registry.models.Entity entity) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_updateEntity(entity);
       return recv_updateEntity();
@@ -973,7 +977,7 @@ public class GovRegistryService {
       sendBase("updateEntity", args);
     }
 
-    public boolean recv_updateEntity() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_updateEntity() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       updateEntity_result result = new updateEntity_result();
       receiveBase(result, "updateEntity");
@@ -986,7 +990,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "updateEntity failed: unknown result");
     }
 
-    public boolean deleteEntity(String entityId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean deleteEntity(String entityId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_deleteEntity(entityId);
       return recv_deleteEntity();
@@ -999,7 +1003,7 @@ public class GovRegistryService {
       sendBase("deleteEntity", args);
     }
 
-    public boolean recv_deleteEntity() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_deleteEntity() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       deleteEntity_result result = new deleteEntity_result();
       receiveBase(result, "deleteEntity");
@@ -1012,7 +1016,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "deleteEntity failed: unknown result");
     }
 
-    public org.apache.airavata.sharing.registry.models.Entity getEntity(String 
entityId) throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.Entity getEntity(String 
entityId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getEntity(entityId);
       return recv_getEntity();
@@ -1025,7 +1029,7 @@ public class GovRegistryService {
       sendBase("getEntity", args);
     }
 
-    public org.apache.airavata.sharing.registry.models.Entity recv_getEntity() 
throws SharingRegistryException, org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.Entity recv_getEntity() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getEntity_result result = new getEntity_result();
       receiveBase(result, "getEntity");
@@ -1038,13 +1042,13 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getEntity failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.Entity> 
searchEntities(String userId, String entityTypeId, 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters, int offset, int limit) throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.Entity> 
searchEntities(String userId, String entityTypeId, 
List<org.apache.airavata.sharing.registry.models.SearchCriteria> filters, int 
offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_searchEntities(userId, entityTypeId, filters, offset, limit);
       return recv_searchEntities();
     }
 
-    public void send_searchEntities(String userId, String entityTypeId, 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters, int offset, int limit) throws org.apache.thrift.TException
+    public void send_searchEntities(String userId, String entityTypeId, 
List<org.apache.airavata.sharing.registry.models.SearchCriteria> filters, int 
offset, int limit) throws org.apache.thrift.TException
     {
       searchEntities_args args = new searchEntities_args();
       args.setUserId(userId);
@@ -1055,7 +1059,7 @@ public class GovRegistryService {
       sendBase("searchEntities", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.Entity> 
recv_searchEntities() throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.Entity> 
recv_searchEntities() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       searchEntities_result result = new searchEntities_result();
       receiveBase(result, "searchEntities");
@@ -1068,7 +1072,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "searchEntities failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.User> 
getListOfSharedUsers(String entityId, String permissionTypeId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.User> 
getListOfSharedUsers(String entityId, String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getListOfSharedUsers(entityId, permissionTypeId);
       return recv_getListOfSharedUsers();
@@ -1082,7 +1086,7 @@ public class GovRegistryService {
       sendBase("getListOfSharedUsers", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.User> 
recv_getListOfSharedUsers() throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.User> 
recv_getListOfSharedUsers() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getListOfSharedUsers_result result = new getListOfSharedUsers_result();
       receiveBase(result, "getListOfSharedUsers");
@@ -1095,7 +1099,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getListOfSharedUsers failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getListOfSharedGroups(String entityId, String permissionTypeId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getListOfSharedGroups(String entityId, String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getListOfSharedGroups(entityId, permissionTypeId);
       return recv_getListOfSharedGroups();
@@ -1109,7 +1113,7 @@ public class GovRegistryService {
       sendBase("getListOfSharedGroups", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.UserGroup> 
recv_getListOfSharedGroups() throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.UserGroup> 
recv_getListOfSharedGroups() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getListOfSharedGroups_result result = new getListOfSharedGroups_result();
       receiveBase(result, "getListOfSharedGroups");
@@ -1122,7 +1126,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getListOfSharedGroups failed: unknown result");
     }
 
-    public String 
createPermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws SharingRegistryException, org.apache.thrift.TException
+    public String 
createPermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_createPermissionType(permissionType);
       return recv_createPermissionType();
@@ -1135,7 +1139,7 @@ public class GovRegistryService {
       sendBase("createPermissionType", args);
     }
 
-    public String recv_createPermissionType() throws SharingRegistryException, 
org.apache.thrift.TException
+    public String recv_createPermissionType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       createPermissionType_result result = new createPermissionType_result();
       receiveBase(result, "createPermissionType");
@@ -1148,7 +1152,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "createPermissionType failed: unknown result");
     }
 
-    public boolean 
updatePermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws SharingRegistryException, org.apache.thrift.TException
+    public boolean 
updatePermissionType(org.apache.airavata.sharing.registry.models.PermissionType 
permissionType) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_updatePermissionType(permissionType);
       return recv_updatePermissionType();
@@ -1161,7 +1165,7 @@ public class GovRegistryService {
       sendBase("updatePermissionType", args);
     }
 
-    public boolean recv_updatePermissionType() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_updatePermissionType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       updatePermissionType_result result = new updatePermissionType_result();
       receiveBase(result, "updatePermissionType");
@@ -1174,7 +1178,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "updatePermissionType failed: unknown result");
     }
 
-    public boolean deletePermissionType(String entityTypeId) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean deletePermissionType(String entityTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_deletePermissionType(entityTypeId);
       return recv_deletePermissionType();
@@ -1187,7 +1191,7 @@ public class GovRegistryService {
       sendBase("deletePermissionType", args);
     }
 
-    public boolean recv_deletePermissionType() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_deletePermissionType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       deletePermissionType_result result = new deletePermissionType_result();
       receiveBase(result, "deletePermissionType");
@@ -1200,7 +1204,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "deletePermissionType failed: unknown result");
     }
 
-    public org.apache.airavata.sharing.registry.models.PermissionType 
getPermissionType(String permissionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.PermissionType 
getPermissionType(String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getPermissionType(permissionTypeId);
       return recv_getPermissionType();
@@ -1213,7 +1217,7 @@ public class GovRegistryService {
       sendBase("getPermissionType", args);
     }
 
-    public org.apache.airavata.sharing.registry.models.PermissionType 
recv_getPermissionType() throws SharingRegistryException, 
org.apache.thrift.TException
+    public org.apache.airavata.sharing.registry.models.PermissionType 
recv_getPermissionType() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getPermissionType_result result = new getPermissionType_result();
       receiveBase(result, "getPermissionType");
@@ -1226,7 +1230,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getPermissionType failed: unknown result");
     }
 
-    public List<org.apache.airavata.sharing.registry.models.PermissionType> 
getPermissionTypes(String domain, int offset, int limit) throws 
SharingRegistryException, org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.PermissionType> 
getPermissionTypes(String domain, int offset, int limit) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_getPermissionTypes(domain, offset, limit);
       return recv_getPermissionTypes();
@@ -1241,7 +1245,7 @@ public class GovRegistryService {
       sendBase("getPermissionTypes", args);
     }
 
-    public List<org.apache.airavata.sharing.registry.models.PermissionType> 
recv_getPermissionTypes() throws SharingRegistryException, 
org.apache.thrift.TException
+    public List<org.apache.airavata.sharing.registry.models.PermissionType> 
recv_getPermissionTypes() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       getPermissionTypes_result result = new getPermissionTypes_result();
       receiveBase(result, "getPermissionTypes");
@@ -1254,7 +1258,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "getPermissionTypes failed: unknown result");
     }
 
-    public boolean shareEntityWithUsers(String entityId, List<String> 
userList, String perssionTypeId, boolean cascadePermission) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean shareEntityWithUsers(String entityId, List<String> 
userList, String perssionTypeId, boolean cascadePermission) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_shareEntityWithUsers(entityId, userList, perssionTypeId, 
cascadePermission);
       return recv_shareEntityWithUsers();
@@ -1270,7 +1274,7 @@ public class GovRegistryService {
       sendBase("shareEntityWithUsers", args);
     }
 
-    public boolean recv_shareEntityWithUsers() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_shareEntityWithUsers() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       shareEntityWithUsers_result result = new shareEntityWithUsers_result();
       receiveBase(result, "shareEntityWithUsers");
@@ -1283,7 +1287,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "shareEntityWithUsers failed: unknown result");
     }
 
-    public boolean revokeEntitySharingFromUsers(String entityId, List<String> 
userList, String perssionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean revokeEntitySharingFromUsers(String entityId, List<String> 
userList, String perssionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_revokeEntitySharingFromUsers(entityId, userList, perssionTypeId);
       return recv_revokeEntitySharingFromUsers();
@@ -1298,7 +1302,7 @@ public class GovRegistryService {
       sendBase("revokeEntitySharingFromUsers", args);
     }
 
-    public boolean recv_revokeEntitySharingFromUsers() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_revokeEntitySharingFromUsers() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       revokeEntitySharingFromUsers_result result = new 
revokeEntitySharingFromUsers_result();
       receiveBase(result, "revokeEntitySharingFromUsers");
@@ -1311,7 +1315,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "revokeEntitySharingFromUsers failed: unknown result");
     }
 
-    public boolean shareEntityWithGroups(String entityId, List<String> 
groupList, String perssionTypeId, boolean cascadePermission) throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean shareEntityWithGroups(String entityId, List<String> 
groupList, String perssionTypeId, boolean cascadePermission) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_shareEntityWithGroups(entityId, groupList, perssionTypeId, 
cascadePermission);
       return recv_shareEntityWithGroups();
@@ -1327,7 +1331,7 @@ public class GovRegistryService {
       sendBase("shareEntityWithGroups", args);
     }
 
-    public boolean recv_shareEntityWithGroups() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_shareEntityWithGroups() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       shareEntityWithGroups_result result = new shareEntityWithGroups_result();
       receiveBase(result, "shareEntityWithGroups");
@@ -1340,7 +1344,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "shareEntityWithGroups failed: unknown result");
     }
 
-    public boolean revokeEntitySharingFromGroups(String entityId, List<String> 
groupList, String perssionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean revokeEntitySharingFromGroups(String entityId, List<String> 
groupList, String perssionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_revokeEntitySharingFromGroups(entityId, groupList, perssionTypeId);
       return recv_revokeEntitySharingFromGroups();
@@ -1355,7 +1359,7 @@ public class GovRegistryService {
       sendBase("revokeEntitySharingFromGroups", args);
     }
 
-    public boolean recv_revokeEntitySharingFromGroups() throws 
SharingRegistryException, org.apache.thrift.TException
+    public boolean recv_revokeEntitySharingFromGroups() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       revokeEntitySharingFromGroups_result result = new 
revokeEntitySharingFromGroups_result();
       receiveBase(result, "revokeEntitySharingFromGroups");
@@ -1368,7 +1372,7 @@ public class GovRegistryService {
       throw new 
org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT,
 "revokeEntitySharingFromGroups failed: unknown result");
     }
 
-    public boolean userHasAccess(String domainId, String userId, String 
entityId, String permissionTypeId) throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean userHasAccess(String domainId, String userId, String 
entityId, String permissionTypeId) throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       send_userHasAccess(domainId, userId, entityId, permissionTypeId);
       return recv_userHasAccess();
@@ -1384,7 +1388,7 @@ public class GovRegistryService {
       sendBase("userHasAccess", args);
     }
 
-    public boolean recv_userHasAccess() throws SharingRegistryException, 
org.apache.thrift.TException
+    public boolean recv_userHasAccess() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException
     {
       userHasAccess_result result = new userHasAccess_result();
       receiveBase(result, "userHasAccess");
@@ -1437,7 +1441,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public String getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public String getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1469,7 +1473,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1501,7 +1505,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1533,7 +1537,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public org.apache.airavata.sharing.registry.models.Domain getResult() 
throws SharingRegistryException, org.apache.thrift.TException {
+      public org.apache.airavata.sharing.registry.models.Domain getResult() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1568,7 +1572,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public List<org.apache.airavata.sharing.registry.models.Domain> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public List<org.apache.airavata.sharing.registry.models.Domain> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1600,7 +1604,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public String getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public String getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1632,7 +1636,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1664,7 +1668,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1696,7 +1700,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public org.apache.airavata.sharing.registry.models.User getResult() 
throws SharingRegistryException, org.apache.thrift.TException {
+      public org.apache.airavata.sharing.registry.models.User getResult() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1734,7 +1738,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public List<org.apache.airavata.sharing.registry.models.User> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public List<org.apache.airavata.sharing.registry.models.User> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1766,7 +1770,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public String getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public String getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1798,7 +1802,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1830,7 +1834,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1862,7 +1866,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public org.apache.airavata.sharing.registry.models.UserGroup getResult() 
throws SharingRegistryException, org.apache.thrift.TException {
+      public org.apache.airavata.sharing.registry.models.UserGroup getResult() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1935,7 +1939,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -1970,7 +1974,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2008,7 +2012,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public 
Map<String,org.apache.airavata.sharing.registry.models.GroupChildType> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2043,7 +2047,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2078,7 +2082,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2110,7 +2114,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public String getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public String getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2142,7 +2146,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2174,7 +2178,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2206,7 +2210,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public org.apache.airavata.sharing.registry.models.EntityType 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public org.apache.airavata.sharing.registry.models.EntityType 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2244,7 +2248,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public List<org.apache.airavata.sharing.registry.models.EntityType> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public List<org.apache.airavata.sharing.registry.models.EntityType> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2276,7 +2280,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public String getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public String getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2308,7 +2312,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2340,7 +2344,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2372,7 +2376,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public org.apache.airavata.sharing.registry.models.Entity getResult() 
throws SharingRegistryException, org.apache.thrift.TException {
+      public org.apache.airavata.sharing.registry.models.Entity getResult() 
throws org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2382,7 +2386,7 @@ public class GovRegistryService {
       }
     }
 
-    public void searchEntities(String userId, String entityTypeId, 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback 
resultHandler) throws org.apache.thrift.TException {
+    public void searchEntities(String userId, String entityTypeId, 
List<org.apache.airavata.sharing.registry.models.SearchCriteria> filters, int 
offset, int limit, org.apache.thrift.async.AsyncMethodCallback resultHandler) 
throws org.apache.thrift.TException {
       checkReady();
       searchEntities_call method_call = new searchEntities_call(userId, 
entityTypeId, filters, offset, limit, resultHandler, this, ___protocolFactory, 
___transport);
       this.___currentMethod = method_call;
@@ -2392,10 +2396,10 @@ public class GovRegistryService {
     public static class searchEntities_call extends 
org.apache.thrift.async.TAsyncMethodCall {
       private String userId;
       private String entityTypeId;
-      private 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters;
+      private List<org.apache.airavata.sharing.registry.models.SearchCriteria> 
filters;
       private int offset;
       private int limit;
-      public searchEntities_call(String userId, String entityTypeId, 
Map<org.apache.airavata.sharing.registry.models.EntitySearchFields,String> 
filters, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback 
resultHandler, org.apache.thrift.async.TAsyncClient client, 
org.apache.thrift.protocol.TProtocolFactory protocolFactory, 
org.apache.thrift.transport.TNonblockingTransport transport) throws 
org.apache.thrift.TException {
+      public searchEntities_call(String userId, String entityTypeId, 
List<org.apache.airavata.sharing.registry.models.SearchCriteria> filters, int 
offset, int limit, org.apache.thrift.async.AsyncMethodCallback resultHandler, 
org.apache.thrift.async.TAsyncClient client, 
org.apache.thrift.protocol.TProtocolFactory protocolFactory, 
org.apache.thrift.transport.TNonblockingTransport transport) throws 
org.apache.thrift.TException {
         super(client, protocolFactory, transport, resultHandler, false);
         this.userId = userId;
         this.entityTypeId = entityTypeId;
@@ -2416,7 +2420,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public List<org.apache.airavata.sharing.registry.models.Entity> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public List<org.apache.airavata.sharing.registry.models.Entity> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2451,7 +2455,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public List<org.apache.airavata.sharing.registry.models.User> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public List<org.apache.airavata.sharing.registry.models.User> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2486,7 +2490,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getResult() throws SharingRegistryException, org.apache.thrift.TException {
+      public List<org.apache.airavata.sharing.registry.models.UserGroup> 
getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2518,7 +2522,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public String getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public String getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2550,7 +2554,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() throws SharingRegistryException, 
org.apache.thrift.TException {
+      public boolean getResult() throws 
org.apache.airavata.sharing.registry.models.SharingRegistryException, 
org.apache.thrift.TException {
         if (getState() != 
org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
           throw new IllegalStateException("Method call not finished!");
         }
@@ -2582,7 +2586,7 @@ public class GovRegistryService {
         prot.writeMessageEnd();
       }
 
-      public boolean getResult() thro

<TRUNCATED>

Reply via email to