Subversion Repositories SmartDukaan

Rev

Rev 6367 | Rev 6433 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6367 Rev 6389
Line 144... Line 144...
144
     * @param sessionSource
144
     * @param sessionSource
145
     * @param sessionStartTime
145
     * @param sessionStartTime
146
     * @param firstSource
146
     * @param firstSource
147
     * @param firstSourceTime
147
     * @param firstSourceTime
148
     * @param userId
148
     * @param userId
-
 
149
     * @param schemeId
149
     */
150
     */
150
    public long createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId) throws ShoppingCartException, org.apache.thrift.TException;
151
    public long createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, long schemeId) throws ShoppingCartException, org.apache.thrift.TException;
151
 
152
 
152
    /**
153
    /**
153
     * Validates that:
154
     * Validates that:
154
     * 1. The checkout timestamp is greater than the updatedOn timestamp.
155
     * 1. The checkout timestamp is greater than the updatedOn timestamp.
155
     * 2. All of the lines in the cart are active items.
156
     * 2. All of the lines in the cart are active items.
Line 205... Line 206...
205
     * @param startDate
206
     * @param startDate
206
     * @param endDate
207
     * @param endDate
207
     */
208
     */
208
    public List<User> getAllUsers(UserType userType, long startDate, long endDate) throws org.apache.thrift.TException;
209
    public List<User> getAllUsers(UserType userType, long startDate, long endDate) throws org.apache.thrift.TException;
209
 
210
 
210
    public void putUserNote(long user_id, long entity_id, String slide, String note) throws org.apache.thrift.TException;
-
 
211
 
-
 
212
    public List<UserNote> getUserNotes(long user_id, long entity_id) throws org.apache.thrift.TException;
-
 
213
 
-
 
214
    /**
211
    /**
215
     * Returns list of item ids in myresearch for the user
212
     * Returns list of item ids in myresearch for the user
216
     * 
213
     * 
217
     * @param userId
214
     * @param userId
218
     */
215
     */
Line 390... Line 387...
390
 
387
 
391
    public void deleteDiscountsFromCart(long cartId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteDiscountsFromCart_call> resultHandler) throws org.apache.thrift.TException;
388
    public void deleteDiscountsFromCart(long cartId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteDiscountsFromCart_call> resultHandler) throws org.apache.thrift.TException;
392
 
389
 
393
    public void saveDiscounts(List<Discount> discounts, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveDiscounts_call> resultHandler) throws org.apache.thrift.TException;
390
    public void saveDiscounts(List<Discount> discounts, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.saveDiscounts_call> resultHandler) throws org.apache.thrift.TException;
394
 
391
 
395
    public void createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createOrders_call> resultHandler) throws org.apache.thrift.TException;
392
    public void createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, long schemeId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createOrders_call> resultHandler) throws org.apache.thrift.TException;
396
 
393
 
397
    public void validateCart(long cartId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateCart_call> resultHandler) throws org.apache.thrift.TException;
394
    public void validateCart(long cartId, long sourceId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateCart_call> resultHandler) throws org.apache.thrift.TException;
398
 
395
 
399
    public void mergeCart(long fromCartId, long toCartId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.mergeCart_call> resultHandler) throws org.apache.thrift.TException;
396
    public void mergeCart(long fromCartId, long toCartId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.mergeCart_call> resultHandler) throws org.apache.thrift.TException;
400
 
397
 
Line 404... Line 401...
404
 
401
 
405
    public void getUserCount(UserType userType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserCount_call> resultHandler) throws org.apache.thrift.TException;
402
    public void getUserCount(UserType userType, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserCount_call> resultHandler) throws org.apache.thrift.TException;
406
 
403
 
407
    public void getAllUsers(UserType userType, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllUsers_call> resultHandler) throws org.apache.thrift.TException;
404
    public void getAllUsers(UserType userType, long startDate, long endDate, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllUsers_call> resultHandler) throws org.apache.thrift.TException;
408
 
405
 
409
    public void putUserNote(long user_id, long entity_id, String slide, String note, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.putUserNote_call> resultHandler) throws org.apache.thrift.TException;
-
 
410
 
-
 
411
    public void getUserNotes(long user_id, long entity_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserNotes_call> resultHandler) throws org.apache.thrift.TException;
-
 
412
 
-
 
413
    public void getMyResearchItems(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMyResearchItems_call> resultHandler) throws org.apache.thrift.TException;
406
    public void getMyResearchItems(long userId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMyResearchItems_call> resultHandler) throws org.apache.thrift.TException;
414
 
407
 
415
    public void updateMyResearch(long userId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMyResearch_call> resultHandler) throws org.apache.thrift.TException;
408
    public void updateMyResearch(long userId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateMyResearch_call> resultHandler) throws org.apache.thrift.TException;
416
 
409
 
417
    public void deleteItemFromMyResearch(long userId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteItemFromMyResearch_call> resultHandler) throws org.apache.thrift.TException;
410
    public void deleteItemFromMyResearch(long userId, long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteItemFromMyResearch_call> resultHandler) throws org.apache.thrift.TException;
Line 1765... Line 1758...
1765
        throw result.scx;
1758
        throw result.scx;
1766
      }
1759
      }
1767
      return;
1760
      return;
1768
    }
1761
    }
1769
 
1762
 
1770
    public long createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId) throws ShoppingCartException, org.apache.thrift.TException
1763
    public long createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, long schemeId) throws ShoppingCartException, org.apache.thrift.TException
1771
    {
1764
    {
1772
      send_createOrders(cartId, sessionSource, sessionStartTime, firstSource, firstSourceTime, userId);
1765
      send_createOrders(cartId, sessionSource, sessionStartTime, firstSource, firstSourceTime, userId, schemeId);
1773
      return recv_createOrders();
1766
      return recv_createOrders();
1774
    }
1767
    }
1775
 
1768
 
1776
    public void send_createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId) throws org.apache.thrift.TException
1769
    public void send_createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, long schemeId) throws org.apache.thrift.TException
1777
    {
1770
    {
1778
      createOrders_args args = new createOrders_args();
1771
      createOrders_args args = new createOrders_args();
1779
      args.setCartId(cartId);
1772
      args.setCartId(cartId);
1780
      args.setSessionSource(sessionSource);
1773
      args.setSessionSource(sessionSource);
1781
      args.setSessionStartTime(sessionStartTime);
1774
      args.setSessionStartTime(sessionStartTime);
1782
      args.setFirstSource(firstSource);
1775
      args.setFirstSource(firstSource);
1783
      args.setFirstSourceTime(firstSourceTime);
1776
      args.setFirstSourceTime(firstSourceTime);
1784
      args.setUserId(userId);
1777
      args.setUserId(userId);
-
 
1778
      args.setSchemeId(schemeId);
1785
      sendBase("createOrders", args);
1779
      sendBase("createOrders", args);
1786
    }
1780
    }
1787
 
1781
 
1788
    public long recv_createOrders() throws ShoppingCartException, org.apache.thrift.TException
1782
    public long recv_createOrders() throws ShoppingCartException, org.apache.thrift.TException
1789
    {
1783
    {
Line 1945... Line 1939...
1945
        return result.success;
1939
        return result.success;
1946
      }
1940
      }
1947
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUsers failed: unknown result");
1941
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllUsers failed: unknown result");
1948
    }
1942
    }
1949
 
1943
 
1950
    public void putUserNote(long user_id, long entity_id, String slide, String note) throws org.apache.thrift.TException
-
 
1951
    {
-
 
1952
      send_putUserNote(user_id, entity_id, slide, note);
-
 
1953
      recv_putUserNote();
-
 
1954
    }
-
 
1955
 
-
 
1956
    public void send_putUserNote(long user_id, long entity_id, String slide, String note) throws org.apache.thrift.TException
-
 
1957
    {
-
 
1958
      putUserNote_args args = new putUserNote_args();
-
 
1959
      args.setUser_id(user_id);
-
 
1960
      args.setEntity_id(entity_id);
-
 
1961
      args.setSlide(slide);
-
 
1962
      args.setNote(note);
-
 
1963
      sendBase("putUserNote", args);
-
 
1964
    }
-
 
1965
 
-
 
1966
    public void recv_putUserNote() throws org.apache.thrift.TException
-
 
1967
    {
-
 
1968
      putUserNote_result result = new putUserNote_result();
-
 
1969
      receiveBase(result, "putUserNote");
-
 
1970
      return;
-
 
1971
    }
-
 
1972
 
-
 
1973
    public List<UserNote> getUserNotes(long user_id, long entity_id) throws org.apache.thrift.TException
-
 
1974
    {
-
 
1975
      send_getUserNotes(user_id, entity_id);
-
 
1976
      return recv_getUserNotes();
-
 
1977
    }
-
 
1978
 
-
 
1979
    public void send_getUserNotes(long user_id, long entity_id) throws org.apache.thrift.TException
-
 
1980
    {
-
 
1981
      getUserNotes_args args = new getUserNotes_args();
-
 
1982
      args.setUser_id(user_id);
-
 
1983
      args.setEntity_id(entity_id);
-
 
1984
      sendBase("getUserNotes", args);
-
 
1985
    }
-
 
1986
 
-
 
1987
    public List<UserNote> recv_getUserNotes() throws org.apache.thrift.TException
-
 
1988
    {
-
 
1989
      getUserNotes_result result = new getUserNotes_result();
-
 
1990
      receiveBase(result, "getUserNotes");
-
 
1991
      if (result.isSetSuccess()) {
-
 
1992
        return result.success;
-
 
1993
      }
-
 
1994
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getUserNotes failed: unknown result");
-
 
1995
    }
-
 
1996
 
-
 
1997
    public List<Long> getMyResearchItems(long userId) throws WidgetException, org.apache.thrift.TException
1944
    public List<Long> getMyResearchItems(long userId) throws WidgetException, org.apache.thrift.TException
1998
    {
1945
    {
1999
      send_getMyResearchItems(userId);
1946
      send_getMyResearchItems(userId);
2000
      return recv_getMyResearchItems();
1947
      return recv_getMyResearchItems();
2001
    }
1948
    }
Line 3959... Line 3906...
3959
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3906
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3960
        (new Client(prot)).recv_saveDiscounts();
3907
        (new Client(prot)).recv_saveDiscounts();
3961
      }
3908
      }
3962
    }
3909
    }
3963
 
3910
 
3964
    public void createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, org.apache.thrift.async.AsyncMethodCallback<createOrders_call> resultHandler) throws org.apache.thrift.TException {
3911
    public void createOrders(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, long schemeId, org.apache.thrift.async.AsyncMethodCallback<createOrders_call> resultHandler) throws org.apache.thrift.TException {
3965
      checkReady();
3912
      checkReady();
3966
      createOrders_call method_call = new createOrders_call(cartId, sessionSource, sessionStartTime, firstSource, firstSourceTime, userId, resultHandler, this, ___protocolFactory, ___transport);
3913
      createOrders_call method_call = new createOrders_call(cartId, sessionSource, sessionStartTime, firstSource, firstSourceTime, userId, schemeId, resultHandler, this, ___protocolFactory, ___transport);
3967
      this.___currentMethod = method_call;
3914
      this.___currentMethod = method_call;
3968
      ___manager.call(method_call);
3915
      ___manager.call(method_call);
3969
    }
3916
    }
3970
 
3917
 
3971
    public static class createOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
3918
    public static class createOrders_call extends org.apache.thrift.async.TAsyncMethodCall {
Line 3973... Line 3920...
3973
      private String sessionSource;
3920
      private String sessionSource;
3974
      private long sessionStartTime;
3921
      private long sessionStartTime;
3975
      private String firstSource;
3922
      private String firstSource;
3976
      private long firstSourceTime;
3923
      private long firstSourceTime;
3977
      private long userId;
3924
      private long userId;
-
 
3925
      private long schemeId;
3978
      public createOrders_call(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, org.apache.thrift.async.AsyncMethodCallback<createOrders_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3926
      public createOrders_call(long cartId, String sessionSource, long sessionStartTime, String firstSource, long firstSourceTime, long userId, long schemeId, org.apache.thrift.async.AsyncMethodCallback<createOrders_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
3979
        super(client, protocolFactory, transport, resultHandler, false);
3927
        super(client, protocolFactory, transport, resultHandler, false);
3980
        this.cartId = cartId;
3928
        this.cartId = cartId;
3981
        this.sessionSource = sessionSource;
3929
        this.sessionSource = sessionSource;
3982
        this.sessionStartTime = sessionStartTime;
3930
        this.sessionStartTime = sessionStartTime;
3983
        this.firstSource = firstSource;
3931
        this.firstSource = firstSource;
3984
        this.firstSourceTime = firstSourceTime;
3932
        this.firstSourceTime = firstSourceTime;
3985
        this.userId = userId;
3933
        this.userId = userId;
-
 
3934
        this.schemeId = schemeId;
3986
      }
3935
      }
3987
 
3936
 
3988
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3937
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3989
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
3938
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("createOrders", org.apache.thrift.protocol.TMessageType.CALL, 0));
3990
        createOrders_args args = new createOrders_args();
