Subversion Repositories SmartDukaan

Rev

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

Rev 6497 Rev 6736
Line 158... Line 158...
158
     * If all three are true, returns empty string; else returns appropriate message.
158
     * If all three are true, returns empty string; else returns appropriate message.
159
     * 
159
     * 
160
     * @param cartId
160
     * @param cartId
161
     * @param sourceId
161
     * @param sourceId
162
     */
162
     */
163
    public String validateCart(long cartId, long sourceId) throws ShoppingCartException, org.apache.thrift.TException;
163
    public List<String> validateCart(long cartId, long sourceId) throws ShoppingCartException, org.apache.thrift.TException;
164
 
164
 
165
    /**
165
    /**
166
     * Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
166
     * Merges the lines from the first cart into the second cart. Lines with duplicate items are removed.
167
     * 
167
     * 
168
     * @param fromCartId
168
     * @param fromCartId
Line 1790... Line 1790...
1790
        throw result.scx;
1790
        throw result.scx;
1791
      }
1791
      }
1792
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createOrders failed: unknown result");
1792
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "createOrders failed: unknown result");
1793
    }
1793
    }
1794
 
1794
 
1795
    public String validateCart(long cartId, long sourceId) throws ShoppingCartException, org.apache.thrift.TException
1795
    public List<String> validateCart(long cartId, long sourceId) throws ShoppingCartException, org.apache.thrift.TException
1796
    {
1796
    {
1797
      send_validateCart(cartId, sourceId);
1797
      send_validateCart(cartId, sourceId);
1798
      return recv_validateCart();
1798
      return recv_validateCart();
1799
    }
1799
    }
1800
 
1800
 
Line 1804... Line 1804...
1804
      args.setCartId(cartId);
1804
      args.setCartId(cartId);
1805
      args.setSourceId(sourceId);
1805
      args.setSourceId(sourceId);
1806
      sendBase("validateCart", args);
1806
      sendBase("validateCart", args);
1807
    }
1807
    }
1808
 
1808
 
1809
    public String recv_validateCart() throws ShoppingCartException, org.apache.thrift.TException
1809
    public List<String> recv_validateCart() throws ShoppingCartException, org.apache.thrift.TException
1810
    {
1810
    {
1811
      validateCart_result result = new validateCart_result();
1811
      validateCart_result result = new validateCart_result();
1812
      receiveBase(result, "validateCart");
1812
      receiveBase(result, "validateCart");
1813
      if (result.isSetSuccess()) {
1813
      if (result.isSetSuccess()) {
1814
        return result.success;
1814
        return result.success;
Line 3981... Line 3981...
3981
        args.setSourceId(sourceId);
3981
        args.setSourceId(sourceId);
3982
        args.write(prot);
3982
        args.write(prot);
3983
        prot.writeMessageEnd();
3983
        prot.writeMessageEnd();
3984
      }
3984
      }
3985
 
3985
 
3986
      public String getResult() throws ShoppingCartException, org.apache.thrift.TException {
3986
      public List<String> getResult() throws ShoppingCartException, org.apache.thrift.TException {
3987
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3987
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
3988
          throw new IllegalStateException("Method call not finished!");
3988
          throw new IllegalStateException("Method call not finished!");
3989
        }
3989
        }
3990
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3990
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
3991
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3991
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
Line 18188... Line 18188...
18188
        }
18188
        }
18189
        switch (field.id) {
18189
        switch (field.id) {
18190
          case 0: // SUCCESS
18190
          case 0: // SUCCESS
18191
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18191
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
18192
              {
18192
              {
18193
                org.apache.thrift.protocol.TList _list42 = iprot.readListBegin();
18193
                org.apache.thrift.protocol.TList _list47 = iprot.readListBegin();
18194
                this.success = new ArrayList<Address>(_list42.size);
18194
                this.success = new ArrayList<Address>(_list47.size);
18195
                for (int _i43 = 0; _i43 < _list42.size; ++_i43)
18195
                for (int _i48 = 0; _i48 < _list47.size; ++_i48)
18196
                {
18196
                {
18197
                  Address _elem44; // required
18197
                  Address _elem49; // required
18198
                  _elem44 = new Address();
18198
                  _elem49 = new Address();
18199
                  _elem44.read(iprot);
18199
                  _elem49.read(iprot);
18200
                  this.success.add(_elem44);
18200
                  this.success.add(_elem49);
18201
                }
18201
                }
18202
                iprot.readListEnd();
18202
                iprot.readListEnd();
18203
              }
18203
              }
18204
            } else { 
18204
            } else { 
18205
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
18205
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 18227... Line 18227...
18227
 
18227
 
18228
      if (this.isSetSuccess()) {
18228
      if (this.isSetSuccess()) {
18229
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18229
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
18230
        {
18230
        {
18231
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18231
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
18232
          for (Address _iter45 : this.success)
18232
          for (Address _iter50 : this.success)
18233
          {
18233
          {
18234
            _iter45.write(oprot);
18234
            _iter50.write(oprot);
18235
          }
18235
          }
18236
          oprot.writeListEnd();
18236
          oprot.writeListEnd();
18237
        }
18237
        }
18238
        oprot.writeFieldEnd();
18238
        oprot.writeFieldEnd();
18239
      } else if (this.isSetUcx()) {
18239
      } else if (this.isSetUcx()) {
Line 22884... Line 22884...
22884
        }
22884
        }
22885
        switch (field.id) {
22885
        switch (field.id) {
22886
          case 0: // SUCCESS
22886
          case 0: // SUCCESS
22887
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22887
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
22888
              {
22888
              {
22889
                org.apache.thrift.protocol.TList _list46 = iprot.readListBegin();
22889
                org.apache.thrift.protocol.TList _list51 = iprot.readListBegin();
22890
                this.success = new ArrayList<UserCommunication>(_list46.size);
22890
                this.success = new ArrayList<UserCommunication>(_list51.size);
22891
                for (int _i47 = 0; _i47 < _list46.size; ++_i47)
22891
                for (int _i52 = 0; _i52 < _list51.size; ++_i52)
22892
                {
22892
                {
22893
                  UserCommunication _elem48; // required
22893
                  UserCommunication _elem53; // required
22894
                  _elem48 = new UserCommunication();
22894
                  _elem53 = new UserCommunication();
22895
                  _elem48.read(iprot);
22895
                  _elem53.read(iprot);
22896
                  this.success.add(_elem48);
22896
                  this.success.add(_elem53);
22897
                }
22897
                }
22898
                iprot.readListEnd();
22898
                iprot.readListEnd();
22899
              }
22899
              }
22900
            } else { 
22900
            } else { 
22901
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
22901
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 22923... Line 22923...
22923
 
22923
 
22924
      if (this.isSetSuccess()) {
22924
      if (this.isSetSuccess()) {
22925
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22925
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
22926
        {
22926
        {
22927
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
22927
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
22928
          for (UserCommunication _iter49 : this.success)
22928
          for (UserCommunication _iter54 : this.success)
22929
          {
22929
          {
22930
            _iter49.write(oprot);
22930
            _iter54.write(oprot);
22931
          }
22931
          }
22932
          oprot.writeListEnd();
22932
          oprot.writeListEnd();
22933
        }
22933
        }
22934
        oprot.writeFieldEnd();
22934
        oprot.writeFieldEnd();
22935
      } else if (this.isSetUcx()) {
22935
      } else if (this.isSetUcx()) {
Line 23503... Line 23503...
23503
        }
23503
        }
23504
        switch (field.id) {
23504
        switch (field.id) {
23505
          case 0: // SUCCESS
23505
          case 0: // SUCCESS
23506
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23506
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
23507
              {
23507
              {
23508
                org.apache.thrift.protocol.TList _list50 = iprot.readListBegin();
23508
                org.apache.thrift.protocol.TList _list55 = iprot.readListBegin();
23509
                this.success = new ArrayList<UserCommunication>(_list50.size);
23509
                this.success = new ArrayList<UserCommunication>(_list55.size);
23510
                for (int _i51 = 0; _i51 < _list50.size; ++_i51)
23510
                for (int _i56 = 0; _i56 < _list55.size; ++_i56)
23511
                {
23511
                {
23512
                  UserCommunication _elem52; // required
23512
                  UserCommunication _elem57; // required
23513
                  _elem52 = new UserCommunication();
23513
                  _elem57 = new UserCommunication();
23514
                  _elem52.read(iprot);
23514
                  _elem57.read(iprot);
23515
                  this.success.add(_elem52);
23515
                  this.success.add(_elem57);
23516
                }
23516
                }
23517
                iprot.readListEnd();
23517
                iprot.readListEnd();
23518
              }
23518
              }
23519
            } else { 
23519
            } else { 
23520
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
23520
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 23542... Line 23542...
23542
 
23542
 
23543
      if (this.isSetSuccess()) {
23543
      if (this.isSetSuccess()) {
23544
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23544
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
23545
        {
23545
        {
23546
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
23546
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
23547
          for (UserCommunication _iter53 : this.success)
23547
          for (UserCommunication _iter58 : this.success)
23548
          {
23548
          {
23549
            _iter53.write(oprot);
23549
            _iter58.write(oprot);
23550
          }
23550
          }
23551
          oprot.writeListEnd();
23551
          oprot.writeListEnd();
23552
        }
23552
        }
23553
        oprot.writeFieldEnd();
23553
        oprot.writeFieldEnd();
23554
      } else if (this.isSetUcx()) {
23554
      } else if (this.isSetUcx()) {
Line 25474... Line 25474...
25474
        }
25474
        }
25475
        switch (field.id) {
25475
        switch (field.id) {
25476
          case 0: // SUCCESS
25476
          case 0: // SUCCESS
25477
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25477
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
25478
              {
25478
              {
25479
                org.apache.thrift.protocol.TList _list54 = iprot.readListBegin();
25479
                org.apache.thrift.protocol.TList _list59 = iprot.readListBegin();
25480
                this.success = new ArrayList<MasterAffiliate>(_list54.size);
25480
                this.success = new ArrayList<MasterAffiliate>(_list59.size);
25481
                for (int _i55 = 0; _i55 < _list54.size; ++_i55)
25481
                for (int _i60 = 0; _i60 < _list59.size; ++_i60)
25482
                {
25482
                {
25483
                  MasterAffiliate _elem56; // required
25483
                  MasterAffiliate _elem61; // required
25484
                  _elem56 = new MasterAffiliate();
25484
                  _elem61 = new MasterAffiliate();
25485
                  _elem56.read(iprot);
25485
                  _elem61.read(iprot);
25486
                  this.success.add(_elem56);
25486
                  this.success.add(_elem61);
25487
                }
25487
                }
25488
                iprot.readListEnd();
25488
                iprot.readListEnd();
25489
              }
25489
              }
25490
            } else { 
25490
            } else { 
25491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
25491
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 25513... Line 25513...
25513
 
25513
 
25514
      if (this.isSetSuccess()) {
25514
      if (this.isSetSuccess()) {
25515
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25515
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
25516
        {
25516
        {
25517
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25517
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
25518
          for (MasterAffiliate _iter57 : this.success)
25518
          for (MasterAffiliate _iter62 : this.success)
25519
          {
25519
          {
25520
            _iter57.write(oprot);
25520
            _iter62.write(oprot);
25521
          }
25521
          }
25522
          oprot.writeListEnd();
25522
          oprot.writeListEnd();
25523
        }
25523
        }
25524
        oprot.writeFieldEnd();
25524
        oprot.writeFieldEnd();
25525
      } else if (this.isSetUtx()) {
25525
      } else if (this.isSetUtx()) {
Line 30502... Line 30502...
30502
        }
30502
        }
30503
        switch (field.id) {
30503
        switch (field.id) {
30504
          case 0: // SUCCESS
30504
          case 0: // SUCCESS
30505
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30505
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
30506
              {
30506
              {
30507
                org.apache.thrift.protocol.TList _list58 = iprot.readListBegin();
30507
                org.apache.thrift.protocol.TList _list63 = iprot.readListBegin();
30508
                this.success = new ArrayList<Affiliate>(_list58.size);
30508
                this.success = new ArrayList<Affiliate>(_list63.size);
30509
                for (int _i59 = 0; _i59 < _list58.size; ++_i59)
30509
                for (int _i64 = 0; _i64 < _list63.size; ++_i64)
30510
                {
30510
                {
30511
                  Affiliate _elem60; // required
30511
                  Affiliate _elem65; // required
30512
                  _elem60 = new Affiliate();
30512
                  _elem65 = new Affiliate();
30513
                  _elem60.read(iprot);
30513
                  _elem65.read(iprot);
30514
                  this.success.add(_elem60);
30514
                  this.success.add(_elem65);
30515
                }
30515
                }
30516
                iprot.readListEnd();
30516
                iprot.readListEnd();
30517
              }
30517
              }
30518
            } else { 
30518
            } else { 
30519
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
30519
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 30541... Line 30541...
30541
 
30541
 
30542
      if (this.isSetSuccess()) {
30542
      if (this.isSetSuccess()) {
30543
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30543
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
30544
        {
30544
        {
30545
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30545
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
30546
          for (Affiliate _iter61 : this.success)
30546
          for (Affiliate _iter66 : this.success)
30547
          {
30547
          {
30548
            _iter61.write(oprot);
30548
            _iter66.write(oprot);
30549
          }
30549
          }
30550
          oprot.writeListEnd();
30550
          oprot.writeListEnd();
30551
        }
30551
        }
30552
        oprot.writeFieldEnd();
30552
        oprot.writeFieldEnd();
30553
      } else if (this.isSetUtx()) {
30553
      } else if (this.isSetUtx()) {
Line 33174... Line 33174...
33174
        }
33174
        }
33175
        switch (field.id) {
33175
        switch (field.id) {
33176
          case 0: // SUCCESS
33176
          case 0: // SUCCESS
33177
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33177
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33178
              {
33178
              {
33179
                org.apache.thrift.protocol.TList _list62 = iprot.readListBegin();
33179
                org.apache.thrift.protocol.TList _list67 = iprot.readListBegin();
33180
                this.success = new ArrayList<TrackLog>(_list62.size);
33180
                this.success = new ArrayList<TrackLog>(_list67.size);
33181
                for (int _i63 = 0; _i63 < _list62.size; ++_i63)
33181
                for (int _i68 = 0; _i68 < _list67.size; ++_i68)
33182
                {
33182
                {
33183
                  TrackLog _elem64; // required
33183
                  TrackLog _elem69; // required
33184
                  _elem64 = new TrackLog();
33184
                  _elem69 = new TrackLog();
33185
                  _elem64.read(iprot);
33185
                  _elem69.read(iprot);
33186
                  this.success.add(_elem64);
33186
                  this.success.add(_elem69);
33187
                }
33187
                }
33188
                iprot.readListEnd();
33188
                iprot.readListEnd();
33189
              }
33189
              }
33190
            } else { 
33190
            } else { 
33191
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33191
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33213... Line 33213...
33213
 
33213
 
33214
      if (this.isSetSuccess()) {
33214
      if (this.isSetSuccess()) {
33215
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33215
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33216
        {
33216
        {
33217
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33217
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33218
          for (TrackLog _iter65 : this.success)
33218
          for (TrackLog _iter70 : this.success)
33219
          {
33219
          {
33220
            _iter65.write(oprot);
33220
            _iter70.write(oprot);
33221
          }
33221
          }
33222
          oprot.writeListEnd();
33222
          oprot.writeListEnd();
33223
        }
33223
        }
33224
        oprot.writeFieldEnd();
33224
        oprot.writeFieldEnd();
33225
      } else if (this.isSetUtx()) {
33225
      } else if (this.isSetUtx()) {
Line 33887... Line 33887...
33887
        }
33887
        }
33888
        switch (field.id) {
33888
        switch (field.id) {
33889
          case 0: // SUCCESS
33889
          case 0: // SUCCESS
33890
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33890
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
33891
              {
33891
              {
33892
                org.apache.thrift.protocol.TList _list66 = iprot.readListBegin();
33892
                org.apache.thrift.protocol.TList _list71 = iprot.readListBegin();
33893
                this.success = new ArrayList<TrackLog>(_list66.size);
33893
                this.success = new ArrayList<TrackLog>(_list71.size);
33894
                for (int _i67 = 0; _i67 < _list66.size; ++_i67)
33894
                for (int _i72 = 0; _i72 < _list71.size; ++_i72)
33895
                {
33895
                {
33896
                  TrackLog _elem68; // required
33896
                  TrackLog _elem73; // required
33897
                  _elem68 = new TrackLog();
33897
                  _elem73 = new TrackLog();
33898
                  _elem68.read(iprot);
33898
                  _elem73.read(iprot);
33899
                  this.success.add(_elem68);
33899
                  this.success.add(_elem73);
33900
                }
33900
                }
33901
                iprot.readListEnd();
33901
                iprot.readListEnd();
33902
              }
33902
              }
33903
            } else { 
33903
            } else { 
33904
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
33904
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 33926... Line 33926...
33926
 
33926
 
33927
      if (this.isSetSuccess()) {
33927
      if (this.isSetSuccess()) {
33928
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33928
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
33929
        {
33929
        {
33930
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33930
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
33931
          for (TrackLog _iter69 : this.success)
33931
          for (TrackLog _iter74 : this.success)
33932
          {
33932
          {
33933
            _iter69.write(oprot);
33933
            _iter74.write(oprot);
33934
          }
33934
          }
33935
          oprot.writeListEnd();
33935
          oprot.writeListEnd();
33936
        }
33936
        }
33937
        oprot.writeFieldEnd();
33937
        oprot.writeFieldEnd();
33938
      } else if (this.isSetUtx()) {
33938
      } else if (this.isSetUtx()) {
Line 34776... Line 34776...
34776
        }
34776
        }
34777
        switch (field.id) {
34777
        switch (field.id) {
34778
          case 0: // SUCCESS
34778
          case 0: // SUCCESS
34779
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34779
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
34780
              {
34780
              {
34781
                org.apache.thrift.protocol.TList _list70 = iprot.readListBegin();
34781
                org.apache.thrift.protocol.TList _list75 = iprot.readListBegin();
34782
                this.success = new ArrayList<TrackLog>(_list70.size);
34782
                this.success = new ArrayList<TrackLog>(_list75.size);
34783
                for (int _i71 = 0; _i71 < _list70.size; ++_i71)
34783
                for (int _i76 = 0; _i76 < _list75.size; ++_i76)
34784
                {
34784
                {
34785
                  TrackLog _elem72; // required
34785
                  TrackLog _elem77; // required
34786
                  _elem72 = new TrackLog();
34786
                  _elem77 = new TrackLog();
34787
                  _elem72.read(iprot);
34787
                  _elem77.read(iprot);
34788
                  this.success.add(_elem72);
34788
                  this.success.add(_elem77);
34789
                }
34789
                }
34790
                iprot.readListEnd();
34790
                iprot.readListEnd();
34791
              }
34791
              }
34792
            } else { 
34792
            } else { 
34793
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
34793
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 34815... Line 34815...
34815
 
34815
 
34816
      if (this.isSetSuccess()) {
34816
      if (this.isSetSuccess()) {
34817
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34817
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
34818
        {
34818
        {
34819
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34819
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
34820
          for (TrackLog _iter73 : this.success)
34820
          for (TrackLog _iter78 : this.success)
34821
          {
34821
          {
34822
            _iter73.write(oprot);
34822
            _iter78.write(oprot);
34823
          }
34823
          }
34824
          oprot.writeListEnd();
34824
          oprot.writeListEnd();
34825
        }
34825
        }
34826
        oprot.writeFieldEnd();
34826
        oprot.writeFieldEnd();
34827
      } else if (this.isSetUtx()) {
34827
      } else if (this.isSetUtx()) {
Line 37024... Line 37024...
37024
        }
37024
        }
37025
        switch (field.id) {
37025
        switch (field.id) {
37026
          case 0: // SUCCESS
37026
          case 0: // SUCCESS
37027
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37027
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37028
              {
37028
              {
37029
                org.apache.thrift.protocol.TList _list74 = iprot.readListBegin();
37029
                org.apache.thrift.protocol.TList _list79 = iprot.readListBegin();
37030
                this.success = new ArrayList<Cart>(_list74.size);
37030
                this.success = new ArrayList<Cart>(_list79.size);
37031
                for (int _i75 = 0; _i75 < _list74.size; ++_i75)
37031
                for (int _i80 = 0; _i80 < _list79.size; ++_i80)
37032
                {
37032
                {
37033
                  Cart _elem76; // required
37033
                  Cart _elem81; // required
37034
                  _elem76 = new Cart();
37034
                  _elem81 = new Cart();
37035
                  _elem76.read(iprot);
37035
                  _elem81.read(iprot);
37036
                  this.success.add(_elem76);
37036
                  this.success.add(_elem81);
37037
                }
37037
                }
37038
                iprot.readListEnd();
37038
                iprot.readListEnd();
37039
              }
37039
              }
37040
            } else { 
37040
            } else { 
37041
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37041
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37063... Line 37063...
37063
 
37063
 
37064
      if (this.isSetSuccess()) {
37064
      if (this.isSetSuccess()) {
37065
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37065
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37066
        {
37066
        {
37067
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37067
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37068
          for (Cart _iter77 : this.success)
37068
          for (Cart _iter82 : this.success)
37069
          {
37069
          {
37070
            _iter77.write(oprot);
37070
            _iter82.write(oprot);
37071
          }
37071
          }
37072
          oprot.writeListEnd();
37072
          oprot.writeListEnd();
37073
        }
37073
        }
37074
        oprot.writeFieldEnd();
37074
        oprot.writeFieldEnd();
37075
      } else if (this.isSetScx()) {
37075
      } else if (this.isSetScx()) {
Line 42330... Line 42330...
42330
        }
42330
        }
42331
        switch (field.id) {
42331
        switch (field.id) {
42332
          case 1: // DISCOUNTS
42332
          case 1: // DISCOUNTS
42333
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42333
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42334
              {
42334
              {
42335
                org.apache.thrift.protocol.TList _list78 = iprot.readListBegin();
42335
                org.apache.thrift.protocol.TList _list83 = iprot.readListBegin();
42336
                this.discounts = new ArrayList<Discount>(_list78.size);
42336
                this.discounts = new ArrayList<Discount>(_list83.size);
42337
                for (int _i79 = 0; _i79 < _list78.size; ++_i79)
42337
                for (int _i84 = 0; _i84 < _list83.size; ++_i84)
42338
                {
42338
                {
42339
                  Discount _elem80; // required
42339
                  Discount _elem85; // required
42340
                  _elem80 = new Discount();
42340
                  _elem85 = new Discount();
42341
                  _elem80.read(iprot);
42341
                  _elem85.read(iprot);
42342
                  this.discounts.add(_elem80);
42342
                  this.discounts.add(_elem85);
42343
                }
42343
                }
42344
                iprot.readListEnd();
42344
                iprot.readListEnd();
42345
              }
42345
              }
42346
            } else { 
42346
            } else { 
42347
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
42347
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42362... Line 42362...
42362
      oprot.writeStructBegin(STRUCT_DESC);
42362
      oprot.writeStructBegin(STRUCT_DESC);
42363
      if (this.discounts != null) {
42363
      if (this.discounts != null) {
42364
        oprot.writeFieldBegin(DISCOUNTS_FIELD_DESC);
42364
        oprot.writeFieldBegin(DISCOUNTS_FIELD_DESC);
42365
        {
42365
        {
42366
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.discounts.size()));
42366
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.discounts.size()));
42367
          for (Discount _iter81 : this.discounts)
42367
          for (Discount _iter86 : this.discounts)
42368
          {
42368
          {
42369
            _iter81.write(oprot);
42369
            _iter86.write(oprot);
42370
          }
42370
          }
42371
          oprot.writeListEnd();
42371
          oprot.writeListEnd();
42372
        }
42372
        }
42373
        oprot.writeFieldEnd();
42373
        oprot.writeFieldEnd();
42374
      }
42374
      }
Line 44267... Line 44267...
44267
  }
44267
  }
44268
 
44268
 
44269
  public static class validateCart_result implements org.apache.thrift.TBase<validateCart_result, validateCart_result._Fields>, java.io.Serializable, Cloneable   {
44269
  public static class validateCart_result implements org.apache.thrift.TBase<validateCart_result, validateCart_result._Fields>, java.io.Serializable, Cloneable   {
44270
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateCart_result");
44270
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("validateCart_result");
44271
 
44271
 
44272
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.STRING, (short)0);
44272
    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);
44273
    private static final org.apache.thrift.protocol.TField SCEX_FIELD_DESC = new org.apache.thrift.protocol.TField("scex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
44273
    private static final org.apache.thrift.protocol.TField SCEX_FIELD_DESC = new org.apache.thrift.protocol.TField("scex", org.apache.thrift.protocol.TType.STRUCT, (short)1);
44274
 
44274
 
44275
    private String success; // required
44275
    private List<String> success; // required
44276
    private ShoppingCartException scex; // required
44276
    private ShoppingCartException scex; // required
44277
 
44277
 
44278
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
44278
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
44279
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
44279
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
44280
      SUCCESS((short)0, "success"),
44280
      SUCCESS((short)0, "success"),
Line 44340... Line 44340...
44340
 
44340
 
44341
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
44341
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
44342
    static {
44342
    static {
44343
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
44343
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
44344
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
44344
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
44345
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
44345
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
44346
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING))));
44346
      tmpMap.put(_Fields.SCEX, new org.apache.thrift.meta_data.FieldMetaData("scex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
44347
      tmpMap.put(_Fields.SCEX, new org.apache.thrift.meta_data.FieldMetaData("scex", org.apache.thrift.TFieldRequirementType.DEFAULT, 
44347
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
44348
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRUCT)));
44348
      metaDataMap = Collections.unmodifiableMap(tmpMap);
44349
      metaDataMap = Collections.unmodifiableMap(tmpMap);
44349
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateCart_result.class, metaDataMap);
44350
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(validateCart_result.class, metaDataMap);
44350
    }
44351
    }
44351
 
44352
 
44352
    public validateCart_result() {
44353
    public validateCart_result() {
44353
    }
44354
    }
44354
 
44355
 
44355
    public validateCart_result(
44356
    public validateCart_result(
44356
      String success,
44357
      List<String> success,
44357
      ShoppingCartException scex)
44358
      ShoppingCartException scex)
44358
    {
44359
    {
44359
      this();
44360
      this();
44360
      this.success = success;
44361
      this.success = success;
44361
      this.scex = scex;
44362
      this.scex = scex;
Line 44364... Line 44365...
44364
    /**
44365
    /**
44365
     * Performs a deep copy on <i>other</i>.
44366
     * Performs a deep copy on <i>other</i>.
44366
     */
