You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airavata.apache.org by ma...@apache.org on 2017/02/02 21:23:54 UTC
[02/14] airavata git commit: making corrections to user profile
service code
http://git-wip-us.apache.org/repos/asf/airavata/blob/8f6f2183/modules/user-profile/user-profile-stubs/src/main/java/org/apache/airavata/userprofile/crude/cpi/UserProfileCrudeService.java
----------------------------------------------------------------------
diff --git a/modules/user-profile/user-profile-stubs/src/main/java/org/apache/airavata/userprofile/crude/cpi/UserProfileCrudeService.java b/modules/user-profile/user-profile-stubs/src/main/java/org/apache/airavata/userprofile/crude/cpi/UserProfileCrudeService.java
index 7692d99..29ae7da 100644
--- a/modules/user-profile/user-profile-stubs/src/main/java/org/apache/airavata/userprofile/crude/cpi/UserProfileCrudeService.java
+++ b/modules/user-profile/user-profile-stubs/src/main/java/org/apache/airavata/userprofile/crude/cpi/UserProfileCrudeService.java
@@ -1,3 +1,19 @@
+ /*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements. See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License. You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
/**
* Autogenerated by Thrift Compiler (0.9.3)
*
@@ -34,42 +50,42 @@ import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings({"cast", "rawtypes", "serial", "unchecked"})
-@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)", date = "2016-11-29")
+@Generated(value = "Autogenerated by Thrift Compiler (0.9.3)")
public class UserProfileCrudeService {
public interface Iface {
- public String addUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public String addUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
- public boolean updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public boolean updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
- public org.apache.airavata.model.user.UserProfile getUserProfileById(String userId, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public org.apache.airavata.model.user.UserProfile getUserProfileById(String userId, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
- public boolean deleteUserProfile(String userId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public boolean deleteUserProfile(String userId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
- public List<org.apache.airavata.model.user.UserProfile> getAllUserProfilesInGateway(String gatewayId, int offset, int limit) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public List<org.apache.airavata.model.user.UserProfile> getAllUserProfilesInGateway(String gatewayId, int offset, int limit) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
- public org.apache.airavata.model.user.UserProfile getUserProfileByName(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public org.apache.airavata.model.user.UserProfile getUserProfileByName(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
- public boolean doesUserExist(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException;
+ public boolean doesUserExist(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException;
}
public interface AsyncIface {
- public void addUserProfile(org.apache.airavata.model.user.UserProfile userProfile, AsyncMethodCallback resultHandler) throws TException;
+ public void addUserProfile(org.apache.airavata.model.user.UserProfile userProfile, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile, AsyncMethodCallback resultHandler) throws TException;
+ public void updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void getUserProfileById(String userId, String gatewayId, AsyncMethodCallback resultHandler) throws TException;
+ public void getUserProfileById(String userId, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void deleteUserProfile(String userId, AsyncMethodCallback resultHandler) throws TException;
+ public void deleteUserProfile(String userId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void getAllUserProfilesInGateway(String gatewayId, int offset, int limit, AsyncMethodCallback resultHandler) throws TException;
+ public void getAllUserProfilesInGateway(String gatewayId, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void getUserProfileByName(String userName, String gatewayId, AsyncMethodCallback resultHandler) throws TException;
+ public void getUserProfileByName(String userName, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
- public void doesUserExist(String userName, String gatewayId, AsyncMethodCallback resultHandler) throws TException;
+ public void doesUserExist(String userName, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException;
}
@@ -93,20 +109,20 @@ public class UserProfileCrudeService {
super(iprot, oprot);
}
- public String addUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public String addUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_addUserProfile(userProfile);
return recv_addUserProfile();
}
- public void send_addUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws TException
+ public void send_addUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.thrift.TException
{
addUserProfile_args args = new addUserProfile_args();
args.setUserProfile(userProfile);
sendBase("addUserProfile", args);
}
- public String recv_addUserProfile() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public String recv_addUserProfile() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
addUserProfile_result result = new addUserProfile_result();
receiveBase(result, "addUserProfile");
@@ -119,20 +135,20 @@ public class UserProfileCrudeService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "addUserProfile failed: unknown result");
}
- public boolean updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public boolean updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_updateUserProfile(userProfile);
return recv_updateUserProfile();
}
- public void send_updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws TException
+ public void send_updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile) throws org.apache.thrift.TException
{
updateUserProfile_args args = new updateUserProfile_args();
args.setUserProfile(userProfile);
sendBase("updateUserProfile", args);
}
- public boolean recv_updateUserProfile() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public boolean recv_updateUserProfile() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
updateUserProfile_result result = new updateUserProfile_result();
receiveBase(result, "updateUserProfile");
@@ -145,13 +161,13 @@ public class UserProfileCrudeService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "updateUserProfile failed: unknown result");
}
- public org.apache.airavata.model.user.UserProfile getUserProfileById(String userId, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public org.apache.airavata.model.user.UserProfile getUserProfileById(String userId, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_getUserProfileById(userId, gatewayId);
return recv_getUserProfileById();
}
- public void send_getUserProfileById(String userId, String gatewayId) throws TException
+ public void send_getUserProfileById(String userId, String gatewayId) throws org.apache.thrift.TException
{
getUserProfileById_args args = new getUserProfileById_args();
args.setUserId(userId);
@@ -159,7 +175,7 @@ public class UserProfileCrudeService {
sendBase("getUserProfileById", args);
}
- public org.apache.airavata.model.user.UserProfile recv_getUserProfileById() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public org.apache.airavata.model.user.UserProfile recv_getUserProfileById() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
getUserProfileById_result result = new getUserProfileById_result();
receiveBase(result, "getUserProfileById");
@@ -172,20 +188,20 @@ public class UserProfileCrudeService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserProfileById failed: unknown result");
}
- public boolean deleteUserProfile(String userId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public boolean deleteUserProfile(String userId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_deleteUserProfile(userId);
return recv_deleteUserProfile();
}
- public void send_deleteUserProfile(String userId) throws TException
+ public void send_deleteUserProfile(String userId) throws org.apache.thrift.TException
{
deleteUserProfile_args args = new deleteUserProfile_args();
args.setUserId(userId);
sendBase("deleteUserProfile", args);
}
- public boolean recv_deleteUserProfile() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public boolean recv_deleteUserProfile() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
deleteUserProfile_result result = new deleteUserProfile_result();
receiveBase(result, "deleteUserProfile");
@@ -198,13 +214,13 @@ public class UserProfileCrudeService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteUserProfile failed: unknown result");
}
- public List<org.apache.airavata.model.user.UserProfile> getAllUserProfilesInGateway(String gatewayId, int offset, int limit) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public List<org.apache.airavata.model.user.UserProfile> getAllUserProfilesInGateway(String gatewayId, int offset, int limit) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_getAllUserProfilesInGateway(gatewayId, offset, limit);
return recv_getAllUserProfilesInGateway();
}
- public void send_getAllUserProfilesInGateway(String gatewayId, int offset, int limit) throws TException
+ public void send_getAllUserProfilesInGateway(String gatewayId, int offset, int limit) throws org.apache.thrift.TException
{
getAllUserProfilesInGateway_args args = new getAllUserProfilesInGateway_args();
args.setGatewayId(gatewayId);
@@ -213,7 +229,7 @@ public class UserProfileCrudeService {
sendBase("getAllUserProfilesInGateway", args);
}
- public List<org.apache.airavata.model.user.UserProfile> recv_getAllUserProfilesInGateway() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public List<org.apache.airavata.model.user.UserProfile> recv_getAllUserProfilesInGateway() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
getAllUserProfilesInGateway_result result = new getAllUserProfilesInGateway_result();
receiveBase(result, "getAllUserProfilesInGateway");
@@ -226,13 +242,13 @@ public class UserProfileCrudeService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUserProfilesInGateway failed: unknown result");
}
- public org.apache.airavata.model.user.UserProfile getUserProfileByName(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public org.apache.airavata.model.user.UserProfile getUserProfileByName(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_getUserProfileByName(userName, gatewayId);
return recv_getUserProfileByName();
}
- public void send_getUserProfileByName(String userName, String gatewayId) throws TException
+ public void send_getUserProfileByName(String userName, String gatewayId) throws org.apache.thrift.TException
{
getUserProfileByName_args args = new getUserProfileByName_args();
args.setUserName(userName);
@@ -240,7 +256,7 @@ public class UserProfileCrudeService {
sendBase("getUserProfileByName", args);
}
- public org.apache.airavata.model.user.UserProfile recv_getUserProfileByName() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public org.apache.airavata.model.user.UserProfile recv_getUserProfileByName() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
getUserProfileByName_result result = new getUserProfileByName_result();
receiveBase(result, "getUserProfileByName");
@@ -253,13 +269,13 @@ public class UserProfileCrudeService {
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserProfileByName failed: unknown result");
}
- public boolean doesUserExist(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public boolean doesUserExist(String userName, String gatewayId) throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
send_doesUserExist(userName, gatewayId);
return recv_doesUserExist();
}
- public void send_doesUserExist(String userName, String gatewayId) throws TException
+ public void send_doesUserExist(String userName, String gatewayId) throws org.apache.thrift.TException
{
doesUserExist_args args = new doesUserExist_args();
args.setUserName(userName);
@@ -267,7 +283,7 @@ public class UserProfileCrudeService {
sendBase("doesUserExist", args);
}
- public boolean recv_doesUserExist() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException
+ public boolean recv_doesUserExist() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException
{
doesUserExist_result result = new doesUserExist_result();
receiveBase(result, "doesUserExist");
@@ -298,7 +314,7 @@ public class UserProfileCrudeService {
super(protocolFactory, clientManager, transport);
}
- public void addUserProfile(org.apache.airavata.model.user.UserProfile userProfile, AsyncMethodCallback resultHandler) throws TException {
+ public void addUserProfile(org.apache.airavata.model.user.UserProfile userProfile, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
addUserProfile_call method_call = new addUserProfile_call(userProfile, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -307,12 +323,12 @@ public class UserProfileCrudeService {
public static class addUserProfile_call extends org.apache.thrift.async.TAsyncMethodCall {
private org.apache.airavata.model.user.UserProfile userProfile;
- public addUserProfile_call(org.apache.airavata.model.user.UserProfile userProfile, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public addUserProfile_call(org.apache.airavata.model.user.UserProfile userProfile, 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.userProfile = userProfile;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("addUserProfile", org.apache.thrift.protocol.TMessageType.CALL, 0));
addUserProfile_args args = new addUserProfile_args();
args.setUserProfile(userProfile);
@@ -320,8 +336,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public String getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public String getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -330,7 +346,7 @@ public class UserProfileCrudeService {
}
}
- public void updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile, AsyncMethodCallback resultHandler) throws TException {
+ public void updateUserProfile(org.apache.airavata.model.user.UserProfile userProfile, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
updateUserProfile_call method_call = new updateUserProfile_call(userProfile, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -339,12 +355,12 @@ public class UserProfileCrudeService {
public static class updateUserProfile_call extends org.apache.thrift.async.TAsyncMethodCall {
private org.apache.airavata.model.user.UserProfile userProfile;
- public updateUserProfile_call(org.apache.airavata.model.user.UserProfile userProfile, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public updateUserProfile_call(org.apache.airavata.model.user.UserProfile userProfile, 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.userProfile = userProfile;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("updateUserProfile", org.apache.thrift.protocol.TMessageType.CALL, 0));
updateUserProfile_args args = new updateUserProfile_args();
args.setUserProfile(userProfile);
@@ -352,8 +368,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -362,7 +378,7 @@ public class UserProfileCrudeService {
}
}
- public void getUserProfileById(String userId, String gatewayId, AsyncMethodCallback resultHandler) throws TException {
+ public void getUserProfileById(String userId, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getUserProfileById_call method_call = new getUserProfileById_call(userId, gatewayId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -372,13 +388,13 @@ public class UserProfileCrudeService {
public static class getUserProfileById_call extends org.apache.thrift.async.TAsyncMethodCall {
private String userId;
private String gatewayId;
- public getUserProfileById_call(String userId, String gatewayId, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public getUserProfileById_call(String userId, String gatewayId, 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.gatewayId = gatewayId;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserProfileById", org.apache.thrift.protocol.TMessageType.CALL, 0));
getUserProfileById_args args = new getUserProfileById_args();
args.setUserId(userId);
@@ -387,8 +403,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public org.apache.airavata.model.user.UserProfile getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public org.apache.airavata.model.user.UserProfile getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -397,7 +413,7 @@ public class UserProfileCrudeService {
}
}
- public void deleteUserProfile(String userId, AsyncMethodCallback resultHandler) throws TException {
+ public void deleteUserProfile(String userId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
deleteUserProfile_call method_call = new deleteUserProfile_call(userId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -406,12 +422,12 @@ public class UserProfileCrudeService {
public static class deleteUserProfile_call extends org.apache.thrift.async.TAsyncMethodCall {
private String userId;
- public deleteUserProfile_call(String userId, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public deleteUserProfile_call(String userId, 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;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteUserProfile", org.apache.thrift.protocol.TMessageType.CALL, 0));
deleteUserProfile_args args = new deleteUserProfile_args();
args.setUserId(userId);
@@ -419,8 +435,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -429,7 +445,7 @@ public class UserProfileCrudeService {
}
}
- public void getAllUserProfilesInGateway(String gatewayId, int offset, int limit, AsyncMethodCallback resultHandler) throws TException {
+ public void getAllUserProfilesInGateway(String gatewayId, int offset, int limit, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getAllUserProfilesInGateway_call method_call = new getAllUserProfilesInGateway_call(gatewayId, offset, limit, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -440,14 +456,14 @@ public class UserProfileCrudeService {
private String gatewayId;
private int offset;
private int limit;
- public getAllUserProfilesInGateway_call(String gatewayId, int offset, int limit, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public getAllUserProfilesInGateway_call(String gatewayId, 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.gatewayId = gatewayId;
this.offset = offset;
this.limit = limit;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllUserProfilesInGateway", org.apache.thrift.protocol.TMessageType.CALL, 0));
getAllUserProfilesInGateway_args args = new getAllUserProfilesInGateway_args();
args.setGatewayId(gatewayId);
@@ -457,8 +473,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public List<org.apache.airavata.model.user.UserProfile> getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public List<org.apache.airavata.model.user.UserProfile> getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -467,7 +483,7 @@ public class UserProfileCrudeService {
}
}
- public void getUserProfileByName(String userName, String gatewayId, AsyncMethodCallback resultHandler) throws TException {
+ public void getUserProfileByName(String userName, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
getUserProfileByName_call method_call = new getUserProfileByName_call(userName, gatewayId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -477,13 +493,13 @@ public class UserProfileCrudeService {
public static class getUserProfileByName_call extends org.apache.thrift.async.TAsyncMethodCall {
private String userName;
private String gatewayId;
- public getUserProfileByName_call(String userName, String gatewayId, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public getUserProfileByName_call(String userName, String gatewayId, 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.userName = userName;
this.gatewayId = gatewayId;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserProfileByName", org.apache.thrift.protocol.TMessageType.CALL, 0));
getUserProfileByName_args args = new getUserProfileByName_args();
args.setUserName(userName);
@@ -492,8 +508,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public org.apache.airavata.model.user.UserProfile getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public org.apache.airavata.model.user.UserProfile getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -502,7 +518,7 @@ public class UserProfileCrudeService {
}
}
- public void doesUserExist(String userName, String gatewayId, AsyncMethodCallback resultHandler) throws TException {
+ public void doesUserExist(String userName, String gatewayId, org.apache.thrift.async.AsyncMethodCallback resultHandler) throws org.apache.thrift.TException {
checkReady();
doesUserExist_call method_call = new doesUserExist_call(userName, gatewayId, resultHandler, this, ___protocolFactory, ___transport);
this.___currentMethod = method_call;
@@ -512,13 +528,13 @@ public class UserProfileCrudeService {
public static class doesUserExist_call extends org.apache.thrift.async.TAsyncMethodCall {
private String userName;
private String gatewayId;
- public doesUserExist_call(String userName, String gatewayId, AsyncMethodCallback resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws TException {
+ public doesUserExist_call(String userName, String gatewayId, 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.userName = userName;
this.gatewayId = gatewayId;
}
- public void write_args(org.apache.thrift.protocol.TProtocol prot) throws TException {
+ public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("doesUserExist", org.apache.thrift.protocol.TMessageType.CALL, 0));
doesUserExist_args args = new doesUserExist_args();
args.setUserName(userName);
@@ -527,8 +543,8 @@ public class UserProfileCrudeService {
prot.writeMessageEnd();
}
- public boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, TException {
- if (getState() != State.RESPONSE_READ) {
+ public boolean getResult() throws org.apache.airavata.registry.api.exception.RegistryServiceException, org.apache.thrift.TException {
+ if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
throw new IllegalStateException("Method call not finished!");
}
org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
@@ -573,7 +589,7 @@ public class UserProfileCrudeService {
return false;
}
- public addUserProfile_result getResult(I iface, addUserProfile_args args) throws TException {
+ public addUserProfile_result getResult(I iface, addUserProfile_args args) throws org.apache.thrift.TException {
addUserProfile_result result = new addUserProfile_result();
try {
result.success = iface.addUserProfile(args.userProfile);
@@ -597,7 +613,7 @@ public class UserProfileCrudeService {
return false;
}
- public updateUserProfile_result getResult(I iface, updateUserProfile_args args) throws TException {
+ public updateUserProfile_result getResult(I iface, updateUserProfile_args args) throws org.apache.thrift.TException {
updateUserProfile_result result = new updateUserProfile_result();
try {
result.success = iface.updateUserProfile(args.userProfile);
@@ -622,7 +638,7 @@ public class UserProfileCrudeService {
return false;
}
- public getUserProfileById_result getResult(I iface, getUserProfileById_args args) throws TException {
+ public getUserProfileById_result getResult(I iface, getUserProfileById_args args) throws org.apache.thrift.TException {
getUserProfileById_result result = new getUserProfileById_result();
try {
result.success = iface.getUserProfileById(args.userId, args.gatewayId);
@@ -646,7 +662,7 @@ public class UserProfileCrudeService {
return false;
}
- public deleteUserProfile_result getResult(I iface, deleteUserProfile_args args) throws TException {
+ public deleteUserProfile_result getResult(I iface, deleteUserProfile_args args) throws org.apache.thrift.TException {
deleteUserProfile_result result = new deleteUserProfile_result();
try {
result.success = iface.deleteUserProfile(args.userId);
@@ -671,7 +687,7 @@ public class UserProfileCrudeService {
return false;
}
- public getAllUserProfilesInGateway_result getResult(I iface, getAllUserProfilesInGateway_args args) throws TException {
+ public getAllUserProfilesInGateway_result getResult(I iface, getAllUserProfilesInGateway_args args) throws org.apache.thrift.TException {
getAllUserProfilesInGateway_result result = new getAllUserProfilesInGateway_result();
try {
result.success = iface.getAllUserProfilesInGateway(args.gatewayId, args.offset, args.limit);
@@ -695,7 +711,7 @@ public class UserProfileCrudeService {
return false;
}
- public getUserProfileByName_result getResult(I iface, getUserProfileByName_args args) throws TException {
+ public getUserProfileByName_result getResult(I iface, getUserProfileByName_args args) throws org.apache.thrift.TException {
getUserProfileByName_result result = new getUserProfileByName_result();
try {
result.success = iface.getUserProfileByName(args.userName, args.gatewayId);
@@ -719,7 +735,7 @@ public class UserProfileCrudeService {
return false;
}
- public doesUserExist_result getResult(I iface, doesUserExist_args args) throws TException {
+ public doesUserExist_result getResult(I iface, doesUserExist_args args) throws org.apache.thrift.TException {
doesUserExist_result result = new doesUserExist_result();
try {
result.success = iface.doesUserExist(args.userName, args.gatewayId);
@@ -806,7 +822,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, addUserProfile_args args, AsyncMethodCallback<String> resultHandler) throws TException {
+ public void start(I iface, addUserProfile_args args, org.apache.thrift.async.AsyncMethodCallback<String> resultHandler) throws TException {
iface.addUserProfile(args.userProfile,resultHandler);
}
}
@@ -864,7 +880,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, updateUserProfile_args args, AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ public void start(I iface, updateUserProfile_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
iface.updateUserProfile(args.userProfile,resultHandler);
}
}
@@ -921,7 +937,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, getUserProfileById_args args, AsyncMethodCallback<org.apache.airavata.model.user.UserProfile> resultHandler) throws TException {
+ public void start(I iface, getUserProfileById_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.user.UserProfile> resultHandler) throws TException {
iface.getUserProfileById(args.userId, args.gatewayId,resultHandler);
}
}
@@ -979,7 +995,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, deleteUserProfile_args args, AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ public void start(I iface, deleteUserProfile_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
iface.deleteUserProfile(args.userId,resultHandler);
}
}
@@ -1036,7 +1052,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, getAllUserProfilesInGateway_args args, AsyncMethodCallback<List<org.apache.airavata.model.user.UserProfile>> resultHandler) throws TException {
+ public void start(I iface, getAllUserProfilesInGateway_args args, org.apache.thrift.async.AsyncMethodCallback<List<org.apache.airavata.model.user.UserProfile>> resultHandler) throws TException {
iface.getAllUserProfilesInGateway(args.gatewayId, args.offset, args.limit,resultHandler);
}
}
@@ -1093,7 +1109,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, getUserProfileByName_args args, AsyncMethodCallback<org.apache.airavata.model.user.UserProfile> resultHandler) throws TException {
+ public void start(I iface, getUserProfileByName_args args, org.apache.thrift.async.AsyncMethodCallback<org.apache.airavata.model.user.UserProfile> resultHandler) throws TException {
iface.getUserProfileByName(args.userName, args.gatewayId,resultHandler);
}
}
@@ -1151,7 +1167,7 @@ public class UserProfileCrudeService {
return false;
}
- public void start(I iface, doesUserExist_args args, AsyncMethodCallback<Boolean> resultHandler) throws TException {
+ public void start(I iface, doesUserExist_args args, org.apache.thrift.async.AsyncMethodCallback<Boolean> resultHandler) throws TException {
iface.doesUserExist(args.userName, args.gatewayId,resultHandler);
}
}
@@ -1388,11 +1404,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -1412,10 +1428,10 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
if (userProfile == null) {
- throw new TProtocolException("Required field 'userProfile' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'userProfile' was not present! Struct: " + toString());
}
// check for sub-struct validity
if (userProfile != null) {
@@ -1426,7 +1442,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -1434,7 +1450,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -1447,7 +1463,7 @@ public class UserProfileCrudeService {
private static class addUserProfile_argsStandardScheme extends StandardScheme<addUserProfile_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addUserProfile_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addUserProfile_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -1477,7 +1493,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addUserProfile_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addUserProfile_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -1501,13 +1517,13 @@ public class UserProfileCrudeService {
private static class addUserProfile_argsTupleScheme extends TupleScheme<addUserProfile_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addUserProfile_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addUserProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
struct.userProfile.write(oprot);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addUserProfile_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addUserProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.userProfile = new org.apache.airavata.model.user.UserProfile();
struct.userProfile.read(iprot);
@@ -1821,11 +1837,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -1853,7 +1869,7 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
@@ -1861,7 +1877,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -1869,7 +1885,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -1882,7 +1898,7 @@ public class UserProfileCrudeService {
private static class addUserProfile_resultStandardScheme extends StandardScheme<addUserProfile_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, addUserProfile_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, addUserProfile_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -1920,7 +1936,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, addUserProfile_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, addUserProfile_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -1949,7 +1965,7 @@ public class UserProfileCrudeService {
private static class addUserProfile_resultTupleScheme extends TupleScheme<addUserProfile_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, addUserProfile_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, addUserProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -1968,7 +1984,7 @@ public class UserProfileCrudeService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, addUserProfile_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, addUserProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
@@ -2215,11 +2231,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -2239,10 +2255,10 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
if (userProfile == null) {
- throw new TProtocolException("Required field 'userProfile' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'userProfile' was not present! Struct: " + toString());
}
// check for sub-struct validity
if (userProfile != null) {
@@ -2253,7 +2269,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -2261,7 +2277,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -2274,7 +2290,7 @@ public class UserProfileCrudeService {
private static class updateUserProfile_argsStandardScheme extends StandardScheme<updateUserProfile_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, updateUserProfile_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, updateUserProfile_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -2304,7 +2320,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, updateUserProfile_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, updateUserProfile_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -2328,13 +2344,13 @@ public class UserProfileCrudeService {
private static class updateUserProfile_argsTupleScheme extends TupleScheme<updateUserProfile_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
struct.userProfile.write(oprot);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.userProfile = new org.apache.airavata.model.user.UserProfile();
struct.userProfile.read(iprot);
@@ -2650,11 +2666,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -2678,7 +2694,7 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
@@ -2686,7 +2702,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -2696,7 +2712,7 @@ public class UserProfileCrudeService {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -2709,7 +2725,7 @@ public class UserProfileCrudeService {
private static class updateUserProfile_resultStandardScheme extends StandardScheme<updateUserProfile_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, updateUserProfile_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, updateUserProfile_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -2747,7 +2763,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, updateUserProfile_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, updateUserProfile_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -2776,7 +2792,7 @@ public class UserProfileCrudeService {
private static class updateUserProfile_resultTupleScheme extends TupleScheme<updateUserProfile_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -2795,7 +2811,7 @@ public class UserProfileCrudeService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, updateUserProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
@@ -3116,11 +3132,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -3148,13 +3164,13 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
if (userId == null) {
- throw new TProtocolException("Required field 'userId' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'userId' was not present! Struct: " + toString());
}
if (gatewayId == null) {
- throw new TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -3162,7 +3178,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -3170,7 +3186,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -3183,7 +3199,7 @@ public class UserProfileCrudeService {
private static class getUserProfileById_argsStandardScheme extends StandardScheme<getUserProfileById_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getUserProfileById_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getUserProfileById_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -3220,7 +3236,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getUserProfileById_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getUserProfileById_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -3249,14 +3265,14 @@ public class UserProfileCrudeService {
private static class getUserProfileById_argsTupleScheme extends TupleScheme<getUserProfileById_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeString(struct.userId);
oprot.writeString(struct.gatewayId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.userId = iprot.readString();
struct.setUserIdIsSet(true);
@@ -3571,11 +3587,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -3603,7 +3619,7 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
if (success != null) {
@@ -3614,7 +3630,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -3622,7 +3638,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -3635,7 +3651,7 @@ public class UserProfileCrudeService {
private static class getUserProfileById_resultStandardScheme extends StandardScheme<getUserProfileById_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getUserProfileById_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getUserProfileById_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -3674,7 +3690,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getUserProfileById_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getUserProfileById_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -3703,7 +3719,7 @@ public class UserProfileCrudeService {
private static class getUserProfileById_resultTupleScheme extends TupleScheme<getUserProfileById_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -3722,7 +3738,7 @@ public class UserProfileCrudeService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getUserProfileById_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
@@ -3970,11 +3986,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -3994,10 +4010,10 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
if (userId == null) {
- throw new TProtocolException("Required field 'userId' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'userId' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -4005,7 +4021,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -4013,7 +4029,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -4026,7 +4042,7 @@ public class UserProfileCrudeService {
private static class deleteUserProfile_argsStandardScheme extends StandardScheme<deleteUserProfile_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, deleteUserProfile_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, deleteUserProfile_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -4055,7 +4071,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, deleteUserProfile_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteUserProfile_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -4079,13 +4095,13 @@ public class UserProfileCrudeService {
private static class deleteUserProfile_argsTupleScheme extends TupleScheme<deleteUserProfile_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeString(struct.userId);
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.userId = iprot.readString();
struct.setUserIdIsSet(true);
@@ -4400,11 +4416,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -4428,7 +4444,7 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
@@ -4436,7 +4452,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -4446,7 +4462,7 @@ public class UserProfileCrudeService {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -4459,7 +4475,7 @@ public class UserProfileCrudeService {
private static class deleteUserProfile_resultStandardScheme extends StandardScheme<deleteUserProfile_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, deleteUserProfile_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, deleteUserProfile_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -4497,7 +4513,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, deleteUserProfile_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, deleteUserProfile_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -4526,7 +4542,7 @@ public class UserProfileCrudeService {
private static class deleteUserProfile_resultTupleScheme extends TupleScheme<deleteUserProfile_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -4545,7 +4561,7 @@ public class UserProfileCrudeService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, deleteUserProfile_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
@@ -4942,11 +4958,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -4974,10 +4990,10 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
if (gatewayId == null) {
- throw new TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
}
// alas, we cannot check 'offset' because it's a primitive and you chose the non-beans generator.
// alas, we cannot check 'limit' because it's a primitive and you chose the non-beans generator.
@@ -4987,7 +5003,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -4997,7 +5013,7 @@ public class UserProfileCrudeService {
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
__isset_bitfield = 0;
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -5010,7 +5026,7 @@ public class UserProfileCrudeService {
private static class getAllUserProfilesInGateway_argsStandardScheme extends StandardScheme<getAllUserProfilesInGateway_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getAllUserProfilesInGateway_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAllUserProfilesInGateway_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -5053,15 +5069,15 @@ public class UserProfileCrudeService {
// check for required fields of primitive type, which can't be checked in the validate method
if (!struct.isSetOffset()) {
- throw new TProtocolException("Required field 'offset' was not found in serialized data! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'offset' was not found in serialized data! Struct: " + toString());
}
if (!struct.isSetLimit()) {
- throw new TProtocolException("Required field 'limit' was not found in serialized data! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'limit' was not found in serialized data! Struct: " + toString());
}
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getAllUserProfilesInGateway_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllUserProfilesInGateway_args struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -5091,7 +5107,7 @@ public class UserProfileCrudeService {
private static class getAllUserProfilesInGateway_argsTupleScheme extends TupleScheme<getAllUserProfilesInGateway_args> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_args struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_args struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
oprot.writeString(struct.gatewayId);
oprot.writeI32(struct.offset);
@@ -5099,7 +5115,7 @@ public class UserProfileCrudeService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_args struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
struct.gatewayId = iprot.readString();
struct.setGatewayIdIsSet(true);
@@ -5436,11 +5452,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -5468,7 +5484,7 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
// check for sub-struct validity
}
@@ -5476,7 +5492,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -5484,7 +5500,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -5497,7 +5513,7 @@ public class UserProfileCrudeService {
private static class getAllUserProfilesInGateway_resultStandardScheme extends StandardScheme<getAllUserProfilesInGateway_result> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getAllUserProfilesInGateway_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getAllUserProfilesInGateway_result struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -5546,7 +5562,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getAllUserProfilesInGateway_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot, getAllUserProfilesInGateway_result struct) throws org.apache.thrift.TException {
struct.validate();
oprot.writeStructBegin(STRUCT_DESC);
@@ -5582,7 +5598,7 @@ public class UserProfileCrudeService {
private static class getAllUserProfilesInGateway_resultTupleScheme extends TupleScheme<getAllUserProfilesInGateway_result> {
@Override
- public void write(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_result struct) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_result struct) throws org.apache.thrift.TException {
TTupleProtocol oprot = (TTupleProtocol) prot;
BitSet optionals = new BitSet();
if (struct.isSetSuccess()) {
@@ -5607,7 +5623,7 @@ public class UserProfileCrudeService {
}
@Override
- public void read(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_result struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol prot, getAllUserProfilesInGateway_result struct) throws org.apache.thrift.TException {
TTupleProtocol iprot = (TTupleProtocol) prot;
BitSet incoming = iprot.readBitSet(2);
if (incoming.get(0)) {
@@ -5938,11 +5954,11 @@ public class UserProfileCrudeService {
return _Fields.findByThriftId(fieldId);
}
- public void read(org.apache.thrift.protocol.TProtocol iprot) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
schemes.get(iprot.getScheme()).getScheme().read(iprot, this);
}
- public void write(org.apache.thrift.protocol.TProtocol oprot) throws TException {
+ public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
schemes.get(oprot.getScheme()).getScheme().write(oprot, this);
}
@@ -5970,13 +5986,13 @@ public class UserProfileCrudeService {
return sb.toString();
}
- public void validate() throws TException {
+ public void validate() throws org.apache.thrift.TException {
// check for required fields
if (userName == null) {
- throw new TProtocolException("Required field 'userName' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'userName' was not present! Struct: " + toString());
}
if (gatewayId == null) {
- throw new TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
+ throw new org.apache.thrift.protocol.TProtocolException("Required field 'gatewayId' was not present! Struct: " + toString());
}
// check for sub-struct validity
}
@@ -5984,7 +6000,7 @@ public class UserProfileCrudeService {
private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
try {
write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -5992,7 +6008,7 @@ public class UserProfileCrudeService {
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
try {
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
- } catch (TException te) {
+ } catch (org.apache.thrift.TException te) {
throw new java.io.IOException(te);
}
}
@@ -6005,7 +6021,7 @@ public class UserProfileCrudeService {
private static class getUserProfileByName_argsStandardScheme extends StandardScheme<getUserProfileByName_args> {
- public void read(org.apache.thrift.protocol.TProtocol iprot, getUserProfileByName_args struct) throws TException {
+ public void read(org.apache.thrift.protocol.TProtocol iprot, getUserProfileByName_args struct) throws org.apache.thrift.TException {
org.apache.thrift.protocol.TField schemeField;
iprot.readStructBegin();
while (true)
@@ -6042,7 +6058,7 @@ public class UserProfileCrudeService {
struct.validate();
}
- public void write(org.apache.thrift.protocol.TProtocol oprot, getUserProfileByName_args struct) throws TException {
+ public void write(org.apache.thrif
<TRUNCATED>