3939
        createOrders_args args = new createOrders_args();
Line 3992... Line 3941...
3992
        args.setSessionSource(sessionSource);
3941
        args.setSessionSource(sessionSource);
3993
        args.setSessionStartTime(sessionStartTime);
3942
        args.setSessionStartTime(sessionStartTime);
3994
        args.setFirstSource(firstSource);
3943
        args.setFirstSource(firstSource);
3995
        args.setFirstSourceTime(firstSourceTime);
3944
        args.setFirstSourceTime(firstSourceTime);
3996
        args.setUserId(userId);
3945
        args.setUserId(userId);
-
 
3946
        args.setSchemeId(schemeId);
3997
        args.write(prot);
3947
        args.write(prot);
3998
        prot.writeMessageEnd();
3948
        prot.writeMessageEnd();
3999
      }
3949
      }
4000
 
3950
 
4001
      public long getResult() throws ShoppingCartException, org.apache.thrift.TException {
3951
      public long getResult() throws ShoppingCartException, org.apache.thrift.TException {
Line 4213... Line 4163...
4213
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4163
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
4214
        return (new Client(prot)).recv_getAllUsers();
4164
        return (new Client(prot)).recv_getAllUsers();
4215
      }
4165
      }
4216
    }
4166
    }
4217
 
4167
 
4218
    public void putUserNote(long user_id, long entity_id, String slide, String note, org.apache.thrift.async.AsyncMethodCallback<putUserNote_call> resultHandler) throws org.apache.thrift.TException {
-
 
4219
      checkReady();
-
 
4220
      putUserNote_call method_call = new putUserNote_call(user_id, entity_id, slide, note, resultHandler, this, ___protocolFactory, ___transport);
-
 
4221
      this.___currentMethod = method_call;
-
 
4222
      ___manager.call(method_call);
-
 
4223
    }
-
 
4224
 
-
 
4225
    public static class putUserNote_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4226
      private long user_id;
-
 
4227
      private long entity_id;
-
 
4228
      private String slide;
-
 
4229
      private String note;
-
 
4230
      public putUserNote_call(long user_id, long entity_id, String slide, String note, org.apache.thrift.async.AsyncMethodCallback<putUserNote_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
4231
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4232
        this.user_id = user_id;
-
 
4233
        this.entity_id = entity_id;
-
 
4234
        this.slide = slide;
-
 
4235
        this.note = note;
-
 
4236
      }
-
 
4237
 
-
 
4238
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4239
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("putUserNote", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4240
        putUserNote_args args = new putUserNote_args();
-
 
4241
        args.setUser_id(user_id);
-
 
4242
        args.setEntity_id(entity_id);
-
 
4243
        args.setSlide(slide);
-
 
4244
        args.setNote(note);
-
 
4245
        args.write(prot);
-
 
4246
        prot.writeMessageEnd();
-
 
4247
      }
-
 
4248
 
-
 
4249
      public void getResult() throws org.apache.thrift.TException {
-
 
4250
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4251
          throw new IllegalStateException("Method call not finished!");
-
 
4252
        }
-
 
4253
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4254
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4255
        (new Client(prot)).recv_putUserNote();
-
 
4256
      }
-
 
4257
    }
-
 
4258
 
-
 
4259
    public void getUserNotes(long user_id, long entity_id, org.apache.thrift.async.AsyncMethodCallback<getUserNotes_call> resultHandler) throws org.apache.thrift.TException {
-
 
4260
      checkReady();
-
 
4261
      getUserNotes_call method_call = new getUserNotes_call(user_id, entity_id, resultHandler, this, ___protocolFactory, ___transport);
-
 
4262
      this.___currentMethod = method_call;
-
 
4263
      ___manager.call(method_call);
-
 
4264
    }
-
 
4265
 
-
 
4266
    public static class getUserNotes_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
4267
      private long user_id;
-
 
4268
      private long entity_id;
-
 
4269
      public getUserNotes_call(long user_id, long entity_id, org.apache.thrift.async.AsyncMethodCallback<getUserNotes_call> resultHandler, org.apache.thrift.async.TAsyncClient client, org.apache.thrift.protocol.TProtocolFactory protocolFactory, org.apache.thrift.transport.TNonblockingTransport transport) throws org.apache.thrift.TException {
-
 
4270
        super(client, protocolFactory, transport, resultHandler, false);
-
 
4271
        this.user_id = user_id;
-
 
4272
        this.entity_id = entity_id;
-
 
4273
      }
-
 
4274
 
-
 
4275
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
4276
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserNotes", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
4277
        getUserNotes_args args = new getUserNotes_args();
-
 
4278
        args.setUser_id(user_id);
-
 
4279
        args.setEntity_id(entity_id);
-
 
4280
        args.write(prot);
-
 
4281
        prot.writeMessageEnd();
-
 
4282
      }
-
 
4283
 
-
 
4284
      public List<UserNote> getResult() throws org.apache.thrift.TException {
-
 
4285
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
4286
          throw new IllegalStateException("Method call not finished!");
-
 
4287
        }
-
 
4288
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
4289
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
4290
        return (new Client(prot)).recv_getUserNotes();
-
 
4291
      }
-
 
4292
    }
-
 
4293
 
-
 
4294
    public void getMyResearchItems(long userId, org.apache.thrift.async.AsyncMethodCallback<getMyResearchItems_call> resultHandler) throws org.apache.thrift.TException {
4168
    public void getMyResearchItems(long userId, org.apache.thrift.async.AsyncMethodCallback<getMyResearchItems_call> resultHandler) throws org.apache.thrift.TException {
4295
      checkReady();
4169
      checkReady();
4296
      getMyResearchItems_call method_call = new getMyResearchItems_call(userId, resultHandler, this, ___protocolFactory, ___transport);
4170
      getMyResearchItems_call method_call = new getMyResearchItems_call(userId, resultHandler, this, ___protocolFactory, ___transport);
4297
      this.___currentMethod = method_call;
4171
      this.___currentMethod = method_call;
4298
      ___manager.call(method_call);
4172
      ___manager.call(method_call);
Line 4699... Line 4573...
4699
      processMap.put("mergeCart", new mergeCart());
4573
      processMap.put("mergeCart", new mergeCart());
4700
      processMap.put("checkOut", new checkOut());
4574
      processMap.put("checkOut", new checkOut());
4701
      processMap.put("resetCart", new resetCart());
4575
      processMap.put("resetCart", new resetCart());
4702
      processMap.put("getUserCount", new getUserCount());
4576
      processMap.put("getUserCount", new getUserCount());
4703
      processMap.put("getAllUsers", new getAllUsers());
4577
      processMap.put("getAllUsers", new getAllUsers());
4704
      processMap.put("putUserNote", new putUserNote());
-
 
4705
      processMap.put("getUserNotes", new getUserNotes());
-
 
4706
      processMap.put("getMyResearchItems", new getMyResearchItems());
4578
      processMap.put("getMyResearchItems", new getMyResearchItems());
4707
      processMap.put("updateMyResearch", new updateMyResearch());
4579
      processMap.put("updateMyResearch", new updateMyResearch());
4708
      processMap.put("deleteItemFromMyResearch", new deleteItemFromMyResearch());
4580
      processMap.put("deleteItemFromMyResearch", new deleteItemFromMyResearch());
4709
      processMap.put("getBrowseHistoryItems", new getBrowseHistoryItems());
4581
      processMap.put("getBrowseHistoryItems", new getBrowseHistoryItems());
4710
      processMap.put("updateBrowseHistory", new updateBrowseHistory());
4582
      processMap.put("updateBrowseHistory", new updateBrowseHistory());
Line 5737... Line 5609...
5737
      }
5609
      }
5738
 
5610
 
5739
      protected createOrders_result getResult(I iface, createOrders_args args) throws org.apache.thrift.TException {
5611
      protected createOrders_result getResult(I iface, createOrders_args args) throws org.apache.thrift.TException {
5740
        createOrders_result result = new createOrders_result();
5612
        createOrders_result result = new createOrders_result();
5741
        try {
5613
        try {
5742
          result.success = iface.createOrders(args.cartId, args.sessionSource, args.sessionStartTime, args.firstSource, args.firstSourceTime, args.userId);
5614
          result.success = iface.createOrders(args.cartId, args.sessionSource, args.sessionStartTime, args.firstSource, args.firstSourceTime, args.userId, args.schemeId);
5743
          result.setSuccessIsSet(true);
5615
          result.setSuccessIsSet(true);
5744
        } catch (ShoppingCartException scx) {
5616
        } catch (ShoppingCartException scx) {
5745
          result.scx = scx;
5617
          result.scx = scx;
5746
        }
5618
        }
5747
        return result;
5619
        return result;
Line 5857... Line 5729...
5857
        result.success = iface.getAllUsers(args.userType, args.startDate, args.endDate);
5729
        result.success = iface.getAllUsers(args.userType, args.startDate, args.endDate);
5858
        return result;
5730
        return result;
5859
      }
5731
      }
5860
    }
5732
    }
5861
 
5733
 
5862
    private static class putUserNote<I extends Iface> extends org.apache.thrift.ProcessFunction<I, putUserNote_args> {
-
 
5863
      public putUserNote() {
-
 
5864
        super("putUserNote");
-
 
5865
      }
-
 
5866
 
-
 
5867
      protected putUserNote_args getEmptyArgsInstance() {
-
 
5868
        return new putUserNote_args();
-
 
5869
      }
-
 
5870
 
-
 
5871
      protected putUserNote_result getResult(I iface, putUserNote_args args) throws org.apache.thrift.TException {
-
 
5872
        putUserNote_result result = new putUserNote_result();
-
 
5873
        iface.putUserNote(args.user_id, args.entity_id, args.slide, args.note);
-
 
5874
        return result;
-
 
5875
      }
-
 
5876
    }
-
 
5877
 
-
 
5878
    private static class getUserNotes<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getUserNotes_args> {
-
 
5879
      public getUserNotes() {
-
 
5880
        super("getUserNotes");
-
 
5881
      }
-
 
5882
 
-
 
5883
      protected getUserNotes_args getEmptyArgsInstance() {
-
 
5884
        return new getUserNotes_args();
-
 
5885
      }
-
 
5886
 
-
 
5887
      protected getUserNotes_result getResult(I iface, getUserNotes_args args) throws org.apache.thrift.TException {
-
 
5888
        getUserNotes_result result = new getUserNotes_result();
-
 
5889
        result.success = iface.getUserNotes(args.user_id, args.entity_id);
-
 
5890
        return result;
-
 
5891
      }
-
 
5892
    }
-
 
5893
 
-
 
5894
    private static class getMyResearchItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getMyResearchItems_args> {
5734
    private static class getMyResearchItems<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getMyResearchItems_args> {
5895
      public getMyResearchItems() {
5735
      public getMyResearchItems() {
5896
        super("getMyResearchItems");
5736
        super("getMyResearchItems");
5897
      }
5737
      }
5898
 
5738
 
Line 42875... Line 42715...
42875
    private static final org.apache.thrift.protocol.TField SESSION_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionSource", org.apache.thrift.protocol.TType.STRING, (short)2);
42715
    private static final org.apache.thrift.protocol.TField SESSION_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionSource", org.apache.thrift.protocol.TType.STRING, (short)2);
42876
    private static final org.apache.thrift.protocol.TField SESSION_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionStartTime", org.apache.thrift.protocol.TType.I64, (short)3);
42716
    private static final org.apache.thrift.protocol.TField SESSION_START_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("sessionStartTime", org.apache.thrift.protocol.TType.I64, (short)3);
42877
    private static final org.apache.thrift.protocol.TField FIRST_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSource", org.apache.thrift.protocol.TType.STRING, (short)4);
42717
    private static final org.apache.thrift.protocol.TField FIRST_SOURCE_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSource", org.apache.thrift.protocol.TType.STRING, (short)4);
42878
    private static final org.apache.thrift.protocol.TField FIRST_SOURCE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSourceTime", org.apache.thrift.protocol.TType.I64, (short)5);
42718
    private static final org.apache.thrift.protocol.TField FIRST_SOURCE_TIME_FIELD_DESC = new org.apache.thrift.protocol.TField("firstSourceTime", org.apache.thrift.protocol.TType.I64, (short)5);
42879
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)6);
42719
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)6);
-
 
42720
    private static final org.apache.thrift.protocol.TField SCHEME_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("schemeId", org.apache.thrift.protocol.TType.I64, (short)7);
42880
 
42721
 
42881
    private long cartId; // required
42722
    private long cartId; // required
42882
    private String sessionSource; // required
42723
    private String sessionSource; // required
42883
    private long sessionStartTime; // required
42724
    private long sessionStartTime; // required
42884
    private String firstSource; // required
42725
    private String firstSource; // required
42885
    private long firstSourceTime; // required
42726
    private long firstSourceTime; // required
42886
    private long userId; // required