44367
     */
44367
    public validateCart_result(validateCart_result other) {
44368
    public validateCart_result(validateCart_result other) {
44368
      if (other.isSetSuccess()) {
44369
      if (other.isSetSuccess()) {
-
 
44370
        List<String> __this__success = new ArrayList<String>();
-
 
44371
        for (String other_element : other.success) {
-
 
44372
          __this__success.add(other_element);
-
 
44373
        }
44369
        this.success = other.success;
44374
        this.success = __this__success;
44370
      }
44375
      }
44371
      if (other.isSetScex()) {
44376
      if (other.isSetScex()) {
44372
        this.scex = new ShoppingCartException(other.scex);
44377
        this.scex = new ShoppingCartException(other.scex);
44373
      }
44378
      }
44374
    }
44379
    }
Line 44381... Line 44386...
44381
    public void clear() {
44386
    public void clear() {
44382
      this.success = null;
44387
      this.success = null;
44383
      this.scex = null;
44388
      this.scex = null;
44384
    }
44389
    }
44385
 
44390
 
-
 
44391
    public int getSuccessSize() {
-
 
44392
      return (this.success == null) ? 0 : this.success.size();
-
 
44393
    }
-
 
44394
 
-
 
44395
    public java.util.Iterator<String> getSuccessIterator() {
-
 
44396
      return (this.success == null) ? null : this.success.iterator();
-
 
44397
    }