42727
    private long userId; // required
-
 
42728
    private long schemeId; // required
42887
 
42729
 
42888
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
42730
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
42889
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
42731
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
42890
      CART_ID((short)1, "cartId"),
42732
      CART_ID((short)1, "cartId"),
42891
      SESSION_SOURCE((short)2, "sessionSource"),
42733
      SESSION_SOURCE((short)2, "sessionSource"),
42892
      SESSION_START_TIME((short)3, "sessionStartTime"),
42734
      SESSION_START_TIME((short)3, "sessionStartTime"),
42893
      FIRST_SOURCE((short)4, "firstSource"),
42735
      FIRST_SOURCE((short)4, "firstSource"),
42894
      FIRST_SOURCE_TIME((short)5, "firstSourceTime"),
42736
      FIRST_SOURCE_TIME((short)5, "firstSourceTime"),
42895
      USER_ID((short)6, "userId");
42737
      USER_ID((short)6, "userId"),
-
 
42738
      SCHEME_ID((short)7, "schemeId");
42896
 
42739
 
42897
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
42740
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
42898
 
42741
 
42899
      static {
42742
      static {
42900
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
42743
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 42917... Line 42760...
42917
            return FIRST_SOURCE;
42760
            return FIRST_SOURCE;
42918
          case 5: // FIRST_SOURCE_TIME
42761
          case 5: // FIRST_SOURCE_TIME
42919
            return FIRST_SOURCE_TIME;
42762
            return FIRST_SOURCE_TIME;
42920
          case 6: // USER_ID
42763
          case 6: // USER_ID
42921
            return USER_ID;
42764
            return USER_ID;
-
 
42765
          case 7: // SCHEME_ID
-
 
42766
            return SCHEME_ID;
42922
          default:
42767
          default:
42923
            return null;
42768
            return null;
42924
        }
42769
        }
42925
      }
42770
      }
42926
 
42771
 
Line 42961... Line 42806...
42961
    // isset id assignments
42806
    // isset id assignments
42962
    private static final int __CARTID_ISSET_ID = 0;
42807
    private static final int __CARTID_ISSET_ID = 0;
42963
    private static final int __SESSIONSTARTTIME_ISSET_ID = 1;
42808
    private static final int __SESSIONSTARTTIME_ISSET_ID = 1;
42964
    private static final int __FIRSTSOURCETIME_ISSET_ID = 2;
42809
    private static final int __FIRSTSOURCETIME_ISSET_ID = 2;
42965
    private static final int __USERID_ISSET_ID = 3;
42810
    private static final int __USERID_ISSET_ID = 3;
-
 
42811
    private static final int __SCHEMEID_ISSET_ID = 4;
42966
    private BitSet __isset_bit_vector = new BitSet(4);
42812
    private BitSet __isset_bit_vector = new BitSet(5);
42967
 
42813
 
42968
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
42814
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
42969
    static {
42815
    static {
42970
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
42816
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
42971
      tmpMap.put(_Fields.CART_ID, new org.apache.thrift.meta_data.FieldMetaData("cartId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
42817
      tmpMap.put(_Fields.CART_ID, new org.apache.thrift.meta_data.FieldMetaData("cartId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
Line 42978... Line 42824...
42978
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
42824
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
42979
      tmpMap.put(_Fields.FIRST_SOURCE_TIME, new org.apache.thrift.meta_data.FieldMetaData("firstSourceTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
42825
      tmpMap.put(_Fields.FIRST_SOURCE_TIME, new org.apache.thrift.meta_data.FieldMetaData("firstSourceTime", org.apache.thrift.TFieldRequirementType.DEFAULT, 
42980
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
42826
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
42981
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
42827
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("userId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
42982
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
42828
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
42829
      tmpMap.put(_Fields.SCHEME_ID, new org.apache.thrift.meta_data.FieldMetaData("schemeId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
42830
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
42983
      metaDataMap = Collections.unmodifiableMap(tmpMap);
42831
      metaDataMap = Collections.unmodifiableMap(tmpMap);
42984
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createOrders_args.class, metaDataMap);
42832
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(createOrders_args.class, metaDataMap);
42985
    }
42833
    }
42986
 
42834
 
42987
    public createOrders_args() {
42835
    public createOrders_args() {
Line 42991... Line 42839...
42991
      long cartId,
42839
      long cartId,
42992
      String sessionSource,
42840
      String sessionSource,
42993
      long sessionStartTime,
42841
      long sessionStartTime,
42994
      String firstSource,
42842
      String firstSource,
42995
      long firstSourceTime,
42843
      long firstSourceTime,
42996
      long userId)
42844
      long userId,
-
 
42845
      long schemeId)
42997
    {
42846
    {
42998
      this();
42847
      this();
42999
      this.cartId = cartId;
42848
      this.cartId = cartId;
43000
      setCartIdIsSet(true);
42849
      setCartIdIsSet(true);
43001
      this.sessionSource = sessionSource;
42850
      this.sessionSource = sessionSource;
Line 43004... Line 42853...
43004
      this.firstSource = firstSource;
42853
      this.firstSource = firstSource;
43005
      this.firstSourceTime = firstSourceTime;
42854
      this.firstSourceTime = firstSourceTime;
43006
      setFirstSourceTimeIsSet(true);
42855
      setFirstSourceTimeIsSet(true);
43007
      this.userId = userId;
42856
      this.userId = userId;
43008
      setUserIdIsSet(true);
42857
      setUserIdIsSet(true);
-
 
42858
      this.schemeId = schemeId;
-
 
42859
      setSchemeIdIsSet(true);
43009
    }
42860
    }
43010
 
42861
 
43011
    /**
42862
    /**
43012
     * Performs a deep copy on <i>other</i>.
42863
     * Performs a deep copy on <i>other</i>.
43013
     */
42864
     */
Line 43022... Line 42873...
43022
      if (other.isSetFirstSource()) {
42873
      if (other.isSetFirstSource()) {
43023
        this.firstSource = other.firstSource;
42874
        this.firstSource = other.firstSource;
43024
      }
42875
      }
43025
      this.firstSourceTime = other.firstSourceTime;
42876
      this.firstSourceTime = other.firstSourceTime;
43026
      this.userId = other.userId;
42877
      this.userId = other.userId;
-
 
42878
      this.schemeId = other.schemeId;
43027
    }
42879
    }
43028
 
42880
 
43029
    public createOrders_args deepCopy() {
42881
    public createOrders_args deepCopy() {
43030
      return new createOrders_args(this);
42882
      return new createOrders_args(this);
43031
    }
42883
    }
Line 43040... Line 42892...
43040
      this.firstSource = null;
42892
      this.firstSource = null;
43041
      setFirstSourceTimeIsSet(false);
42893
      setFirstSourceTimeIsSet(false);
43042
      this.firstSourceTime = 0;
42894
      this.firstSourceTime = 0;
43043
      setUserIdIsSet(false);
42895
      setUserIdIsSet(false);
43044
      this.userId = 0;
42896
      this.userId = 0;
-
 
42897
      setSchemeIdIsSet(false);
-
 
42898
      this.schemeId = 0;
43045
    }
42899
    }
43046
 
42900
 
43047
    public long getCartId() {
42901
    public long getCartId() {
43048
      return this.cartId;
42902
      return this.cartId;
43049
    }
42903
    }
Line 43176... Line 43030...
43176
 
43030
 
43177
    public void setUserIdIsSet(boolean value) {
43031
    public void setUserIdIsSet(boolean value) {
43178
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
43032
      __isset_bit_vector.set(__USERID_ISSET_ID, value);
43179
    }
43033
    }
43180
 
43034
 
-
 
43035
    public long getSchemeId() {
-
 
43036
      return this.schemeId;
-
 
43037
    }
-
 
43038
 
-
 
43039
    public void setSchemeId(long schemeId) {
-
 
43040
      this.schemeId = schemeId;
-
 
43041
      setSchemeIdIsSet(true);
-
 
43042
    }
-
 
43043
 
-
 
43044
    public void unsetSchemeId() {
-
 
43045
      __isset_bit_vector.clear(__SCHEMEID_ISSET_ID);
-
 
43046
    }
-
 
43047
 
-
 
43048
    /** Returns true if field schemeId is set (has been assigned a value) and false otherwise */
-
 
43049
    public boolean isSetSchemeId() {
-
 
43050
      return __isset_bit_vector.get(__SCHEMEID_ISSET_ID);
-
 
43051
    }
-
 
43052
 
-
 
43053
    public void setSchemeIdIsSet(boolean value) {
-
 
43054
      __isset_bit_vector.set(__SCHEMEID_ISSET_ID, value);
-
 
43055
    }
-
 
43056
 
43181
    public void setFieldValue(_Fields field, Object value) {
43057
    public void setFieldValue(_Fields field, Object value) {
43182
      switch (field) {
43058
      switch (field) {
43183
      case CART_ID:
43059
      case CART_ID:
43184
        if (value == null) {
43060
        if (value == null) {
43185
          unsetCartId();
43061
          unsetCartId();
Line 43226... Line 43102...
43226
        } else {
43102
        } else {
43227
          setUserId((Long)value);
43103
          setUserId((Long)value);
43228
        }
43104
        }
43229
        break;
43105
        break;
43230
 
43106
 
-
 
43107
      case SCHEME_ID:
-
 
43108
        if (value == null) {
-
 
43109
          unsetSchemeId();
-
 
43110
        } else {
-
 
43111
          setSchemeId((Long)value);
-
 
43112
        }
-
 
43113
        break;
-
 
43114
 
43231
      }
43115
      }
43232
    }
43116
    }
43233
 
43117
 
43234
    public Object getFieldValue(_Fields field) {
43118
    public Object getFieldValue(_Fields field) {
43235
      switch (field) {
43119
      switch (field) {
Line 43249... Line 43133...
43249
        return Long.valueOf(getFirstSourceTime());
43133
        return Long.valueOf(getFirstSourceTime());
43250
 
43134
 
43251
      case USER_ID:
43135
      case USER_ID:
43252
        return Long.valueOf(getUserId());
43136
        return Long.valueOf(getUserId());
43253
 
43137
 
-
 
43138
      case SCHEME_ID:
-
 
43139
        return Long.valueOf(getSchemeId());
-
 
43140
 
43254
      }
43141
      }
43255
      throw new IllegalStateException();
43142
      throw new IllegalStateException();
43256
    }
43143
    }
43257
 
43144
 
43258
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
43145
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 43272... Line 43159...
43272
        return isSetFirstSource();
43159
        return isSetFirstSource();
43273
      case FIRST_SOURCE_TIME:
43160
      case FIRST_SOURCE_TIME:
43274
        return isSetFirstSourceTime();
43161
        return isSetFirstSourceTime();
43275
      case USER_ID:
43162
      case USER_ID:
43276
        return isSetUserId();
43163
        return isSetUserId();
-
 
43164
      case SCHEME_ID:
-
 
43165
        return isSetSchemeId();
43277
      }
43166
      }
43278
      throw new IllegalStateException();
43167
      throw new IllegalStateException();
43279
    }
43168
    }
43280
 
43169
 
43281
    @Override
43170
    @Override
Line 43343... Line 43232...
43343
          return false;
43232
          return false;
43344
        if (this.userId != that.userId)
43233
        if (this.userId != that.userId)
43345
          return false;
43234
          return false;
43346
      }
43235
      }
43347
 
43236
 
-
 
43237
      boolean this_present_schemeId = true;
-
 
43238
      boolean that_present_schemeId = true;
-
 
43239
      if (this_present_schemeId || that_present_schemeId) {
-
 
43240
        if (!(this_present_schemeId && that_present_schemeId))
-
 
43241
          return false;
-
 
43242
        if (this.schemeId != that.schemeId)
-
 
43243
          return false;
-
 
43244
      }
-
 
43245
 
43348
      return true;
43246
      return true;
43349
    }
43247
    }
43350
 
43248
 
43351
    @Override
43249
    @Override
43352
    public int hashCode() {
43250
    public int hashCode() {
Line 43419... Line 43317...
43419
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
43317
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.userId, typedOther.userId);
43420
        if (lastComparison != 0) {
43318
        if (lastComparison != 0) {
43421
          return lastComparison;
43319
          return lastComparison;
43422
        }
43320
        }
43423
      }
43321
      }
-
 
43322
      lastComparison = Boolean.valueOf(isSetSchemeId()).compareTo(typedOther.isSetSchemeId());
-
 
43323
      if (lastComparison != 0) {
-
 
43324
        return lastComparison;
-
 
43325
      }
-
 
43326
      if (isSetSchemeId()) {
-
 
43327
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.schemeId, typedOther.schemeId);
-
 
43328
        if (lastComparison != 0) {
-
 
43329
          return lastComparison;
-
 
43330
        }
-
 
43331
      }
43424
      return 0;
43332
      return 0;
43425
    }
43333
    }
43426
 
43334
 
43427
    public _Fields fieldForId(int fieldId) {
43335
    public _Fields fieldForId(int fieldId) {
43428
      return _Fields.findByThriftId(fieldId);
43336
      return _Fields.findByThriftId(fieldId);
Line 43482... Line 43390...
43482
              setUserIdIsSet(true);
43390
              setUserIdIsSet(true);
43483
            } else { 
43391
            } else { 
43484
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43392
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43485
            }
43393
            }
43486
            break;
43394
            break;
-
 
43395
          case 7: // SCHEME_ID
-
 
43396
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
43397
              this.schemeId = iprot.readI64();
-
 
43398
              setSchemeIdIsSet(true);
-
 
43399
            } else { 
-
 
43400
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
43401
            }
-
 
43402
            break;
43487
          default:
43403
          default:
43488
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43404
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43489
        }
43405
        }
43490
        iprot.readFieldEnd();
43406
        iprot.readFieldEnd();
43491
      }
43407
      }
Line 43517... Line 43433...
43517
      oprot.writeI64(this.firstSourceTime);
43433
      oprot.writeI64(this.firstSourceTime);
43518
      oprot.writeFieldEnd();
43434
      oprot.writeFieldEnd();
43519
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
43435
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
43520
      oprot.writeI64(this.userId);
43436
      oprot.writeI64(this.userId);
43521
      oprot.writeFieldEnd();
43437
      oprot.writeFieldEnd();
-
 
43438
      oprot.writeFieldBegin(SCHEME_ID_FIELD_DESC);
-
 
43439
      oprot.writeI64(this.schemeId);
-
 
43440
      oprot.writeFieldEnd();
43522
      oprot.writeFieldStop();
43441
      oprot.writeFieldStop();
43523
      oprot.writeStructEnd();
43442
      oprot.writeStructEnd();
43524
    }
43443
    }
43525
 
43444
 
43526
    @Override
43445
    @Override
Line 43557... Line 43476...
43557
      first = false;
43476
      first = false;
43558
      if (!first) sb.append(", ");
43477
      if (!first) sb.append(", ");
43559
      sb.append("userId:");
43478
      sb.append("userId:");
43560
      sb.append(this.userId);
43479
      sb.append(this.userId);
43561
      first = false;
43480
      first = false;
-
 
43481
      if (!first) sb.append(", ");
-
 
43482
      sb.append("schemeId:");
-
 
43483
      sb.append(this.schemeId);
-
 
43484
      first = false;
43562
      sb.append(")");
43485
      sb.append(")");
43563
      return sb.toString();
43486
      return sb.toString();
43564
    }
43487
    }
43565
 
43488
 
43566
    public void validate() throws org.apache.thrift.TException {
43489
    public void validate() throws org.apache.thrift.TException {
Line 48180... Line 48103...
48180
      }
48103
      }
48181
    }
48104
    }
48182
 
48105
 
48183
  }
48106
  }
48184
 
48107
 
48185
  public static class putUserNote_args implements org.apache.thrift.TBase<putUserNote_args, putUserNote_args._Fields>, java.io.Serializable, Cloneable   {
-
 
48186
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("putUserNote_args");
-
 
48187
 
-
 
48188
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("user_id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
48189
    private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entity_id", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
48190
    private static final org.apache.thrift.protocol.TField SLIDE_FIELD_DESC = new org.apache.thrift.protocol.TField("slide", org.apache.thrift.protocol.TType.STRING, (short)3);
-
 
48191
    private static final org.apache.thrift.protocol.TField NOTE_FIELD_DESC = new org.apache.thrift.protocol.TField("note", org.apache.thrift.protocol.TType.STRING, (short)4);
-
 
48192
 
-
 
48193
    private long user_id; // required
-
 
48194
    private long entity_id; // required
-
 
48195
    private String slide; // required
-
 
48196
    private String note; // required
-
 
48197
 
-
 
48198
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
48199
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
48200
      USER_ID((short)1, "user_id"),
-
 
48201
      ENTITY_ID((short)2, "entity_id"),
-
 
48202
      SLIDE((short)3, "slide"),
-
 
48203
      NOTE((short)4, "note");
-
 
48204
 
-
 
48205
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
48206
 
-
 
48207
      static {
-
 
48208
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
48209
          byName.put(field.getFieldName(), field);
-
 
48210
        }
-
 
48211
      }
-
 
48212
 
-
 
48213
      /**
-
 
48214
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
48215
       */
-
 
48216
      public static _Fields findByThriftId(int fieldId) {
-
 
48217
        switch(fieldId) {
-
 
48218
          case 1: // USER_ID
-
 
48219
            return USER_ID;
-
 
48220
          case 2: // ENTITY_ID
-
 
48221
            return ENTITY_ID;
-
 
48222
          case 3: // SLIDE
-
 
48223
            return SLIDE;
-
 
48224
          case 4: // NOTE
-
 
48225
            return NOTE;
-
 
48226
          default:
-
 
48227
            return null;
-
 
48228
        }
-
 
48229
      }
-
 
48230
 
-
 
48231
      /**
-
 
48232
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
48233
       * if it is not found.
-
 
48234
       */
-
 
48235
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
48236
        _Fields fields = findByThriftId(fieldId);
-
 
48237
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
48238
        return fields;
-
 
48239
      }
-
 
48240
 
-
 
48241
      /**
-
 
48242
       * Find the _Fields constant that matches name, or null if its not found.
-
 
48243
       */
-
 
48244
      public static _Fields findByName(String name) {
-
 
48245
        return byName.get(name);
-
 
48246
      }
-
 
48247
 
-
 
48248
      private final short _thriftId;
-
 
48249
      private final String _fieldName;
-
 
48250
 
-
 
48251
      _Fields(short thriftId, String fieldName) {
-
 
48252
        _thriftId = thriftId;
-
 
48253
        _fieldName = fieldName;
-
 
48254
      }
-
 
48255
 
-
 
48256
      public short getThriftFieldId() {
-
 
48257
        return _thriftId;
-
 
48258
      }
-
 
48259
 
-
 
48260
      public String getFieldName() {
-
 
48261
        return _fieldName;
-
 
48262
      }
-
 
48263
    }
-
 
48264
 
-
 
48265
    // isset id assignments
-
 
48266
    private static final int __USER_ID_ISSET_ID = 0;
-
 
48267
    private static final int __ENTITY_ID_ISSET_ID = 1;
-
 
48268
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
48269
 
-
 