-
 
44398
 
-
 
44399
    public void addToSuccess(String elem) {
-
 
44400
      if (this.success == null) {
-
 
44401
        this.success = new ArrayList<String>();
-
 
44402
      }
-
 
44403
      this.success.add(elem);
-
 
44404
    }
-
 
44405
 
44386
    public String getSuccess() {
44406
    public List<String> getSuccess() {
44387
      return this.success;
44407
      return this.success;
44388
    }
44408
    }
44389
 
44409
 
44390
    public void setSuccess(String success) {
44410
    public void setSuccess(List<String> success) {
44391
      this.success = success;
44411
      this.success = success;
44392
    }
44412
    }
44393
 
44413
 
44394
    public void unsetSuccess() {
44414
    public void unsetSuccess() {
44395
      this.success = null;
44415
      this.success = null;
Line 44433... Line 44453...
44433
      switch (field) {
44453
      switch (field) {
44434
      case SUCCESS:
44454
      case SUCCESS:
44435
        if (value == null) {
44455
        if (value == null) {
44436
          unsetSuccess();
44456
          unsetSuccess();
44437
        } else {
44457
        } else {
44438
          setSuccess((String)value);
44458
          setSuccess((List<String>)value);
44439
        }
44459
        }
44440
        break;
44460
        break;
44441
 
44461
 
44442
      case SCEX:
44462
      case SCEX:
44443
        if (value == null) {
44463
        if (value == null) {
Line 44560... Line 44580...
44560
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
44580
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
44561
          break;
44581
          break;
44562
        }
44582
        }
44563
        switch (field.id) {
44583
        switch (field.id) {
44564
          case 0: // SUCCESS
44584
          case 0: // SUCCESS
44565
            if (field.type == org.apache.thrift.protocol.TType.STRING) {
44585
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
44586
              {
-
 
44587
                org.apache.thrift.protocol.TList _list87 = iprot.readListBegin();
-
 
44588
                this.success = new ArrayList<String>(_list87.size);
-
 
44589
                for (int _i88 = 0; _i88 < _list87.size; ++_i88)
-
 
44590
                {
-
 
44591
                  String _elem89; // required
44566
              this.success = iprot.readString();
44592
                  _elem89 = iprot.readString();
-
 
44593
                  this.success.add(_elem89);
-
 
44594
                }
-
 
44595
                iprot.readListEnd();
-
 
44596
              }
44567
            } else { 
44597
            } else { 
44568
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44598
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44569
            }
44599
            }
44570
            break;
44600
            break;
44571
          case 1: // SCEX
44601
          case 1: // SCEX
Line 44588... Line 44618...
44588
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
44618
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
44589
      oprot.writeStructBegin(STRUCT_DESC);
44619
      oprot.writeStructBegin(STRUCT_DESC);
44590
 
44620
 
44591
      if (this.isSetSuccess()) {
44621
      if (this.isSetSuccess()) {
44592
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44622
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
44623
        {
-
 
44624
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
-
 
44625
          for (String _iter90 : this.success)
-
 
44626
          {
44593
        oprot.writeString(this.success);
44627
            oprot.writeString(_iter90);
-
 
44628
          }
-
 
44629
          oprot.writeListEnd();
-
 
44630
        }
44594
        oprot.writeFieldEnd();
44631
        oprot.writeFieldEnd();
44595
      } else if (this.isSetScex()) {
44632
      } else if (this.isSetScex()) {
44596
        oprot.writeFieldBegin(SCEX_FIELD_DESC);
44633
        oprot.writeFieldBegin(SCEX_FIELD_DESC);
44597
        this.scex.write(oprot);
44634
        this.scex.write(oprot);
44598
        oprot.writeFieldEnd();
44635
        oprot.writeFieldEnd();
Line 46226... Line 46263...
46226
            }
46263
            }
46227
            break;
46264
            break;
46228
          case 2: // ITEMS
46265
          case 2: // ITEMS
46229
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46266
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
46230
              {
46267
              {
46231
                org.apache.thrift.protocol.TMap _map82 = iprot.readMapBegin();
46268
                org.apache.thrift.protocol.TMap _map91 = iprot.readMapBegin();
46232
                this.items = new HashMap<Long,Double>(2*_map82.size);
46269
                this.items = new HashMap<Long,Double>(2*_map91.size);
46233
                for (int _i83 = 0; _i83 < _map82.size; ++_i83)
46270
                for (int _i92 = 0; _i92 < _map91.size; ++_i92)
46234
                {
46271
                {
46235
                  long _key84; // required
46272
                  long _key93; // required
46236
                  double _val85; // required
46273
                  double _val94; // required
46237
                  _key84 = iprot.readI64();
46274
                  _key93 = iprot.readI64();
46238
                  _val85 = iprot.readDouble();
46275
                  _val94 = iprot.readDouble();
46239
                  this.items.put(_key84, _val85);
46276
                  this.items.put(_key93, _val94);
46240
                }
46277
                }
46241
                iprot.readMapEnd();
46278
                iprot.readMapEnd();
46242
              }
46279
              }
46243
            } else { 
46280
            } else { 
46244
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46281
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46262... Line 46299...
46262
      oprot.writeFieldEnd();
46299
      oprot.writeFieldEnd();
46263
      if (this.items != null) {
46300
      if (this.items != null) {
46264
        oprot.writeFieldBegin(ITEMS_FIELD_DESC);
46301
        oprot.writeFieldBegin(ITEMS_FIELD_DESC);
46265
        {
46302
        {
46266
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.items.size()));
46303
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.DOUBLE, this.items.size()));
46267
          for (Map.Entry<Long, Double> _iter86 : this.items.entrySet())
46304
          for (Map.Entry<Long, Double> _iter95 : this.items.entrySet())
46268
          {
46305
          {
46269
            oprot.writeI64(_iter86.getKey());
46306
            oprot.writeI64(_iter95.getKey());
46270
            oprot.writeDouble(_iter86.getValue());
46307
            oprot.writeDouble(_iter95.getValue());
46271
          }
46308
          }
46272
          oprot.writeMapEnd();
46309
          oprot.writeMapEnd();
46273
        }
46310
        }
46274
        oprot.writeFieldEnd();
46311
        oprot.writeFieldEnd();
46275
      }
46312
      }
Line 48022... Line 48059...
48022
        }