48270
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
48271
    static {
-
 
48272
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
48273
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("user_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
48274
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
48275
      tmpMap.put(_Fields.ENTITY_ID, new org.apache.thrift.meta_data.FieldMetaData("entity_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
48276
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
48277
      tmpMap.put(_Fields.SLIDE, new org.apache.thrift.meta_data.FieldMetaData("slide", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
48278
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
48279
      tmpMap.put(_Fields.NOTE, new org.apache.thrift.meta_data.FieldMetaData("note", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
48280
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
-
 
48281
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
48282
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(putUserNote_args.class, metaDataMap);
-
 
48283
    }
-
 
48284
 
-
 
48285
    public putUserNote_args() {
-
 
48286
    }
-
 
48287
 
-
 
48288
    public putUserNote_args(
-
 
48289
      long user_id,
-
 
48290
      long entity_id,
-
 
48291
      String slide,
-
 
48292
      String note)
-
 
48293
    {
-
 
48294
      this();
-
 
48295
      this.user_id = user_id;
-
 
48296
      setUser_idIsSet(true);
-
 
48297
      this.entity_id = entity_id;
-
 
48298
      setEntity_idIsSet(true);
-
 
48299
      this.slide = slide;
-
 
48300
      this.note = note;
-
 
48301
    }
-
 
48302
 
-
 
48303
    /**
-
 
48304
     * Performs a deep copy on <i>other</i>.
-
 
48305
     */
-
 
48306
    public putUserNote_args(putUserNote_args other) {
-
 
48307
      __isset_bit_vector.clear();
-
 
48308
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
48309
      this.user_id = other.user_id;
-
 
48310
      this.entity_id = other.entity_id;
-
 
48311
      if (other.isSetSlide()) {
-
 
48312
        this.slide = other.slide;
-
 
48313
      }
-
 
48314
      if (other.isSetNote()) {
-
 
48315
        this.note = other.note;
-
 
48316
      }
-
 
48317
    }
-
 
48318
 
-
 
48319
    public putUserNote_args deepCopy() {
-
 
48320
      return new putUserNote_args(this);
-
 
48321
    }
-
 
48322
 
-
 
48323
    @Override
-
 
48324
    public void clear() {
-
 
48325
      setUser_idIsSet(false);
-
 
48326
      this.user_id = 0;
-
 
48327
      setEntity_idIsSet(false);
-
 
48328
      this.entity_id = 0;
-
 
48329
      this.slide = null;
-
 
48330
      this.note = null;
-
 
48331
    }
-
 
48332
 
-
 
48333
    public long getUser_id() {
-
 
48334
      return this.user_id;
-
 
48335
    }
-
 
48336
 
-
 
48337
    public void setUser_id(long user_id) {
-
 
48338
      this.user_id = user_id;
-
 
48339
      setUser_idIsSet(true);
-
 
48340
    }
-
 
48341
 
-
 
48342
    public void unsetUser_id() {
-
 
48343
      __isset_bit_vector.clear(__USER_ID_ISSET_ID);
-
 
48344
    }
-
 
48345
 
-
 
48346
    /** Returns true if field user_id is set (has been assigned a value) and false otherwise */
-
 
48347
    public boolean isSetUser_id() {
-
 
48348
      return __isset_bit_vector.get(__USER_ID_ISSET_ID);
-
 
48349
    }
-
 
48350
 
-
 
48351
    public void setUser_idIsSet(boolean value) {
-
 
48352
      __isset_bit_vector.set(__USER_ID_ISSET_ID, value);
-
 
48353
    }
-
 
48354
 
-
 
48355
    public long getEntity_id() {
-
 
48356
      return this.entity_id;
-
 
48357
    }
-
 
48358
 
-
 
48359
    public void setEntity_id(long entity_id) {
-
 
48360
      this.entity_id = entity_id;
-
 
48361
      setEntity_idIsSet(true);
-
 
48362
    }
-
 
48363
 
-
 
48364
    public void unsetEntity_id() {
-
 
48365
      __isset_bit_vector.clear(__ENTITY_ID_ISSET_ID);
-
 
48366
    }
-
 
48367
 
-
 
48368
    /** Returns true if field entity_id is set (has been assigned a value) and false otherwise */
-
 
48369
    public boolean isSetEntity_id() {
-
 
48370
      return __isset_bit_vector.get(__ENTITY_ID_ISSET_ID);
-
 
48371
    }
-
 
48372
 
-
 
48373
    public void setEntity_idIsSet(boolean value) {
-
 
48374
      __isset_bit_vector.set(__ENTITY_ID_ISSET_ID, value);
-
 
48375
    }
-
 
48376
 
-
 
48377
    public String getSlide() {
-
 
48378
      return this.slide;
-
 
48379
    }
-
 
48380
 
-
 
48381
    public void setSlide(String slide) {
-
 
48382
      this.slide = slide;
-
 
48383
    }
-
 
48384
 
-
 
48385
    public void unsetSlide() {
-
 
48386
      this.slide = null;
-
 
48387
    }
-
 
48388
 
-
 
48389
    /** Returns true if field slide is set (has been assigned a value) and false otherwise */
-
 
48390
    public boolean isSetSlide() {
-
 
48391
      return this.slide != null;
-
 
48392
    }
-
 
48393
 
-
 
48394
    public void setSlideIsSet(boolean value) {
-
 
48395
      if (!value) {
-
 
48396
        this.slide = null;
-
 
48397
      }
-
 
48398
    }
-
 
48399
 
-
 
48400
    public String getNote() {
-
 
48401
      return this.note;
-
 
48402
    }
-
 
48403
 
-
 
48404
    public void setNote(String note) {
-
 
48405
      this.note = note;
-
 
48406
    }
-
 
48407
 
-
 
48408
    public void unsetNote() {
-
 
48409
      this.note = null;
-
 
48410
    }
-
 
48411
 
-
 
48412
    /** Returns true if field note is set (has been assigned a value) and false otherwise */
-
 
48413
    public boolean isSetNote() {
-
 
48414
      return this.note != null;
-
 
48415
    }
-
 
48416
 
-
 
48417
    public void setNoteIsSet(boolean value) {
-
 
48418
      if (!value) {
-
 
48419
        this.note = null;
-
 
48420
      }
-
 
48421
    }
-
 
48422
 
-
 
48423
    public void setFieldValue(_Fields field, Object value) {
-
 
48424
      switch (field) {
-
 
48425
      case USER_ID:
-
 
48426
        if (value == null) {
-
 
48427
          unsetUser_id();
-
 
48428
        } else {
-
 
48429
          setUser_id((Long)value);
-
 
48430
        }
-
 
48431
        break;
-
 
48432
 
-
 
48433
      case ENTITY_ID:
-
 
48434
        if (value == null) {
-
 
48435
          unsetEntity_id();
-
 
48436
        } else {
-
 
48437
          setEntity_id((Long)value);
-
 
48438
        }
-
 
48439
        break;
-
 
48440
 
-
 
48441
      case SLIDE:
-
 
48442
        if (value == null) {
-
 
48443
          unsetSlide();
-
 
48444
        } else {
-
 
48445
          setSlide((String)value);
-
 
48446
        }
-
 
48447
        break;
-
 
48448
 
-
 
48449
      case NOTE:
-
 
48450
        if (value == null) {
-
 
48451
          unsetNote();
-
 
48452
        } else {
-
 
48453
          setNote((String)value);
-
 
48454
        }
-
 
48455
        break;
-
 
48456
 
-
 
48457
      }
-
 
48458
    }
-
 
48459
 
-
 
48460
    public Object getFieldValue(_Fields field) {
-
 
48461
      switch (field) {
-
 
48462
      case USER_ID:
-
 
48463
        return Long.valueOf(getUser_id());
-
 
48464
 
-
 
48465
      case ENTITY_ID:
-
 
48466
        return Long.valueOf(getEntity_id());
-
 
48467
 
-
 
48468
      case SLIDE:
-
 
48469
        return getSlide();
-
 
48470
 
-
 
48471
      case NOTE:
-
 
48472
        return getNote();
-
 
48473
 
-
 
48474
      }
-
 
48475
      throw new IllegalStateException();
-
 
48476
    }
-
 
48477
 
-
 
48478
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
48479
    public boolean isSet(_Fields field) {
-
 
48480
      if (field == null) {
-
 
48481
        throw new IllegalArgumentException();
-
 
48482
      }
-
 
48483
 
-
 
48484
      switch (field) {
-
 
48485
      case USER_ID:
-
 
48486
        return isSetUser_id();
-
 
48487
      case ENTITY_ID:
-
 
48488
        return isSetEntity_id();
-
 
48489
      case SLIDE:
-
 
48490
        return isSetSlide();
-
 
48491
      case NOTE:
-
 
48492
        return isSetNote();
-
 
48493
      }
-
 
48494
      throw new IllegalStateException();
-
 
48495
    }
-
 
48496
 
-
 
48497
    @Override
-
 
48498
    public boolean equals(Object that) {
-
 
48499
      if (that == null)
-
 
48500
        return false;
-
 
48501
      if (that instanceof putUserNote_args)
-
 
48502
        return this.equals((putUserNote_args)that);
-
 
48503
      return false;
-
 
48504
    }
-
 
48505
 
-
 
48506
    public boolean equals(putUserNote_args that) {
-
 
48507
      if (that == null)
-
 
48508
        return false;
-
 
48509
 
-
 
48510
      boolean this_present_user_id = true;
-
 
48511
      boolean that_present_user_id = true;
-
 
48512
      if (this_present_user_id || that_present_user_id) {
-
 
48513
        if (!(this_present_user_id && that_present_user_id))
-
 
48514
          return false;
-
 
48515
        if (this.user_id != that.user_id)
-
 
48516
          return false;
-
 
48517
      }
-
 
48518
 
-
 
48519
      boolean this_present_entity_id = true;
-
 
48520
      boolean that_present_entity_id = true;
-
 
48521
      if (this_present_entity_id || that_present_entity_id) {
-
 
48522
        if (!(this_present_entity_id && that_present_entity_id))
-
 
48523
          return false;
-
 
48524
        if (this.entity_id != that.entity_id)
-
 
48525
          return false;
-
 
48526
      }
-
 
48527
 
-
 
48528
      boolean this_present_slide = true && this.isSetSlide();
-
 
48529
      boolean that_present_slide = true && that.isSetSlide();
-
 
48530
      if (this_present_slide || that_present_slide) {
-
 
48531
        if (!(this_present_slide && that_present_slide))
-
 
48532
          return false;
-
 
48533
        if (!this.slide.equals(that.slide))
-
 
48534
          return false;
-
 
48535
      }
-
 
48536
 
-
 
48537
      boolean this_present_note = true && this.isSetNote();
-
 
48538
      boolean that_present_note = true && that.isSetNote();
-
 
48539
      if (this_present_note || that_present_note) {
-
 
48540
        if (!(this_present_note && that_present_note))
-
 
48541
          return false;
-
 
48542
        if (!this.note.equals(that.note))
-
 
48543
          return false;
-
 
48544
      }
-
 
48545
 
-
 
48546
      return true;
-
 
48547
    }
-
 
48548
 
-
 
48549
    @Override
-
 
48550
    public int hashCode() {
-
 
48551
      return 0;
-
 
48552
    }
-
 
48553
 
-
 
48554
    public int compareTo(putUserNote_args other) {
-
 
48555
      if (!getClass().equals(other.getClass())) {
-
 
48556
        return getClass().getName().compareTo(other.getClass().getName());
-
 
48557
      }
-
 
48558
 
-
 
48559
      int lastComparison = 0;
-
 
48560
      putUserNote_args typedOther = (putUserNote_args)other;
-
 
48561
 
-
 
48562
      lastComparison = Boolean.valueOf(isSetUser_id()).compareTo(typedOther.isSetUser_id());
-
 
48563
      if (lastComparison != 0) {
-
 
48564
        return lastComparison;
-
 
48565
      }
-
 
48566
      if (isSetUser_id()) {
-
 
48567
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_id, typedOther.user_id);
-
 
48568
        if (lastComparison != 0) {
-
 
48569
          return lastComparison;
-
 
48570
        }
-
 
48571
      }
-
 
48572
      lastComparison = Boolean.valueOf(isSetEntity_id()).compareTo(typedOther.isSetEntity_id());
-
 
48573
      if (lastComparison != 0) {
-
 
48574
        return lastComparison;
-
 
48575
      }
-
 
48576
      if (isSetEntity_id()) {
-
 
48577
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.entity_id, typedOther.entity_id);
-
 
48578
        if (lastComparison != 0) {
-
 
48579
          return lastComparison;
-
 
48580
        }
-
 
48581
      }
-
 
48582
      lastComparison = Boolean.valueOf(isSetSlide()).compareTo(typedOther.isSetSlide());
-
 
48583
      if (lastComparison != 0) {
-
 
48584
        return lastComparison;
-
 
48585
      }
-
 
48586
      if (isSetSlide()) {
-
 
48587
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.slide, typedOther.slide);
-
 
48588
        if (lastComparison != 0) {
-
 
48589
          return lastComparison;
-
 
48590
        }
-
 
48591
      }
-
 
48592
      lastComparison = Boolean.valueOf(isSetNote()).compareTo(typedOther.isSetNote());
-
 
48593
      if (lastComparison != 0) {
-
 
48594
        return lastComparison;
-
 
48595
      }
-
 
48596
      if (isSetNote()) {
-
 
48597
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.note, typedOther.note);
-
 
48598
        if (lastComparison != 0) {
-
 
48599
          return lastComparison;
-
 
48600
        }
-
 
48601
      }
-
 
48602
      return 0;
-
 
48603
    }
-
 
48604
 
-
 
48605
    public _Fields fieldForId(int fieldId) {
-
 
48606
      return _Fields.findByThriftId(fieldId);
-
 
48607
    }
-
 
48608
 
-
 
48609
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
48610
      org.apache.thrift.protocol.TField field;
-
 
48611
      iprot.readStructBegin();
-
 
48612
      while (true)
-
 
48613
      {
-
 
48614
        field = iprot.readFieldBegin();
-
 
48615
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
48616
          break;
-
 
48617
        }
-
 
48618
        switch (field.id) {
-
 
48619
          case 1: // USER_ID
-
 
48620
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
48621
              this.user_id = iprot.readI64();
-
 
48622
              setUser_idIsSet(true);
-
 
48623
            } else { 
-
 
48624
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48625
            }
-
 
48626
            break;
-
 
48627
          case 2: // ENTITY_ID
-
 
48628
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
48629
              this.entity_id = iprot.readI64();
-
 
48630
              setEntity_idIsSet(true);
-
 
48631
            } else { 
-
 
48632
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48633
            }
-
 
48634
            break;
-
 
48635
          case 3: // SLIDE
-
 
48636
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
48637
              this.slide = iprot.readString();
-
 
48638
            } else { 
-
 
48639
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48640
            }
-
 
48641
            break;
-
 
48642
          case 4: // NOTE
-
 
48643
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
-
 
48644
              this.note = iprot.readString();
-
 
48645
            } else { 
-
 
48646
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48647
            }
-
 
48648
            break;
-
 
48649
          default:
-
 
48650
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48651
        }
-
 
48652
        iprot.readFieldEnd();
-
 
48653
      }
-
 
48654
      iprot.readStructEnd();
-
 
48655
      validate();
-
 
48656
    }
-
 
48657
 
-
 
48658
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
48659
      validate();
-
 
48660
 
-
 
48661
      oprot.writeStructBegin(STRUCT_DESC);
-
 
48662
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
48663
      oprot.writeI64(this.user_id);
-
 
48664
      oprot.writeFieldEnd();
-
 
48665
      oprot.writeFieldBegin(ENTITY_ID_FIELD_DESC);
-
 
48666
      oprot.writeI64(this.entity_id);
-
 
48667
      oprot.writeFieldEnd();
-
 
48668
      if (this.slide != null) {
-
 
48669
        oprot.writeFieldBegin(SLIDE_FIELD_DESC);
-
 
48670
        oprot.writeString(this.slide);
-
 
48671
        oprot.writeFieldEnd();
-
 
48672
      }
-
 
48673
      if (this.note != null) {
-
 
48674
        oprot.writeFieldBegin(NOTE_FIELD_DESC);
-
 
48675
        oprot.writeString(this.note);
-
 
48676
        oprot.writeFieldEnd();
-
 
48677
      }
-
 
48678
      oprot.writeFieldStop();
-
 
48679
      oprot.writeStructEnd();
-
 
48680
    }
-
 
48681
 
-
 
48682
    @Override
-
 
48683
    public String toString() {
-
 
48684
      StringBuilder sb = new StringBuilder("putUserNote_args(");
-
 
48685
      boolean first = true;
-
 
48686
 
-
 
48687
      sb.append("user_id:");
-
 
48688
      sb.append(this.user_id);
-
 
48689
      first = false;
-
 
48690
      if (!first) sb.append(", ");
-
 
48691
      sb.append("entity_id:");
-
 
48692
      sb.append(this.entity_id);
-
 
48693
      first = false;
-
 
48694
      if (!first) sb.append(", ");
-
 
48695
      sb.append("slide:");
-
 
48696
      if (this.slide == null) {
-
 
48697
        sb.append("null");
-
 
48698
      } else {
-
 
48699
        sb.append(this.slide);
-
 
48700
      }
-
 
48701
      first = false;
-
 
48702
      if (!first) sb.append(", ");
-
 
48703
      sb.append("note:");
-
 
48704
      if (this.note == null) {
-
 
48705
        sb.append("null");
-
 
48706
      } else {
-
 
48707
        sb.append(this.note);
-
 
48708
      }
-
 
48709
      first = false;
-
 
48710
      sb.append(")");
-
 
48711
      return sb.toString();
-
 
48712
    }
-
 
48713
 
-
 
48714
    public void validate() throws org.apache.thrift.TException {
-
 
48715
      // check for required fields
-
 
48716
    }
-
 
48717
 
-
 
48718
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
48719
      try {
-
 
48720
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
48721
      } catch (org.apache.thrift.TException te) {
-
 
48722
        throw new java.io.IOException(te);
-
 
48723
      }
-
 
48724
    }
-
 
48725
 
-
 
48726
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
48727
      try {
-
 
48728
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
48729
        __isset_bit_vector = new BitSet(1);
-
 
48730
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
48731
      } catch (org.apache.thrift.TException te) {
-
 
48732
        throw new java.io.IOException(te);
-
 
48733
      }
-
 
48734
    }
-
 
48735
 
-
 
48736
  }
-
 
48737
 
-
 
48738
  public static class putUserNote_result implements org.apache.thrift.TBase<putUserNote_result, putUserNote_result._Fields>, java.io.Serializable, Cloneable   {
-
 
48739
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("putUserNote_result");
-
 
48740
 
-
 
48741
 
-
 
48742
 
-
 
48743
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
48744
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
48745
;
-
 
48746
 
-
 
48747
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
48748
 
-
 
48749
      static {
-
 
48750
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
48751
          byName.put(field.getFieldName(), field);
-
 
48752
        }
-
 
48753
      }
-
 
48754
 
-
 
48755
      /**
-
 
48756
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
48757
       */
-
 
48758
      public static _Fields findByThriftId(int fieldId) {
-
 
48759
        switch(fieldId) {
-
 
48760
          default:
-
 
48761
            return null;
-
 
48762
        }
-
 
48763
      }
-
 
48764
 
-
 
48765
      /**
-
 
48766
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
48767
       * if it is not found.
-
 
48768
       */
-
 
48769
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
48770
        _Fields fields = findByThriftId(fieldId);
-
 
48771
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
48772
        return fields;
-
 
48773
      }
-
 
48774
 
-
 
48775
      /**
-
 
48776
       * Find the _Fields constant that matches name, or null if its not found.
-
 
48777
       */
-
 
48778
      public static _Fields findByName(String name) {
-
 
48779
        return byName.get(name);
-
 
48780
      }
-
 
48781
 
-
 
48782
      private final short _thriftId;
-
 
48783
      private final String _fieldName;
-
 
48784
 
-
 
48785
      _Fields(short thriftId, String fieldName) {
-
 
48786
        _thriftId = thriftId;
-
 
48787
        _fieldName = fieldName;
-
 
48788
      }
-
 
48789
 
-
 
48790
      public short getThriftFieldId() {
-
 
48791
        return _thriftId;
-
 
48792
      }
-
 
48793
 
-
 
48794
      public String getFieldName() {
-
 
48795
        return _fieldName;
-
 
48796
      }
-
 
48797
    }
-
 
48798
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
48799
    static {
-
 
48800
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
48801
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
48802
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(putUserNote_result.class, metaDataMap);
-
 
48803
    }
-
 
48804
 
-
 
48805
    public putUserNote_result() {
-
 
48806
    }
-
 
48807
 
-
 
48808
    /**
-
 
48809
     * Performs a deep copy on <i>other</i>.
-
 
48810
     */
-
 
48811
    public putUserNote_result(putUserNote_result other) {
-
 
48812
    }
-
 
48813
 
-
 
48814
    public putUserNote_result deepCopy() {
-
 
48815
      return new putUserNote_result(this);
-
 
48816
    }
-
 
48817
 
-
 
48818
    @Override
-
 
48819
    public void clear() {
-
 
48820
    }
-
 
48821
 
-
 
48822
    public void setFieldValue(_Fields field, Object value) {
-
 
48823
      switch (field) {
-
 
48824
      }
-
 
48825
    }
-
 
48826
 
-
 
48827
    public Object getFieldValue(_Fields field) {
-
 
48828
      switch (field) {
-
 
48829
      }
-
 
48830
      throw new IllegalStateException();
-
 
48831
    }
-
 
48832
 
-
 
48833
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
48834
    public boolean isSet(_Fields field) {
-
 
48835
      if (field == null) {
-
 
48836
        throw new IllegalArgumentException();
-
 
48837
      }
-
 
48838
 
-
 
48839
      switch (field) {
-
 
48840
      }
-
 
48841
      throw new IllegalStateException();
-
 
48842
    }
-
 
48843
 
-
 
48844
    @Override
-
 
48845
    public boolean equals(Object that) {
-
 
48846
      if (that == null)
-
 
48847
        return false;
-
 
48848
      if (that instanceof putUserNote_result)
-
 
48849
        return this.equals((putUserNote_result)that);
-
 
48850
      return false;
-
 
48851
    }
-
 
48852
 
-
 
48853
    public boolean equals(putUserNote_result that) {
-
 
48854
      if (that == null)
-
 
48855
        return false;
-
 
48856
 
-
 
48857
      return true;
-
 
48858
    }
-
 
48859
 
-
 
48860
    @Override
-
 
48861
    public int hashCode() {
-
 
48862
      return 0;
-
 
48863
    }
-
 
48864
 
-
 
48865
    public int compareTo(putUserNote_result other) {
-
 
48866
      if (!getClass().equals(other.getClass())) {
-
 
48867
        return getClass().getName().compareTo(other.getClass().getName());
-
 
48868
      }
-
 
48869
 
-
 
48870
      int lastComparison = 0;
-
 
48871
      putUserNote_result typedOther = (putUserNote_result)other;
-
 
48872
 
-
 
48873
      return 0;
-
 
48874
    }
-
 
48875
 
-
 
48876
    public _Fields fieldForId(int fieldId) {
-
 
48877
      return _Fields.findByThriftId(fieldId);
-
 
48878
    }
-
 
48879
 
-
 
48880
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
48881
      org.apache.thrift.protocol.TField field;
-
 
48882
      iprot.readStructBegin();
-
 
48883
      while (true)
-
 
48884
      {
-
 
48885
        field = iprot.readFieldBegin();
-
 
48886
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
48887
          break;
-
 
48888
        }
-
 
48889
        switch (field.id) {
-
 
48890
          default:
-
 
48891
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
48892
        }
-
 
48893
        iprot.readFieldEnd();
-
 
48894
      }
-
 
48895
      iprot.readStructEnd();
-
 
48896
      validate();
-
 
48897
    }
-
 
48898
 
-
 
48899
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
48900
      oprot.writeStructBegin(STRUCT_DESC);
-
 
48901
 
-
 
48902
      oprot.writeFieldStop();
-
 
48903
      oprot.writeStructEnd();
-
 
48904
    }
-
 
48905
 
-
 
48906
    @Override
-
 
48907
    public String toString() {
-
 
48908
      StringBuilder sb = new StringBuilder("putUserNote_result(");
-
 
48909
      boolean first = true;
-
 
48910
 
-
 
48911
      sb.append(")");
-
 
48912
      return sb.toString();
-
 
48913
    }
-
 
48914
 
-
 
48915
    public void validate() throws org.apache.thrift.TException {
-
 
48916
      // check for required fields
-
 
48917
    }
-
 
48918
 
-
 
48919
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
48920
      try {
-
 
48921
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
48922
      } catch (org.apache.thrift.TException te) {
-
 
48923
        throw new java.io.IOException(te);
-
 
48924
      }
-
 
48925
    }
-
 
48926
 
-
 
48927
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
48928
      try {
-
 
48929
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
48930
      } catch (org.apache.thrift.TException te) {
-
 
48931
        throw new java.io.IOException(te);
-
 
48932
      }
-
 
48933
    }
-
 
48934
 
-
 
48935
  }
-
 
48936
 
-
 
48937
  public static class getUserNotes_args implements org.apache.thrift.TBase<getUserNotes_args, getUserNotes_args._Fields>, java.io.Serializable, Cloneable   {
-
 
48938
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserNotes_args");
-
 
48939
 
-
 
48940
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("user_id", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
48941
    private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entity_id", org.apache.thrift.protocol.TType.I64, (short)2);
-
 
48942
 
-
 
48943
    private long user_id; // required
-
 
48944
    private long entity_id; // required
-
 
48945
 
-
 
48946
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
48947
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
48948
      USER_ID((short)1, "user_id"),
-
 
48949
      ENTITY_ID((short)2, "entity_id");
-
 
48950
 
-
 
48951
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
48952
 
-
 
48953
      static {
-
 
48954
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
48955
          byName.put(field.getFieldName(), field);
-
 
48956
        }
-
 
48957
      }
-
 
48958
 
-
 
48959
      /**
-
 
48960
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
48961
       */
-
 
48962
      public static _Fields findByThriftId(int fieldId) {
-
 
48963
        switch(fieldId) {
-
 
48964
          case 1: // USER_ID
-
 
48965
            return USER_ID;
-
 
48966
          case 2: // ENTITY_ID
-
 
48967
            return ENTITY_ID;
-
 
48968
          default:
-
 
48969
            return null;
-
 
48970
        }
-
 
48971
      }
-
 
48972
 
-
 
48973
      /**
-
 
48974
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
48975
       * if it is not found.
-
 
48976
       */
-
 
48977
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
48978
        _Fields fields = findByThriftId(fieldId);
-
 
48979
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
48980
        return fields;
-
 
48981
      }
-
 
48982
 
-
 
48983
      /**
-
 
48984
       * Find the _Fields constant that matches name, or null if its not found.
-
 
48985
       */
-
 
48986
      public static _Fields findByName(String name) {
-
 
48987
        return byName.get(name);
-
 
48988
      }
-
 
48989
 
-
 
48990
      private final short _thriftId;
-
 
48991
      private final String _fieldName;
-
 
48992
 
-
 
48993
      _Fields(short thriftId, String fieldName) {
-
 
48994
        _thriftId = thriftId;
-
 
48995
        _fieldName = fieldName;
-
 
48996
      }
-
 
48997
 
-
 
48998
      public short getThriftFieldId() {
-
 
48999
        return _thriftId;
-
 
49000
      }
-
 
49001
 
-
 
49002
      public String getFieldName() {
-
 
49003
        return _fieldName;
-
 
49004
      }
-
 
49005
    }
-
 
49006
 
-
 
49007
    // isset id assignments
-
 
49008
    private static final int __USER_ID_ISSET_ID = 0;
-
 
49009
    private static final int __ENTITY_ID_ISSET_ID = 1;
-
 
49010
    private BitSet __isset_bit_vector = new BitSet(2);
-
 
49011
 
-
 