48059
        }
48023
        switch (field.id) {
48060
        switch (field.id) {
48024
          case 0: // SUCCESS
48061
          case 0: // SUCCESS
48025
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48062
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48026
              {
48063
              {
48027
                org.apache.thrift.protocol.TList _list87 = iprot.readListBegin();
48064
                org.apache.thrift.protocol.TList _list96 = iprot.readListBegin();
48028
                this.success = new ArrayList<User>(_list87.size);
48065
                this.success = new ArrayList<User>(_list96.size);
48029
                for (int _i88 = 0; _i88 < _list87.size; ++_i88)
48066
                for (int _i97 = 0; _i97 < _list96.size; ++_i97)
48030
                {
48067
                {
48031
                  User _elem89; // required
48068
                  User _elem98; // required
48032
                  _elem89 = new User();
48069
                  _elem98 = new User();
48033
                  _elem89.read(iprot);
48070
                  _elem98.read(iprot);
48034
                  this.success.add(_elem89);
48071
                  this.success.add(_elem98);
48035
                }
48072
                }
48036
                iprot.readListEnd();
48073
                iprot.readListEnd();
48037
              }
48074
              }
48038
            } else { 
48075
            } else { 
48039
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48076
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48053... Line 48090...
48053
 
48090
 
48054
      if (this.isSetSuccess()) {
48091
      if (this.isSetSuccess()) {
48055
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48092
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48056
        {
48093
        {
48057
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48094
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
48058
          for (User _iter90 : this.success)
48095
          for (User _iter99 : this.success)
48059
          {
48096
          {
48060
            _iter90.write(oprot);
48097
            _iter99.write(oprot);
48061
          }
48098
          }
48062
          oprot.writeListEnd();
48099
          oprot.writeListEnd();
48063
        }
48100
        }
48064
        oprot.writeFieldEnd();
48101
        oprot.writeFieldEnd();
48065
      }
48102
      }
Line 48715... Line 48752...
48715
        }
48752
        }
48716
        switch (field.id) {
48753
        switch (field.id) {
48717
          case 0: // SUCCESS
48754
          case 0: // SUCCESS
48718
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48755
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48719
              {
48756
              {
48720
                org.apache.thrift.protocol.TList _list91 = iprot.readListBegin();
48757
                org.apache.thrift.protocol.TList _list100 = iprot.readListBegin();
48721
                this.success = new ArrayList<Long>(_list91.size);
48758
                this.success = new ArrayList<Long>(_list100.size);
48722
                for (int _i92 = 0; _i92 < _list91.size; ++_i92)
48759
                for (int _i101 = 0; _i101 < _list100.size; ++_i101)
48723
                {
48760
                {
48724
                  long _elem93; // required
48761
                  long _elem102; // required
48725
                  _elem93 = iprot.readI64();
48762
                  _elem102 = iprot.readI64();
48726
                  this.success.add(_elem93);
48763
                  this.success.add(_elem102);
48727
                }
48764
                }
48728
                iprot.readListEnd();
48765
                iprot.readListEnd();
48729
              }
48766
              }
48730
            } else { 
48767
            } else { 
48731
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48768
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 48753... Line 48790...
48753
 
48790
 
48754
      if (this.isSetSuccess()) {
48791
      if (this.isSetSuccess()) {
48755
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48792
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48756
        {
48793
        {
48757
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48794
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48758
          for (long _iter94 : this.success)
48795
          for (long _iter103 : this.success)
48759
          {
48796
          {
48760
            oprot.writeI64(_iter94);
48797
            oprot.writeI64(_iter103);
48761
          }
48798
          }
48762
          oprot.writeListEnd();
48799
          oprot.writeListEnd();
48763
        }
48800
        }
48764
        oprot.writeFieldEnd();
48801
        oprot.writeFieldEnd();
48765
      } else if (this.isSetScx()) {
48802
      } else if (this.isSetScx()) {
Line 50854... Line 50891...
50854
        }
50891
        }
50855
        switch (field.id) {
50892
        switch (field.id) {
50856
          case 0: // SUCCESS
50893
          case 0: // SUCCESS
50857
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50894
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50858
              {
50895
              {
50859
                org.apache.thrift.protocol.TList _list95 = iprot.readListBegin();
50896
                org.apache.thrift.protocol.TList _list104 = iprot.readListBegin();
50860
                this.success = new ArrayList<Long>(_list95.size);
50897
                this.success = new ArrayList<Long>(_list104.size);
50861
                for (int _i96 = 0; _i96 < _list95.size; ++_i96)
50898
                for (int _i105 = 0; _i105 < _list104.size; ++_i105)
50862
                {
50899
                {
50863
                  long _elem97; // required
50900
                  long _elem106; // required
50864
                  _elem97 = iprot.readI64();
50901
                  _elem106 = iprot.readI64();
50865
                  this.success.add(_elem97);
50902
                  this.success.add(_elem106);
50866
                }
50903
                }
50867
                iprot.readListEnd();
50904
                iprot.readListEnd();
50868
              }
50905
              }
50869
            } else { 
50906
            } else { 
50870
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
50907
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50892... Line 50929...
50892
 
50929
 
50893
      if (this.isSetSuccess()) {
50930
      if (this.isSetSuccess()) {
50894
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50931
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50895
        {
50932
        {
50896
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50933
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
50897
          for (long _iter98 : this.success)
50934
          for (long _iter107 : this.success)
50898
          {
50935
          {
50899
            oprot.writeI64(_iter98);
50936
            oprot.writeI64(_iter107);
50900
          }
50937
          }
50901
          oprot.writeListEnd();
50938
          oprot.writeListEnd();
50902
        }
50939
        }
50903
        oprot.writeFieldEnd();
50940
        oprot.writeFieldEnd();
50904
      } else if (this.isSetScx()) {
50941
      } else if (this.isSetScx()) {
Line 54464... Line 54501...
54464
        }
54501
        }
54465
        switch (field.id) {
54502
        switch (field.id) {
54466
          case 0: // SUCCESS
54503
          case 0: // SUCCESS
54467
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54504
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54468
              {
54505
              {
54469
                org.apache.thrift.protocol.TList _list99 = iprot.readListBegin();
54506
                org.apache.thrift.protocol.TList _list108 = iprot.readListBegin();
54470
                this.success = new ArrayList<String>(_list99.size);
54507
                this.success = new ArrayList<String>(_list108.size);
54471
                for (int _i100 = 0; _i100 < _list99.size; ++_i100)
54508
                for (int _i109 = 0; _i109 < _list108.size; ++_i109)
54472
                {
54509
                {
54473
                  String _elem101; // required
54510
                  String _elem110; // required
54474
                  _elem101 = iprot.readString();
54511
                  _elem110 = iprot.readString();
54475
                  this.success.add(_elem101);
54512
                  this.success.add(_elem110);
54476
                }
54513
                }
54477
                iprot.readListEnd();
54514
                iprot.readListEnd();
54478
              }
54515
              }
54479
            } else { 
54516
            } else { 
54480
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54517
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 54494... Line 54531...
54494
 
54531
 
54495
      if (this.isSetSuccess()) {
54532
      if (this.isSetSuccess()) {
54496
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54533
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54497
        {
54534
        {
54498
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
54535
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
54499
          for (String _iter102 : this.success)
54536
          for (String _iter111 : this.success)
54500
          {
54537
          {
54501
            oprot.writeString(_iter102);
54538
            oprot.writeString(_iter111);
54502
          }
54539
          }
54503
          oprot.writeListEnd();
54540
          oprot.writeListEnd();
54504
        }
54541
        }
54505
        oprot.writeFieldEnd();
54542
        oprot.writeFieldEnd();
54506
      }
54543
      }