49012
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
49013
    static {
-
 
49014
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
49015
      tmpMap.put(_Fields.USER_ID, new org.apache.thrift.meta_data.FieldMetaData("user_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
49016
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
49017
      tmpMap.put(_Fields.ENTITY_ID, new org.apache.thrift.meta_data.FieldMetaData("entity_id", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
49018
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
49019
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
49020
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserNotes_args.class, metaDataMap);
-
 
49021
    }
-
 
49022
 
-
 
49023
    public getUserNotes_args() {
-
 
49024
    }
-
 
49025
 
-
 
49026
    public getUserNotes_args(
-
 
49027
      long user_id,
-
 
49028
      long entity_id)
-
 
49029
    {
-
 
49030
      this();
-
 
49031
      this.user_id = user_id;
-
 
49032
      setUser_idIsSet(true);
-
 
49033
      this.entity_id = entity_id;
-
 
49034
      setEntity_idIsSet(true);
-
 
49035
    }
-
 
49036
 
-
 
49037
    /**
-
 
49038
     * Performs a deep copy on <i>other</i>.
-
 
49039
     */
-
 
49040
    public getUserNotes_args(getUserNotes_args other) {
-
 
49041
      __isset_bit_vector.clear();
-
 
49042
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
49043
      this.user_id = other.user_id;
-
 
49044
      this.entity_id = other.entity_id;
-
 
49045
    }
-
 
49046
 
-
 
49047
    public getUserNotes_args deepCopy() {
-
 
49048
      return new getUserNotes_args(this);
-
 
49049
    }
-
 
49050
 
-
 
49051
    @Override
-
 
49052
    public void clear() {
-
 
49053
      setUser_idIsSet(false);
-
 
49054
      this.user_id = 0;
-
 
49055
      setEntity_idIsSet(false);
-
 
49056
      this.entity_id = 0;
-
 
49057
    }
-
 
49058
 
-
 
49059
    public long getUser_id() {
-
 
49060
      return this.user_id;
-
 
49061
    }
-
 
49062
 
-
 
49063
    public void setUser_id(long user_id) {
-
 
49064
      this.user_id = user_id;
-
 
49065
      setUser_idIsSet(true);
-
 
49066
    }
-
 
49067
 
-
 
49068
    public void unsetUser_id() {
-
 
49069
      __isset_bit_vector.clear(__USER_ID_ISSET_ID);
-
 
49070
    }
-
 
49071
 
-
 
49072
    /** Returns true if field user_id is set (has been assigned a value) and false otherwise */
-
 
49073
    public boolean isSetUser_id() {
-
 
49074
      return __isset_bit_vector.get(__USER_ID_ISSET_ID);
-
 
49075
    }
-
 
49076
 
-
 
49077
    public void setUser_idIsSet(boolean value) {
-
 
49078
      __isset_bit_vector.set(__USER_ID_ISSET_ID, value);
-
 
49079
    }
-
 
49080
 
-
 
49081
    public long getEntity_id() {
-
 
49082
      return this.entity_id;
-
 
49083
    }
-
 
49084
 
-
 
49085
    public void setEntity_id(long entity_id) {
-
 
49086
      this.entity_id = entity_id;
-
 
49087
      setEntity_idIsSet(true);
-
 
49088
    }
-
 
49089
 
-
 
49090
    public void unsetEntity_id() {
-
 
49091
      __isset_bit_vector.clear(__ENTITY_ID_ISSET_ID);
-
 
49092
    }
-
 
49093
 
-
 
49094
    /** Returns true if field entity_id is set (has been assigned a value) and false otherwise */
-
 
49095
    public boolean isSetEntity_id() {
-
 
49096
      return __isset_bit_vector.get(__ENTITY_ID_ISSET_ID);
-
 
49097
    }
-
 
49098
 
-
 
49099
    public void setEntity_idIsSet(boolean value) {
-
 
49100
      __isset_bit_vector.set(__ENTITY_ID_ISSET_ID, value);
-
 
49101
    }
-
 
49102
 
-
 
49103
    public void setFieldValue(_Fields field, Object value) {
-
 
49104
      switch (field) {
-
 
49105
      case USER_ID:
-
 
49106
        if (value == null) {
-
 
49107
          unsetUser_id();
-
 
49108
        } else {
-
 
49109
          setUser_id((Long)value);
-
 
49110
        }
-
 
49111
        break;
-
 
49112
 
-
 
49113
      case ENTITY_ID:
-
 
49114
        if (value == null) {
-
 
49115
          unsetEntity_id();
-
 
49116
        } else {
-
 
49117
          setEntity_id((Long)value);
-
 
49118
        }
-
 
49119
        break;
-
 
49120
 
-
 
49121
      }
-
 
49122
    }
-
 
49123
 
-
 
49124
    public Object getFieldValue(_Fields field) {
-
 
49125
      switch (field) {
-
 
49126
      case USER_ID:
-
 
49127
        return Long.valueOf(getUser_id());
-
 
49128
 
-
 
49129
      case ENTITY_ID:
-
 
49130
        return Long.valueOf(getEntity_id());
-
 
49131
 
-
 
49132
      }
-
 
49133
      throw new IllegalStateException();
-
 
49134
    }
-
 
49135
 
-
 
49136
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
49137
    public boolean isSet(_Fields field) {
-
 
49138
      if (field == null) {
-
 
49139
        throw new IllegalArgumentException();
-
 
49140
      }
-
 
49141
 
-
 
49142
      switch (field) {
-
 
49143
      case USER_ID:
-
 
49144
        return isSetUser_id();
-
 
49145
      case ENTITY_ID:
-
 
49146
        return isSetEntity_id();
-
 
49147
      }
-
 
49148
      throw new IllegalStateException();
-
 
49149
    }
-
 
49150
 
-
 
49151
    @Override
-
 
49152
    public boolean equals(Object that) {
-
 
49153
      if (that == null)
-
 
49154
        return false;
-
 
49155
      if (that instanceof getUserNotes_args)
-
 
49156
        return this.equals((getUserNotes_args)that);
-
 
49157
      return false;
-
 
49158
    }
-
 
49159
 
-
 
49160
    public boolean equals(getUserNotes_args that) {
-
 
49161
      if (that == null)
-
 
49162
        return false;
-
 
49163
 
-
 
49164
      boolean this_present_user_id = true;
-
 
49165
      boolean that_present_user_id = true;
-
 
49166
      if (this_present_user_id || that_present_user_id) {
-
 
49167
        if (!(this_present_user_id && that_present_user_id))
-
 
49168
          return false;
-
 
49169
        if (this.user_id != that.user_id)
-
 
49170
          return false;
-
 
49171
      }
-
 
49172
 
-
 
49173
      boolean this_present_entity_id = true;
-
 
49174
      boolean that_present_entity_id = true;
-
 
49175
      if (this_present_entity_id || that_present_entity_id) {
-
 
49176
        if (!(this_present_entity_id && that_present_entity_id))
-
 
49177
          return false;
-
 
49178
        if (this.entity_id != that.entity_id)
-
 
49179
          return false;
-
 
49180
      }
-
 
49181
 
-
 
49182
      return true;
-
 
49183
    }
-
 
49184
 
-
 
49185
    @Override
-
 
49186
    public int hashCode() {
-
 
49187
      return 0;
-
 
49188
    }
-
 
49189
 
-
 
49190
    public int compareTo(getUserNotes_args other) {
-
 
49191
      if (!getClass().equals(other.getClass())) {
-
 
49192
        return getClass().getName().compareTo(other.getClass().getName());
-
 
49193
      }
-
 
49194
 
-
 
49195
      int lastComparison = 0;
-
 
49196
      getUserNotes_args typedOther = (getUserNotes_args)other;
-
 
49197
 
-
 
49198
      lastComparison = Boolean.valueOf(isSetUser_id()).compareTo(typedOther.isSetUser_id());
-
 
49199
      if (lastComparison != 0) {
-
 
49200
        return lastComparison;
-
 
49201
      }
-
 
49202
      if (isSetUser_id()) {
-
 
49203
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.user_id, typedOther.user_id);
-
 
49204
        if (lastComparison != 0) {
-
 
49205
          return lastComparison;
-
 
49206
        }
-
 
49207
      }
-
 
49208
      lastComparison = Boolean.valueOf(isSetEntity_id()).compareTo(typedOther.isSetEntity_id());
-
 
49209
      if (lastComparison != 0) {
-
 
49210
        return lastComparison;
-
 
49211
      }
-
 
49212
      if (isSetEntity_id()) {
-
 
49213
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.entity_id, typedOther.entity_id);
-
 
49214
        if (lastComparison != 0) {
-
 
49215
          return lastComparison;
-
 
49216
        }
-
 
49217
      }
-
 
49218
      return 0;
-
 
49219
    }
-
 
49220
 
-
 
49221
    public _Fields fieldForId(int fieldId) {
-
 
49222
      return _Fields.findByThriftId(fieldId);
-
 
49223
    }
-
 
49224
 
-
 
49225
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
49226
      org.apache.thrift.protocol.TField field;
-
 
49227
      iprot.readStructBegin();
-
 
49228
      while (true)
-
 
49229
      {
-
 
49230
        field = iprot.readFieldBegin();
-
 
49231
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
49232
          break;
-
 
49233
        }
-
 
49234
        switch (field.id) {
-
 
49235
          case 1: // USER_ID
-
 
49236
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
49237
              this.user_id = iprot.readI64();
-
 
49238
              setUser_idIsSet(true);
-
 
49239
            } else { 
-
 
49240
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49241
            }
-
 
49242
            break;
-
 
49243
          case 2: // ENTITY_ID
-
 
49244
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
49245
              this.entity_id = iprot.readI64();
-
 
49246
              setEntity_idIsSet(true);
-
 
49247
            } else { 
-
 
49248
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49249
            }
-
 
49250
            break;
-
 
49251
          default:
-
 
49252
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49253
        }
-
 
49254
        iprot.readFieldEnd();
-
 
49255
      }
-
 
49256
      iprot.readStructEnd();
-
 
49257
      validate();
-
 
49258
    }
-
 
49259
 
-
 
49260
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
49261
      validate();
-
 
49262
 
-
 
49263
      oprot.writeStructBegin(STRUCT_DESC);
-
 
49264
      oprot.writeFieldBegin(USER_ID_FIELD_DESC);
-
 
49265
      oprot.writeI64(this.user_id);
-
 
49266
      oprot.writeFieldEnd();
-
 
49267
      oprot.writeFieldBegin(ENTITY_ID_FIELD_DESC);
-
 
49268
      oprot.writeI64(this.entity_id);
-
 
49269
      oprot.writeFieldEnd();
-
 
49270
      oprot.writeFieldStop();
-
 
49271
      oprot.writeStructEnd();
-
 
49272
    }
-
 
49273
 
-
 
49274
    @Override
-
 
49275
    public String toString() {
-
 
49276
      StringBuilder sb = new StringBuilder("getUserNotes_args(");
-
 
49277
      boolean first = true;
-
 
49278
 
-
 
49279
      sb.append("user_id:");
-
 
49280
      sb.append(this.user_id);
-
 
49281
      first = false;
-
 
49282
      if (!first) sb.append(", ");
-
 
49283
      sb.append("entity_id:");
-
 
49284
      sb.append(this.entity_id);
-
 
49285
      first = false;
-
 
49286
      sb.append(")");
-
 
49287
      return sb.toString();
-
 
49288
    }
-
 
49289
 
-
 
49290
    public void validate() throws org.apache.thrift.TException {
-
 
49291
      // check for required fields
-
 
49292
    }
-
 
49293
 
-
 
49294
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
49295
      try {
-
 
49296
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
49297
      } catch (org.apache.thrift.TException te) {
-
 
49298
        throw new java.io.IOException(te);
-
 
49299
      }
-
 
49300
    }
-
 
49301
 
-
 
49302
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
49303
      try {
-
 
49304
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
49305
        __isset_bit_vector = new BitSet(1);
-
 
49306
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
49307
      } catch (org.apache.thrift.TException te) {
-
 
49308
        throw new java.io.IOException(te);
-
 
49309
      }
-
 
49310
    }
-
 
49311
 
-
 
49312
  }
-
 
49313
 
-
 
49314
  public static class getUserNotes_result implements org.apache.thrift.TBase<getUserNotes_result, getUserNotes_result._Fields>, java.io.Serializable, Cloneable   {
-
 
49315
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getUserNotes_result");
-
 
49316
 
-
 
49317
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
49318
 
-
 
49319
    private List<UserNote> success; // required
-
 
49320
 
-
 
49321
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
49322
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
49323
      SUCCESS((short)0, "success");
-
 
49324
 
-
 
49325
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
49326
 
-
 
49327
      static {
-
 
49328
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
49329
          byName.put(field.getFieldName(), field);
-
 
49330
        }
-
 
49331
      }
-
 
49332
 
-
 
49333
      /**
-
 
49334
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
49335
       */
-
 
49336
      public static _Fields findByThriftId(int fieldId) {
-
 
49337
        switch(fieldId) {
-
 
49338
          case 0: // SUCCESS
-
 
49339
            return SUCCESS;
-
 
49340
          default:
-
 
49341
            return null;
-
 
49342
        }
-
 
49343
      }
-
 
49344
 
-
 
49345
      /**
-
 
49346
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
49347
       * if it is not found.
-
 
49348
       */
-
 
49349
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
49350
        _Fields fields = findByThriftId(fieldId);
-
 
49351
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
49352
        return fields;
-
 
49353
      }
-
 
49354
 
-
 
49355
      /**
-
 
49356
       * Find the _Fields constant that matches name, or null if its not found.
-
 
49357
       */
-
 
49358
      public static _Fields findByName(String name) {
-
 
49359
        return byName.get(name);
-
 
49360
      }
-
 
49361
 
-
 
49362
      private final short _thriftId;
-
 
49363
      private final String _fieldName;
-
 
49364
 
-
 
49365
      _Fields(short thriftId, String fieldName) {
-
 
49366
        _thriftId = thriftId;
-
 
49367
        _fieldName = fieldName;
-
 
49368
      }
-
 
49369
 
-
 
49370
      public short getThriftFieldId() {
-
 
49371
        return _thriftId;
-
 
49372
      }
-
 
49373
 
-
 
49374
      public String getFieldName() {
-
 
49375
        return _fieldName;
-
 
49376
      }
-
 
49377
    }
-
 
49378
 
-
 
49379
    // isset id assignments
-
 
49380
 
-
 
49381
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
49382
    static {
-
 
49383
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
49384
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
49385
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
49386
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, UserNote.class))));
-
 
49387
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
49388
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserNotes_result.class, metaDataMap);
-
 
49389
    }
-
 
49390
 
-
 
49391
    public getUserNotes_result() {
-
 
49392
    }
-
 
49393
 
-
 
49394
    public getUserNotes_result(
-
 
49395
      List<UserNote> success)
-
 
49396
    {
-
 
49397
      this();
-
 
49398
      this.success = success;
-
 
49399
    }
-
 
49400
 
-
 
49401
    /**
-
 
49402
     * Performs a deep copy on <i>other</i>.
-
 
49403
     */
-
 
49404
    public getUserNotes_result(getUserNotes_result other) {
-
 
49405
      if (other.isSetSuccess()) {
-
 
49406
        List<UserNote> __this__success = new ArrayList<UserNote>();
-
 
49407
        for (UserNote other_element : other.success) {
-
 
49408
          __this__success.add(new UserNote(other_element));
-
 
49409
        }
-
 
49410
        this.success = __this__success;
-
 
49411
      }
-
 
49412
    }
-
 
49413
 
-
 
49414
    public getUserNotes_result deepCopy() {
-
 
49415
      return new getUserNotes_result(this);
-
 
49416
    }
-
 
49417
 
-
 
49418
    @Override
-
 
49419
    public void clear() {
-
 
49420
      this.success = null;
-
 
49421
    }
-
 
49422
 
-
 
49423
    public int getSuccessSize() {
-
 
49424
      return (this.success == null) ? 0 : this.success.size();
-
 
49425
    }
-
 
49426
 
-
 
49427
    public java.util.Iterator<UserNote> getSuccessIterator() {
-
 
49428
      return (this.success == null) ? null : this.success.iterator();
-
 
49429
    }
-
 
49430
 
-
 
49431
    public void addToSuccess(UserNote elem) {
-
 
49432
      if (this.success == null) {
-
 
49433
        this.success = new ArrayList<UserNote>();
-
 
49434
      }
-
 
49435
      this.success.add(elem);
-
 
49436
    }
-
 
49437
 
-
 
49438
    public List<UserNote> getSuccess() {
-
 
49439
      return this.success;
-
 
49440
    }
-
 
49441
 
-
 
49442
    public void setSuccess(List<UserNote> success) {
-
 
49443
      this.success = success;
-
 
49444
    }
-
 
49445
 
-
 
49446
    public void unsetSuccess() {
-
 
49447
      this.success = null;
-
 
49448
    }
-
 
49449
 
-
 
49450
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
49451
    public boolean isSetSuccess() {
-
 
49452
      return this.success != null;
-
 
49453
    }
-
 
49454
 
-
 
49455
    public void setSuccessIsSet(boolean value) {
-
 
49456
      if (!value) {
-
 
49457
        this.success = null;
-
 
49458
      }
-
 
49459
    }
-
 
49460
 
-
 
49461
    public void setFieldValue(_Fields field, Object value) {
-
 
49462
      switch (field) {
-
 
49463
      case SUCCESS:
-
 
49464
        if (value == null) {
-
 
49465
          unsetSuccess();
-
 
49466
        } else {
-
 
49467
          setSuccess((List<UserNote>)value);
-
 
49468
        }
-
 
49469
        break;
-
 
49470
 
-
 
49471
      }
-
 
49472
    }
-
 
49473
 
-
 
49474
    public Object getFieldValue(_Fields field) {
-
 
49475
      switch (field) {
-
 
49476
      case SUCCESS:
-
 
49477
        return getSuccess();
-
 
49478
 
-
 
49479
      }
-
 
49480
      throw new IllegalStateException();
-
 
49481
    }
-
 
49482
 
-
 
49483
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
49484
    public boolean isSet(_Fields field) {
-
 
49485
      if (field == null) {
-
 
49486
        throw new IllegalArgumentException();
-
 
49487
      }
-
 
49488
 
-
 
49489
      switch (field) {
-
 
49490
      case SUCCESS:
-
 
49491
        return isSetSuccess();
-
 
49492
      }
-
 
49493
      throw new IllegalStateException();
-
 
49494
    }
-
 
49495
 
-
 
49496
    @Override
-
 
49497
    public boolean equals(Object that) {
-
 
49498
      if (that == null)
-
 
49499
        return false;
-
 
49500
      if (that instanceof getUserNotes_result)
-
 
49501
        return this.equals((getUserNotes_result)that);
-
 
49502
      return false;
-
 
49503
    }
-
 
49504
 
-
 
49505
    public boolean equals(getUserNotes_result that) {
-
 
49506
      if (that == null)
-
 
49507
        return false;
-
 
49508
 
-
 
49509
      boolean this_present_success = true && this.isSetSuccess();
-
 
49510
      boolean that_present_success = true && that.isSetSuccess();
-
 
49511
      if (this_present_success || that_present_success) {
-
 
49512
        if (!(this_present_success && that_present_success))
-
 
49513
          return false;
-
 
49514
        if (!this.success.equals(that.success))
-
 
49515
          return false;
-
 
49516
      }
-
 
49517
 
-
 
49518
      return true;
-
 
49519
    }
-
 
49520
 
-
 
49521
    @Override
-
 
49522
    public int hashCode() {
-
 
49523
      return 0;
-
 
49524
    }
-
 
49525
 
-
 
49526
    public int compareTo(getUserNotes_result other) {
-
 
49527
      if (!getClass().equals(other.getClass())) {
-
 
49528
        return getClass().getName().compareTo(other.getClass().getName());
-
 
49529
      }
-
 
49530
 
-
 
49531
      int lastComparison = 0;
-
 
49532
      getUserNotes_result typedOther = (getUserNotes_result)other;
-
 
49533
 
-
 
49534
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
49535
      if (lastComparison != 0) {
-
 
49536
        return lastComparison;
-
 
49537
      }
-
 
49538
      if (isSetSuccess()) {
-
 
49539
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
49540
        if (lastComparison != 0) {
-
 
49541
          return lastComparison;
-
 
49542
        }
-
 
49543
      }
-
 
49544
      return 0;
-
 
49545
    }
-
 
49546
 
-
 
49547
    public _Fields fieldForId(int fieldId) {
-
 
49548
      return _Fields.findByThriftId(fieldId);
-
 
49549
    }
-
 
49550
 
-
 
49551
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
49552
      org.apache.thrift.protocol.TField field;
-
 
49553
      iprot.readStructBegin();
-
 
49554
      while (true)
-
 
49555
      {
-
 
49556
        field = iprot.readFieldBegin();
-
 
49557
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
49558
          break;
-
 
49559
        }
-
 
49560
        switch (field.id) {
-
 
49561
          case 0: // SUCCESS
-
 
49562
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
49563
              {
-
 
49564
                org.apache.thrift.protocol.TList _list82 = iprot.readListBegin();
-
 
49565
                this.success = new ArrayList<UserNote>(_list82.size);
-
 
49566
                for (int _i83 = 0; _i83 < _list82.size; ++_i83)
-
 
49567
                {
-
 
49568
                  UserNote _elem84; // required
-
 
49569
                  _elem84 = new UserNote();
-
 
49570
                  _elem84.read(iprot);
-
 
49571
                  this.success.add(_elem84);
-
 
49572
                }
-
 
49573
                iprot.readListEnd();
-
 
49574
              }
-
 
49575
            } else { 
-
 
49576
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49577
            }
-
 
49578
            break;
-
 
49579
          default:
-
 
49580
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
49581
        }
-
 
49582
        iprot.readFieldEnd();
-
 
49583
      }
-
 
49584
      iprot.readStructEnd();
-
 
49585
      validate();
-
 
49586
    }
-
 
49587
 
-
 
49588
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
49589
      oprot.writeStructBegin(STRUCT_DESC);
-
 
49590
 
-
 
49591
      if (this.isSetSuccess()) {
-
 
49592
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
49593
        {
-
 
49594
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
49595
          for (UserNote _iter85 : this.success)
-
 
49596
          {
-
 
49597
            _iter85.write(oprot);
-
 
49598
          }
-
 
49599
          oprot.writeListEnd();
-
 
49600
        }
-
 
49601
        oprot.writeFieldEnd();
-
 
49602
      }
-
 
49603
      oprot.writeFieldStop();
-
 
49604
      oprot.writeStructEnd();
-
 
49605
    }
-
 
49606
 
-
 
49607
    @Override
-
 
49608
    public String toString() {
-
 
49609
      StringBuilder sb = new StringBuilder("getUserNotes_result(");
-
 
49610
      boolean first = true;
-
 
49611
 
-
 
49612
      sb.append("success:");
-
 
49613
      if (this.success == null) {
-
 
49614
        sb.append("null");
-
 
49615
      } else {
-
 
49616
        sb.append(this.success);
-
 
49617
      }
-
 
49618
      first = false;
-
 
49619
      sb.append(")");
-
 
49620
      return sb.toString();
-
 
49621
    }
-
 
49622
 
-
 
49623
    public void validate() throws org.apache.thrift.TException {
-
 
49624
      // check for required fields
-
 
49625
    }
-
 
49626
 
-
 
49627
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
49628
      try {
-
 
49629
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
49630
      } catch (org.apache.thrift.TException te) {
-
 
49631
        throw new java.io.IOException(te);
-
 
49632
      }
-
 
49633
    }
-
 
49634
 
-
 
49635
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
49636
      try {
-
 
49637
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
49638
      } catch (org.apache.thrift.TException te) {
-
 
49639
        throw new java.io.IOException(te);
-
 
49640
      }
-
 
49641
    }
-
 
49642
 
-
 
49643
  }
-
 
49644
 
-
 
49645
  public static class getMyResearchItems_args implements org.apache.thrift.TBase<getMyResearchItems_args, getMyResearchItems_args._Fields>, java.io.Serializable, Cloneable   {
48108
  public static class getMyResearchItems_args implements org.apache.thrift.TBase<getMyResearchItems_args, getMyResearchItems_args._Fields>, java.io.Serializable, Cloneable   {
49646
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMyResearchItems_args");
48109
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getMyResearchItems_args");
49647
 
48110
 
49648
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
48111
    private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
49649
 
48112
 
Line 50252... Line 48715...
50252
        }
48715
        }
50253
        switch (field.id) {
48716
        switch (field.id) {
50254
          case 0: // SUCCESS
48717
          case 0: // SUCCESS
50255
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48718
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50256
              {
48719
              {
50257
                org.apache.thrift.protocol.TList _list86 = iprot.readListBegin();
48720
                org.apache.thrift.protocol.TList _list82 = iprot.readListBegin();
50258
                this.success = new ArrayList<Long>(_list86.size);
48721
                this.success = new ArrayList<Long>(_list82.size);
50259
                for (int _i87 = 0; _i87 < _list86.size; ++_i87)
48722
                for (int _i83 = 0; _i83 < _list82.size; ++_i83)
50260
                {
48723
                {
50261
                  long _elem88; // required
48724
                  long _elem84; // required
50262
                  _elem88 = iprot.readI64();
48725
                  _elem84 = iprot.readI64();
50263
                  this.success.add(_elem88);
48726
                  this.success.add(_elem84);
50264
                }
48727
                }
50265
                iprot.readListEnd();
48728
                iprot.readListEnd();
50266
              }
48729
              }
50267
            } else { 
48730
            } else { 
50268
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48731
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50290... Line 48753...
50290
 
48753
 
50291
      if (this.isSetSuccess()) {
48754
      if (this.isSetSuccess()) {
50292
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48755
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50293
        {
48756
        {
50294
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48757
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50295
          for (long _iter89 : this.success)
48758
          for (long _iter85 : this.success)
50296
          {
48759
          {
50297
            oprot.writeI64(_iter89);
48760
            oprot.writeI64(_iter85);
50298
          }
48761
          }
50299
          oprot.writeListEnd();
48762
          oprot.writeListEnd();
50300
        }
48763
        }
50301
        oprot.writeFieldEnd();
48764
        oprot.writeFieldEnd();
50302
      } else if (this.isSetScx()) {
48765
      } else if (this.isSetScx()) {
Line 52391... Line 50854...
52391
        }
50854
        }
52392
        switch (field.id) {
50855
        switch (field.id) {
52393
          case 0: // SUCCESS
50856
          case 0: // SUCCESS
52394
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50857
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
52395
              {
50858
              {
52396
                org.apache.thrift.protocol.TList _list90 = iprot.readListBegin();
50859
                org.apache.thrift.protocol.TList _list86 = iprot.readListBegin();
52397
                this.success = new ArrayList<Long>(_list90.size);
50860
                this.success = new ArrayList<Long>(_list86.size);
52398
                for (int _i91 = 0; _i91 < _list90.size; ++_i91)
50861
                for (int _i87 = 0; _i87 < _list86.size; ++_i87)
52399
                {
50862
                {
52400
                  long _elem92; // required
50863
                  long _elem88; // required
52401
                  _elem92 = iprot.readI64();
50864
                  _elem88 = iprot.readI64();
52402
                  this.success.add(_elem92);
50865
                  this.success.add(_elem88);
52403
                }
50866
                }
52404
                iprot.readListEnd();
50867
                iprot.readListEnd();
52405
              }
50868
              }
52406
            } else { 
50869
            } else { 
52407
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50870
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 52429... Line 50892...
52429
 
50892
 
52430
      if (this.isSetSuccess()) {
50893
      if (this.isSetSuccess()) {
52431
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50894
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
52432
        {
50895
        {
52433
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50896
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
52434
          for (long _iter93 : this.success)
50897
          for (long _iter89 : this.success)
52435
          {
50898
          {
52436
            oprot.writeI64(_iter93);
50899
            oprot.writeI64(_iter89);
52437
          }
50900
          }
52438
          oprot.writeListEnd();
50901
          oprot.writeListEnd();
52439
        }
50902
        }
52440
        oprot.writeFieldEnd();
50903
        oprot.writeFieldEnd();
52441
      } else if (this.isSetScx()) {
50904
      } else if (this.isSetScx()) {
Line 56001... Line 54464...
56001
        }
54464
        }
56002
        switch (field.id) {
54465
        switch (field.id) {
56003
          case 0: // SUCCESS
54466
          case 0: // SUCCESS
56004
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54467
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
56005
              {
54468
              {
56006
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
54469
                org.apache.thrift.protocol.TList _list90 = iprot.readListBegin();
56007
                this.success = new ArrayList<String>(_list94.size);
54470
                this.success = new ArrayList<String>(_list90.size);
56008
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
54471
                for (int _i91 = 0; _i91 < _list90.size; ++_i91)
56009
                {
54472
                {
56010
                  String _elem96; // required
54473
                  String _elem92; // required
56011
                  _elem96 = iprot.readString();
54474
                  _elem92 = iprot.readString();
56012
                  this.success.add(_elem96);
54475
                  this.success.add(_elem92);
56013
                }
54476
                }
56014
                iprot.readListEnd();
54477
                iprot.readListEnd();
56015
              }
54478
              }
56016
            } else { 
54479
            } else { 
56017
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54480
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 56031... Line 54494...
56031
 
54494
 
56032
      if (this.isSetSuccess()) {
54495
      if (this.isSetSuccess()) {
56033
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54496
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
56034
        {
54497
        {
56035
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
54498
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
56036
          for (String _iter97 : this.success)
54499
          for (String _iter93 : this.success)
56037
          {
54500
          {
56038
            oprot.writeString(_iter97);
54501
            oprot.writeString(_iter93);
56039
          }
54502
          }
56040
          oprot.writeListEnd();
54503
          oprot.writeListEnd();
56041
        }
54504
        }
56042
        oprot.writeFieldEnd();
54505
        oprot.writeFieldEnd();
56043
      }
54506
      }