Subversion Repositories SmartDukaan

Rev

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

Rev 6838 Rev 6842
Line 169... Line 169...
169
 
169
 
170
    public List<String> getAllTags() throws org.apache.thrift.TException;
170
    public List<String> getAllTags() throws org.apache.thrift.TException;
171
 
171
 
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
172
    public List<Long> getAllEntitiesByTagName(String displayName) throws org.apache.thrift.TException;
173
 
173
 
-
 
174
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException;
-
 
175
 
174
    /**
176
    /**
175
     * Delete similar item.
177
     * Delete similar item.
176
     * 
178
     * 
177
     * @param itemId
179
     * @param itemId
178
     * @param catalogItemId
180
     * @param catalogItemId
Line 441... Line 443...
441
 
443
 
442
    public void getAllTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllTags_call> resultHandler) throws org.apache.thrift.TException;
444
    public void getAllTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllTags_call> resultHandler) throws org.apache.thrift.TException;
443
 
445
 
444
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
446
    public void getAllEntitiesByTagName(String displayName, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntitiesByTagName_call> resultHandler) throws org.apache.thrift.TException;
445
 
447
 
-
 
448
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException;
-
 
449
 
446
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
450
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
447
 
451
 
448
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
452
    public void checkSimilarItem(String brand, String modelNumber, String modelName, String color, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.checkSimilarItem_call> resultHandler) throws org.apache.thrift.TException;
449
 
453
 
450
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
454
    public void validateRiskyStatus(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.validateRiskyStatus_call> resultHandler) throws org.apache.thrift.TException;
Line 1519... Line 1523...
1519
        return result.success;
1523
        return result.success;
1520
      }
1524
      }
1521
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
1525
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntitiesByTagName failed: unknown result");
1522
    }
1526
    }
1523
 
1527
 
-
 
1528
    public Map<Long,List<String>> getAllEntityTags() throws org.apache.thrift.TException
-
 
1529
    {
-
 
1530
      send_getAllEntityTags();
-
 
1531
      return recv_getAllEntityTags();
-
 
1532
    }
-
 
1533
 
-
 
1534
    public void send_getAllEntityTags() throws org.apache.thrift.TException
-
 
1535
    {
-
 
1536
      getAllEntityTags_args args = new getAllEntityTags_args();
-
 
1537
      sendBase("getAllEntityTags", args);
-
 
1538
    }
-
 
1539
 
-
 
1540
    public Map<Long,List<String>> recv_getAllEntityTags() throws org.apache.thrift.TException
-
 
1541
    {
-
 
1542
      getAllEntityTags_result result = new getAllEntityTags_result();
-
 
1543
      receiveBase(result, "getAllEntityTags");
-
 
1544
      if (result.isSetSuccess()) {
-
 
1545
        return result.success;
-
 
1546
      }
-
 
1547
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllEntityTags failed: unknown result");
-
 
1548
    }
-
 
1549
 
1524
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1550
    public boolean deleteSimilarItem(long itemId, long catalogItemId) throws CatalogServiceException, org.apache.thrift.TException
1525
    {
1551
    {
1526
      send_deleteSimilarItem(itemId, catalogItemId);
1552
      send_deleteSimilarItem(itemId, catalogItemId);
1527
      return recv_deleteSimilarItem();
1553
      return recv_deleteSimilarItem();
1528
    }
1554
    }
Line 3650... Line 3676...
3650
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3676
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
3651
        return (new Client(prot)).recv_getAllEntitiesByTagName();
3677
        return (new Client(prot)).recv_getAllEntitiesByTagName();
3652
      }
3678
      }
3653
    }
3679
    }
3654
 
3680
 
-
 
3681
    public void getAllEntityTags(org.apache.thrift.async.AsyncMethodCallback<getAllEntityTags_call> resultHandler) throws org.apache.thrift.TException {
-
 
3682
      checkReady();
-
 
3683
      getAllEntityTags_call method_call = new getAllEntityTags_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
3684
      this.___currentMethod = method_call;
-
 
3685
      ___manager.call(method_call);
-
 
3686
    }
-
 
3687
 
-
 
3688
    public static class getAllEntityTags_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
3689
      public getAllEntityTags_call(org.apache.thrift.async.AsyncMethodCallback<getAllEntityTags_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 {
-
 
3690
        super(client, protocolFactory, transport, resultHandler, false);
-
 
3691
      }
-
 
3692
 
-
 
3693
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
3694
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllEntityTags", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
3695
        getAllEntityTags_args args = new getAllEntityTags_args();
-
 
3696
        args.write(prot);
-
 
3697
        prot.writeMessageEnd();
-
 
3698
      }
-
 
3699
 
-
 
3700
      public Map<Long,List<String>> getResult() throws org.apache.thrift.TException {
-
 
3701
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
3702
          throw new IllegalStateException("Method call not finished!");
-
 
3703
        }
-
 
3704
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
3705
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
3706
        return (new Client(prot)).recv_getAllEntityTags();
-
 
3707
      }
-
 
3708
    }
-
 
3709
 
3655
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
3710
    public void deleteSimilarItem(long itemId, long catalogItemId, org.apache.thrift.async.AsyncMethodCallback<deleteSimilarItem_call> resultHandler) throws org.apache.thrift.TException {
3656
      checkReady();
3711
      checkReady();
3657
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
3712
      deleteSimilarItem_call method_call = new deleteSimilarItem_call(itemId, catalogItemId, resultHandler, this, ___protocolFactory, ___transport);
3658
      this.___currentMethod = method_call;
3713
      this.___currentMethod = method_call;
3659
      ___manager.call(method_call);
3714
      ___manager.call(method_call);
Line 4841... Line 4896...
4841
      processMap.put("addTag", new addTag());
4896
      processMap.put("addTag", new addTag());
4842
      processMap.put("deleteEntityTag", new deleteEntityTag());
4897
      processMap.put("deleteEntityTag", new deleteEntityTag());
4843
      processMap.put("deleteTag", new deleteTag());
4898
      processMap.put("deleteTag", new deleteTag());
4844
      processMap.put("getAllTags", new getAllTags());
4899
      processMap.put("getAllTags", new getAllTags());
4845
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
4900
      processMap.put("getAllEntitiesByTagName", new getAllEntitiesByTagName());
-
 
4901
      processMap.put("getAllEntityTags", new getAllEntityTags());
4846
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
4902
      processMap.put("deleteSimilarItem", new deleteSimilarItem());
4847
      processMap.put("checkSimilarItem", new checkSimilarItem());
4903
      processMap.put("checkSimilarItem", new checkSimilarItem());
4848
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
4904
      processMap.put("validateRiskyStatus", new validateRiskyStatus());
4849
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
4905
      processMap.put("changeItemRiskyFlag", new changeItemRiskyFlag());
4850
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
4906
      processMap.put("getItemsByRiskyFlag", new getItemsByRiskyFlag());
Line 5627... Line 5683...
5627
        result.success = iface.getAllEntitiesByTagName(args.displayName);
5683
        result.success = iface.getAllEntitiesByTagName(args.displayName);
5628
        return result;
5684
        return result;
5629
      }
5685
      }
5630
    }
5686
    }
5631
 
5687
 
-
 
5688
    private static class getAllEntityTags<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllEntityTags_args> {
-
 
5689
      public getAllEntityTags() {
-
 
5690
        super("getAllEntityTags");
-
 
5691
      }
-
 
5692
 
-
 
5693
      protected getAllEntityTags_args getEmptyArgsInstance() {
-
 
5694
        return new getAllEntityTags_args();
-
 
5695
      }
-
 
5696
 
-
 
5697
      protected getAllEntityTags_result getResult(I iface, getAllEntityTags_args args) throws org.apache.thrift.TException {
-
 
5698
        getAllEntityTags_result result = new getAllEntityTags_result();
-
 
5699
        result.success = iface.getAllEntityTags();
-
 
5700
        return result;
-
 
5701
      }
-
 
5702
    }
-
 
5703
 
5632
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
5704
    private static class deleteSimilarItem<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteSimilarItem_args> {
5633
      public deleteSimilarItem() {
5705
      public deleteSimilarItem() {
5634
        super("deleteSimilarItem");
5706
        super("deleteSimilarItem");
5635
      }
5707
      }
5636
 
5708
 
Line 33352... Line 33424...
33352
      }
33424
      }
33353
    }
33425
    }
33354
 
33426
 
33355
  }
33427
  }
33356
 
33428
 
-
 
33429
  public static class getAllEntityTags_args implements org.apache.thrift.TBase<getAllEntityTags_args, getAllEntityTags_args._Fields>, java.io.Serializable, Cloneable   {
-
 
33430
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllEntityTags_args");
-
 
33431
 
-
 
33432
 
-
 
33433
 
-
 
33434
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
33435
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
33436
;
-
 
33437
 
-
 
33438
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
33439
 
-
 
33440
      static {
-
 
33441
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
33442
          byName.put(field.getFieldName(), field);
-
 
33443
        }
-
 
33444
      }
-
 
33445
 
-
 
33446
      /**
-
 
33447
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
33448
       */
-
 
33449
      public static _Fields findByThriftId(int fieldId) {
-
 
33450
        switch(fieldId) {
-
 
33451
          default:
-
 
33452
            return null;
-
 
33453
        }
-
 
33454
      }
-
 
33455
 
-
 
33456
      /**
-
 
33457
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
33458
       * if it is not found.
-
 
33459
       */
-
 
33460
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
33461
        _Fields fields = findByThriftId(fieldId);
-
 
33462
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
33463
        return fields;
-
 
33464
      }
-
 
33465
 
-
 
33466
      /**
-
 
33467
       * Find the _Fields constant that matches name, or null if its not found.
-
 
33468
       */
-
 
33469
      public static _Fields findByName(String name) {
-
 
33470
        return byName.get(name);
-
 
33471
      }
-
 
33472
 
-
 
33473
      private final short _thriftId;
-
 
33474
      private final String _fieldName;
-
 
33475
 
-
 
33476
      _Fields(short thriftId, String fieldName) {
-
 
33477
        _thriftId = thriftId;
-
 
33478
        _fieldName = fieldName;
-
 
33479
      }
-
 
33480
 
-
 
33481
      public short getThriftFieldId() {
-
 
33482
        return _thriftId;
-
 
33483
      }
-
 
33484
 
-
 
33485
      public String getFieldName() {
-
 
33486
        return _fieldName;
-
 
33487
      }
-
 
33488
    }
-
 
33489
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
33490
    static {
-
 
33491
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
33492
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
33493
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllEntityTags_args.class, metaDataMap);
-
 
33494
    }
-
 
33495
 
-
 
33496
    public getAllEntityTags_args() {
-
 
33497
    }
-
 
33498
 
-
 
33499
    /**
-
 
33500
     * Performs a deep copy on <i>other</i>.
-
 
33501
     */
-
 
33502
    public getAllEntityTags_args(getAllEntityTags_args other) {
-
 
33503
    }
-
 
33504
 
-
 
33505
    public getAllEntityTags_args deepCopy() {
-
 
33506
      return new getAllEntityTags_args(this);
-
 
33507
    }
-
 
33508
 
-
 
33509
    @Override
-
 
33510
    public void clear() {
-
 
33511
    }
-
 
33512
 
-
 
33513
    public void setFieldValue(_Fields field, Object value) {
-
 
33514
      switch (field) {
-
 
33515
      }
-
 
33516
    }
-
 
33517
 
-
 
33518
    public Object getFieldValue(_Fields field) {
-
 
33519
      switch (field) {
-
 
33520
      }
-
 
33521
      throw new IllegalStateException();
-
 
33522
    }
-
 
33523
 
-
 
33524
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
33525
    public boolean isSet(_Fields field) {
-
 
33526
      if (field == null) {
-
 
33527
        throw new IllegalArgumentException();
-
 
33528
      }
-
 
33529
 
-
 
33530
      switch (field) {
-
 
33531
      }
-
 
33532
      throw new IllegalStateException();
-
 
33533
    }
-
 
33534
 
-
 
33535
    @Override
-
 
33536
    public boolean equals(Object that) {
-
 
33537
      if (that == null)
-
 
33538
        return false;
-
 
33539
      if (that instanceof getAllEntityTags_args)
-
 
33540
        return this.equals((getAllEntityTags_args)that);
-
 
33541
      return false;
-
 
33542
    }
-
 
33543
 
-
 
33544
    public boolean equals(getAllEntityTags_args that) {
-
 
33545
      if (that == null)
-
 
33546
        return false;
-
 
33547
 
-
 
33548
      return true;
-
 
33549
    }
-
 
33550
 
-
 
33551
    @Override
-
 
33552
    public int hashCode() {
-
 
33553
      return 0;
-
 
33554
    }
-
 
33555
 
-
 
33556
    public int compareTo(getAllEntityTags_args other) {
-
 
33557
      if (!getClass().equals(other.getClass())) {
-
 
33558
        return getClass().getName().compareTo(other.getClass().getName());
-
 
33559
      }
-
 
33560
 
-
 
33561
      int lastComparison = 0;
-
 
33562
      getAllEntityTags_args typedOther = (getAllEntityTags_args)other;
-
 
33563
 
-
 
33564
      return 0;
-
 
33565
    }
-
 
33566
 
-
 
33567
    public _Fields fieldForId(int fieldId) {
-
 
33568
      return _Fields.findByThriftId(fieldId);
-
 
33569
    }
-
 
33570
 
-
 
33571
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
33572
      org.apache.thrift.protocol.TField field;
-
 
33573
      iprot.readStructBegin();
-
 
33574
      while (true)
-
 
33575
      {
-
 
33576
        field = iprot.readFieldBegin();
-
 
33577
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
33578
          break;
-
 
33579
        }
-
 
33580
        switch (field.id) {
-
 
33581
          default:
-
 
33582
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33583
        }
-
 
33584
        iprot.readFieldEnd();
-
 
33585
      }
-
 
33586
      iprot.readStructEnd();
-
 
33587
      validate();
-
 
33588
    }
-
 
33589
 
-
 
33590
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
33591
      validate();
-
 
33592
 
-
 
33593
      oprot.writeStructBegin(STRUCT_DESC);
-
 
33594
      oprot.writeFieldStop();
-
 
33595
      oprot.writeStructEnd();
-
 
33596
    }
-
 
33597
 
-
 
33598
    @Override
-
 
33599
    public String toString() {
-
 
33600
      StringBuilder sb = new StringBuilder("getAllEntityTags_args(");
-
 
33601
      boolean first = true;
-
 
33602
 
-
 
33603
      sb.append(")");
-
 
33604
      return sb.toString();
-
 
33605
    }
-
 
33606
 
-
 
33607
    public void validate() throws org.apache.thrift.TException {
-
 
33608
      // check for required fields
-
 
33609
    }
-
 
33610
 
-
 
33611
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
33612
      try {
-
 
33613
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
33614
      } catch (org.apache.thrift.TException te) {
-
 
33615
        throw new java.io.IOException(te);
-
 
33616
      }
-
 
33617
    }
-
 
33618
 
-
 
33619
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
33620
      try {
-
 
33621
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
33622
      } catch (org.apache.thrift.TException te) {
-
 
33623
        throw new java.io.IOException(te);
-
 
33624
      }
-
 
33625
    }
-
 
33626
 
-
 
33627
  }
-
 
33628
 
-
 
33629
  public static class getAllEntityTags_result implements org.apache.thrift.TBase<getAllEntityTags_result, getAllEntityTags_result._Fields>, java.io.Serializable, Cloneable   {
-
 
33630
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllEntityTags_result");
-
 
33631
 
-
 
33632
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.MAP, (short)0);
-
 
33633
 
-
 
33634
    private Map<Long,List<String>> success; // required
-
 
33635
 
-
 
33636
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
33637
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
33638
      SUCCESS((short)0, "success");
-
 
33639
 
-
 
33640
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
33641
 
-
 
33642
      static {
-
 
33643
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
33644
          byName.put(field.getFieldName(), field);
-
 
33645
        }
-
 
33646
      }
-
 
33647
 
-
 
33648
      /**
-
 
33649
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
33650
       */
-
 
33651
      public static _Fields findByThriftId(int fieldId) {
-
 
33652
        switch(fieldId) {
-
 
33653
          case 0: // SUCCESS
-
 
33654
            return SUCCESS;
-
 
33655
          default:
-
 
33656
            return null;
-
 
33657
        }
-
 
33658
      }
-
 
33659
 
-
 
33660
      /**
-
 
33661
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
33662
       * if it is not found.
-
 
33663
       */
-
 
33664
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
33665
        _Fields fields = findByThriftId(fieldId);
-
 
33666
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
33667
        return fields;
-
 
33668
      }
-
 
33669
 
-
 
33670
      /**
-
 
33671
       * Find the _Fields constant that matches name, or null if its not found.
-
 
33672
       */
-
 
33673
      public static _Fields findByName(String name) {
-
 
33674
        return byName.get(name);
-
 
33675
      }
-
 
33676
 
-
 
33677
      private final short _thriftId;
-
 
33678
      private final String _fieldName;
-
 
33679
 
-
 
33680
      _Fields(short thriftId, String fieldName) {
-
 
33681
        _thriftId = thriftId;
-
 
33682
        _fieldName = fieldName;
-
 
33683
      }
-
 
33684
 
-
 
33685
      public short getThriftFieldId() {
-
 
33686
        return _thriftId;
-
 
33687
      }
-
 
33688
 
-
 
33689
      public String getFieldName() {
-
 
33690
        return _fieldName;
-
 
33691
      }
-
 
33692
    }
-
 
33693
 
-
 
33694
    // isset id assignments
-
 
33695
 
-
 
33696
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
33697
    static {
-
 
33698
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
33699
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
33700
          new org.apache.thrift.meta_data.MapMetaData(org.apache.thrift.protocol.TType.MAP, 
-
 
33701
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64), 
-
 
33702
              new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
33703
                  new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)))));
-
 
33704
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
33705
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllEntityTags_result.class, metaDataMap);
-
 
33706
    }
-
 
33707
 
-
 
33708
    public getAllEntityTags_result() {
-
 
33709
    }
-
 
33710
 
-
 
33711
    public getAllEntityTags_result(
-
 
33712
      Map<Long,List<String>> success)
-
 
33713
    {
-
 
33714
      this();
-
 
33715
      this.success = success;
-
 
33716
    }
-
 
33717
 
-
 
33718
    /**
-
 
33719
     * Performs a deep copy on <i>other</i>.
-
 
33720
     */
-
 
33721
    public getAllEntityTags_result(getAllEntityTags_result other) {
-
 
33722
      if (other.isSetSuccess()) {
-
 
33723
        Map<Long,List<String>> __this__success = new HashMap<Long,List<String>>();
-
 
33724
        for (Map.Entry<Long, List<String>> other_element : other.success.entrySet()) {
-
 
33725
 
-
 
33726
          Long other_element_key = other_element.getKey();
-
 
33727
          List<String> other_element_value = other_element.getValue();
-
 
33728
 
-
 
33729
          Long __this__success_copy_key = other_element_key;
-
 
33730
 
-
 
33731
          List<String> __this__success_copy_value = new ArrayList<String>();
-
 
33732
          for (String other_element_value_element : other_element_value) {
-
 
33733
            __this__success_copy_value.add(other_element_value_element);
-
 
33734
          }
-
 
33735
 
-
 
33736
          __this__success.put(__this__success_copy_key, __this__success_copy_value);
-
 
33737
        }
-
 
33738
        this.success = __this__success;
-
 
33739
      }
-
 
33740
    }
-
 
33741
 
-
 
33742
    public getAllEntityTags_result deepCopy() {
-
 
33743
      return new getAllEntityTags_result(this);
-
 
33744
    }
-
 
33745
 
-
 
33746
    @Override
-
 
33747
    public void clear() {
-
 
33748
      this.success = null;
-
 
33749
    }
-
 
33750
 
-
 
33751
    public int getSuccessSize() {
-
 
33752
      return (this.success == null) ? 0 : this.success.size();
-
 
33753
    }
-
 
33754
 
-
 
33755
    public void putToSuccess(long key, List<String> val) {
-
 
33756
      if (this.success == null) {
-
 
33757
        this.success = new HashMap<Long,List<String>>();
-
 
33758
      }
-
 
33759
      this.success.put(key, val);
-
 
33760
    }
-
 
33761
 
-
 
33762
    public Map<Long,List<String>> getSuccess() {
-
 
33763
      return this.success;
-
 
33764
    }
-
 
33765
 
-
 
33766
    public void setSuccess(Map<Long,List<String>> success) {
-
 
33767
      this.success = success;
-
 
33768
    }
-
 
33769
 
-
 
33770
    public void unsetSuccess() {
-
 
33771
      this.success = null;
-
 
33772
    }
-
 
33773
 
-
 
33774
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
33775
    public boolean isSetSuccess() {
-
 
33776
      return this.success != null;
-
 
33777
    }
-
 
33778
 
-
 
33779
    public void setSuccessIsSet(boolean value) {
-
 
33780
      if (!value) {
-
 
33781
        this.success = null;
-
 
33782
      }
-
 
33783
    }
-
 
33784
 
-
 
33785
    public void setFieldValue(_Fields field, Object value) {
-
 
33786
      switch (field) {
-
 
33787
      case SUCCESS:
-
 
33788
        if (value == null) {
-
 
33789
          unsetSuccess();
-
 
33790
        } else {
-
 
33791
          setSuccess((Map<Long,List<String>>)value);
-
 
33792
        }
-
 
33793
        break;
-
 
33794
 
-
 
33795
      }
-
 
33796
    }
-
 
33797
 
-
 
33798
    public Object getFieldValue(_Fields field) {
-
 
33799
      switch (field) {
-
 
33800
      case SUCCESS:
-
 
33801
        return getSuccess();
-
 
33802
 
-
 
33803
      }
-
 
33804
      throw new IllegalStateException();
-
 
33805
    }
-
 
33806
 
-
 
33807
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
33808
    public boolean isSet(_Fields field) {
-
 
33809
      if (field == null) {
-
 
33810
        throw new IllegalArgumentException();
-
 
33811
      }
-
 
33812
 
-
 
33813
      switch (field) {
-
 
33814
      case SUCCESS:
-
 
33815
        return isSetSuccess();
-
 
33816
      }
-
 
33817
      throw new IllegalStateException();
-
 
33818
    }
-
 
33819
 
-
 
33820
    @Override
-
 
33821
    public boolean equals(Object that) {
-
 
33822
      if (that == null)
-
 
33823
        return false;
-
 
33824
      if (that instanceof getAllEntityTags_result)
-
 
33825
        return this.equals((getAllEntityTags_result)that);
-
 
33826
      return false;
-
 
33827
    }
-
 
33828
 
-
 
33829
    public boolean equals(getAllEntityTags_result that) {
-
 
33830
      if (that == null)
-
 
33831
        return false;
-
 
33832
 
-
 
33833
      boolean this_present_success = true && this.isSetSuccess();
-
 
33834
      boolean that_present_success = true && that.isSetSuccess();
-
 
33835
      if (this_present_success || that_present_success) {
-
 
33836
        if (!(this_present_success && that_present_success))
-
 
33837
          return false;
-
 
33838
        if (!this.success.equals(that.success))
-
 
33839
          return false;
-
 
33840
      }
-
 
33841
 
-
 
33842
      return true;
-
 
33843
    }
-
 
33844
 
-
 
33845
    @Override
-
 
33846
    public int hashCode() {
-
 
33847
      return 0;
-
 
33848
    }
-
 
33849
 
-
 
33850
    public int compareTo(getAllEntityTags_result other) {
-
 
33851
      if (!getClass().equals(other.getClass())) {
-
 
33852
        return getClass().getName().compareTo(other.getClass().getName());
-
 
33853
      }
-
 
33854
 
-
 
33855
      int lastComparison = 0;
-
 
33856
      getAllEntityTags_result typedOther = (getAllEntityTags_result)other;
-
 
33857
 
-
 
33858
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
33859
      if (lastComparison != 0) {
-
 
33860
        return lastComparison;
-
 
33861
      }
-
 
33862
      if (isSetSuccess()) {
-
 
33863
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
33864
        if (lastComparison != 0) {
-
 
33865
          return lastComparison;
-
 
33866
        }
-
 
33867
      }
-
 
33868
      return 0;
-
 
33869
    }
-
 
33870
 
-
 
33871
    public _Fields fieldForId(int fieldId) {
-
 
33872
      return _Fields.findByThriftId(fieldId);
-
 
33873
    }
-
 
33874
 
-
 
33875
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
33876
      org.apache.thrift.protocol.TField field;
-
 
33877
      iprot.readStructBegin();
-
 
33878
      while (true)
-
 
33879
      {
-
 
33880
        field = iprot.readFieldBegin();
-
 
33881
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
33882
          break;
-
 
33883
        }
-
 
33884
        switch (field.id) {
-
 
33885
          case 0: // SUCCESS
-
 
33886
            if (field.type == org.apache.thrift.protocol.TType.MAP) {
-
 
33887
              {
-
 
33888
                org.apache.thrift.protocol.TMap _map85 = iprot.readMapBegin();
-
 
33889
                this.success = new HashMap<Long,List<String>>(2*_map85.size);
-
 
33890
                for (int _i86 = 0; _i86 < _map85.size; ++_i86)
-
 
33891
                {
-
 
33892
                  long _key87; // required
-
 
33893
                  List<String> _val88; // required
-
 
33894
                  _key87 = iprot.readI64();
-
 
33895
                  {
-
 
33896
                    org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
-
 
33897
                    _val88 = new ArrayList<String>(_list89.size);
-
 
33898
                    for (int _i90 = 0; _i90 < _list89.size; ++_i90)
-
 
33899
                    {
-
 
33900
                      String _elem91; // required
-
 
33901
                      _elem91 = iprot.readString();
-
 
33902
                      _val88.add(_elem91);
-
 
33903
                    }
-
 
33904
                    iprot.readListEnd();
-
 
33905
                  }
-
 
33906
                  this.success.put(_key87, _val88);
-
 
33907
                }
-
 
33908
                iprot.readMapEnd();
-
 
33909
              }
-
 
33910
            } else { 
-
 
33911
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33912
            }
-
 
33913
            break;
-
 
33914
          default:
-
 
33915
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
33916
        }
-
 
33917
        iprot.readFieldEnd();
-
 
33918
      }
-
 
33919
      iprot.readStructEnd();
-
 
33920
      validate();
-
 
33921
    }
-
 
33922
 
-
 
33923
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
33924
      oprot.writeStructBegin(STRUCT_DESC);
-
 
33925
 
-
 
33926
      if (this.isSetSuccess()) {
-
 
33927
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
33928
        {
-
 
33929
          oprot.writeMapBegin(new org.apache.thrift.protocol.TMap(org.apache.thrift.protocol.TType.I64, org.apache.thrift.protocol.TType.LIST, this.success.size()));
-
 
33930
          for (Map.Entry<Long, List<String>> _iter92 : this.success.entrySet())
-
 
33931
          {
-
 
33932
            oprot.writeI64(_iter92.getKey());
-
 
33933
            {
-
 
33934
              oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, _iter92.getValue().size()));
-
 
33935
              for (String _iter93 : _iter92.getValue())
-
 
33936
              {
-
 
33937
                oprot.writeString(_iter93);
-
 
33938
              }
-
 
33939
              oprot.writeListEnd();
-
 
33940
            }
-
 
33941
          }
-
 
33942
          oprot.writeMapEnd();
-
 
33943
        }
-
 
33944
        oprot.writeFieldEnd();
-
 
33945
      }
-
 
33946
      oprot.writeFieldStop();
-
 
33947
      oprot.writeStructEnd();
-
 
33948
    }
-
 
33949
 
-
 
33950
    @Override
-
 
33951
    public String toString() {
-
 
33952
      StringBuilder sb = new StringBuilder("getAllEntityTags_result(");
-
 
33953
      boolean first = true;
-
 
33954
 
-
 
33955
      sb.append("success:");
-
 
33956
      if (this.success == null) {
-
 
33957
        sb.append("null");
-
 
33958
      } else {
-
 
33959
        sb.append(this.success);
-
 
33960
      }
-
 
33961
      first = false;
-
 
33962
      sb.append(")");
-
 
33963
      return sb.toString();
-
 
33964
    }
-
 
33965
 
-
 
33966
    public void validate() throws org.apache.thrift.TException {
-
 
33967
      // check for required fields
-
 
33968
    }
-
 
33969
 
-
 
33970
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
33971
      try {
-
 
33972
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
33973
      } catch (org.apache.thrift.TException te) {
-
 
33974
        throw new java.io.IOException(te);
-
 
33975
      }
-
 
33976
    }
-
 
33977
 
-
 
33978
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
33979
      try {
-
 
33980
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
33981
      } catch (org.apache.thrift.TException te) {
-
 
33982
        throw new java.io.IOException(te);
-
 
33983
      }
-
 
33984
    }
-
 
33985
 
-
 
33986
  }
-
 
33987
 
33357
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
33988
  public static class deleteSimilarItem_args implements org.apache.thrift.TBase<deleteSimilarItem_args, deleteSimilarItem_args._Fields>, java.io.Serializable, Cloneable   {
33358
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
33989
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteSimilarItem_args");
33359
 
33990
 
33360
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
33991
    private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
33361
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
33992
    private static final org.apache.thrift.protocol.TField CATALOG_ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("catalogItemId", org.apache.thrift.protocol.TType.I64, (short)2);
Line 36478... Line 37109...
36478
        }
37109
        }
36479
        switch (field.id) {
37110
        switch (field.id) {
36480
          case 0: // SUCCESS
37111
          case 0: // SUCCESS
36481
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37112
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
36482
              {
37113
              {
36483
                org.apache.thrift.protocol.TList _list85 = iprot.readListBegin();
37114
                org.apache.thrift.protocol.TList _list94 = iprot.readListBegin();
36484
                this.success = new ArrayList<Item>(_list85.size);
37115
                this.success = new ArrayList<Item>(_list94.size);
36485
                for (int _i86 = 0; _i86 < _list85.size; ++_i86)
37116
                for (int _i95 = 0; _i95 < _list94.size; ++_i95)
36486
                {
37117
                {
36487
                  Item _elem87; // required
37118
                  Item _elem96; // required
36488
                  _elem87 = new Item();
37119
                  _elem96 = new Item();
36489
                  _elem87.read(iprot);
37120
                  _elem96.read(iprot);
36490
                  this.success.add(_elem87);
37121
                  this.success.add(_elem96);
36491
                }
37122
                }
36492
                iprot.readListEnd();
37123
                iprot.readListEnd();
36493
              }
37124
              }
36494
            } else { 
37125
            } else { 
36495
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37126
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 36509... Line 37140...
36509
 
37140
 
36510
      if (this.isSetSuccess()) {
37141
      if (this.isSetSuccess()) {
36511
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37142
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
36512
        {
37143
        {
36513
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37144
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
36514
          for (Item _iter88 : this.success)
37145
          for (Item _iter97 : this.success)
36515
          {
37146
          {
36516
            _iter88.write(oprot);
37147
            _iter97.write(oprot);
36517
          }
37148
          }
36518
          oprot.writeListEnd();
37149
          oprot.writeListEnd();
36519
        }
37150
        }
36520
        oprot.writeFieldEnd();
37151
        oprot.writeFieldEnd();
36521
      }
37152
      }
Line 37191... Line 37822...
37191
        }
37822
        }
37192
        switch (field.id) {
37823
        switch (field.id) {
37193
          case 0: // SUCCESS
37824
          case 0: // SUCCESS
37194
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37825
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37195
              {
37826
              {
37196
                org.apache.thrift.protocol.TList _list89 = iprot.readListBegin();
37827
                org.apache.thrift.protocol.TList _list98 = iprot.readListBegin();
37197
                this.success = new ArrayList<Item>(_list89.size);
37828
                this.success = new ArrayList<Item>(_list98.size);
37198
                for (int _i90 = 0; _i90 < _list89.size; ++_i90)
37829
                for (int _i99 = 0; _i99 < _list98.size; ++_i99)
37199
                {
37830
                {
37200
                  Item _elem91; // required
37831
                  Item _elem100; // required
37201
                  _elem91 = new Item();
37832
                  _elem100 = new Item();
37202
                  _elem91.read(iprot);
37833
                  _elem100.read(iprot);
37203
                  this.success.add(_elem91);
37834
                  this.success.add(_elem100);
37204
                }
37835
                }
37205
                iprot.readListEnd();
37836
                iprot.readListEnd();
37206
              }
37837
              }
37207
            } else { 
37838
            } else { 
37208
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
37839
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 37222... Line 37853...
37222
 
37853
 
37223
      if (this.isSetSuccess()) {
37854
      if (this.isSetSuccess()) {
37224
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37855
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
37225
        {
37856
        {
37226
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37857
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
37227
          for (Item _iter92 : this.success)
37858
          for (Item _iter101 : this.success)
37228
          {
37859
          {
37229
            _iter92.write(oprot);
37860
            _iter101.write(oprot);
37230
          }
37861
          }
37231
          oprot.writeListEnd();
37862
          oprot.writeListEnd();
37232
        }
37863
        }
37233
        oprot.writeFieldEnd();
37864
        oprot.writeFieldEnd();
37234
      }
37865
      }
Line 37980... Line 38611...
37980
        }
38611
        }
37981
        switch (field.id) {
38612
        switch (field.id) {
37982
          case 0: // SUCCESS
38613
          case 0: // SUCCESS
37983
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
38614
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
37984
              {
38615
              {
37985
                org.apache.thrift.protocol.TList _list93 = iprot.readListBegin();
38616
                org.apache.thrift.protocol.TList _list102 = iprot.readListBegin();
37986
                this.success = new ArrayList<Long>(_list93.size);
38617
                this.success = new ArrayList<Long>(_list102.size);
37987
                for (int _i94 = 0; _i94 < _list93.size; ++_i94)
38618
                for (int _i103 = 0; _i103 < _list102.size; ++_i103)
37988
                {
38619
                {
37989
                  long _elem95; // required
38620
                  long _elem104; // required
37990
                  _elem95 = iprot.readI64();
38621
                  _elem104 = iprot.readI64();
37991
                  this.success.add(_elem95);
38622
                  this.success.add(_elem104);
37992
                }
38623
                }
37993
                iprot.readListEnd();
38624
                iprot.readListEnd();
37994
              }
38625
              }
37995
            } else { 
38626
            } else { 
37996
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
38627
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 38010... Line 38641...
38010
 
38641
 
38011
      if (this.isSetSuccess()) {
38642
      if (this.isSetSuccess()) {
38012
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38643
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
38013
        {
38644
        {
38014
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
38645
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
38015
          for (long _iter96 : this.success)
38646
          for (long _iter105 : this.success)
38016
          {
38647
          {
38017
            oprot.writeI64(_iter96);
38648
            oprot.writeI64(_iter105);
38018
          }
38649
          }
38019
          oprot.writeListEnd();
38650
          oprot.writeListEnd();
38020
        }
38651
        }
38021
        oprot.writeFieldEnd();
38652
        oprot.writeFieldEnd();
38022
      }
38653
      }
Line 39772... Line 40403...
39772
        }
40403
        }
39773
        switch (field.id) {
40404
        switch (field.id) {
39774
          case 0: // SUCCESS
40405
          case 0: // SUCCESS
39775
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40406
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
39776
              {
40407
              {
39777
                org.apache.thrift.protocol.TList _list97 = iprot.readListBegin();
40408
                org.apache.thrift.protocol.TList _list106 = iprot.readListBegin();
39778
                this.success = new ArrayList<String>(_list97.size);
40409
                this.success = new ArrayList<String>(_list106.size);
39779
                for (int _i98 = 0; _i98 < _list97.size; ++_i98)
40410
                for (int _i107 = 0; _i107 < _list106.size; ++_i107)
39780
                {
40411
                {
39781
                  String _elem99; // required
40412
                  String _elem108; // required
39782
                  _elem99 = iprot.readString();
40413
                  _elem108 = iprot.readString();
39783
                  this.success.add(_elem99);
40414
                  this.success.add(_elem108);
39784
                }
40415
                }
39785
                iprot.readListEnd();
40416
                iprot.readListEnd();
39786
              }
40417
              }
39787
            } else { 
40418
            } else { 
39788
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40419
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 39802... Line 40433...
39802
 
40433
 
39803
      if (this.isSetSuccess()) {
40434
      if (this.isSetSuccess()) {
39804
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40435
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
39805
        {
40436
        {
39806
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
40437
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
39807
          for (String _iter100 : this.success)
40438
          for (String _iter109 : this.success)
39808
          {
40439
          {
39809
            oprot.writeString(_iter100);
40440
            oprot.writeString(_iter109);
39810
          }
40441
          }
39811
          oprot.writeListEnd();
40442
          oprot.writeListEnd();
39812
        }
40443
        }
39813
        oprot.writeFieldEnd();
40444
        oprot.writeFieldEnd();
39814
      }
40445
      }
Line 40302... Line 40933...
40302
        }
40933
        }
40303
        switch (field.id) {
40934
        switch (field.id) {
40304
          case 0: // SUCCESS
40935
          case 0: // SUCCESS
40305
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40936
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40306
              {
40937
              {
40307
                org.apache.thrift.protocol.TList _list101 = iprot.readListBegin();
40938
                org.apache.thrift.protocol.TList _list110 = iprot.readListBegin();
40308
                this.success = new ArrayList<String>(_list101.size);
40939
                this.success = new ArrayList<String>(_list110.size);
40309
                for (int _i102 = 0; _i102 < _list101.size; ++_i102)
40940
                for (int _i111 = 0; _i111 < _list110.size; ++_i111)
40310
                {
40941
                {
40311
                  String _elem103; // required
40942
                  String _elem112; // required
40312
                  _elem103 = iprot.readString();
40943
                  _elem112 = iprot.readString();
40313
                  this.success.add(_elem103);
40944
                  this.success.add(_elem112);
40314
                }
40945
                }
40315
                iprot.readListEnd();
40946
                iprot.readListEnd();
40316
              }
40947
              }
40317
            } else { 
40948
            } else { 
40318
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
40949
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40332... Line 40963...
40332
 
40963
 
40333
      if (this.isSetSuccess()) {
40964
      if (this.isSetSuccess()) {
40334
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40965
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40335
        {
40966
        {
40336
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
40967
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.success.size()));
40337
          for (String _iter104 : this.success)
40968
          for (String _iter113 : this.success)
40338
          {
40969
          {
40339
            oprot.writeString(_iter104);
40970
            oprot.writeString(_iter113);
40340
          }
40971
          }
40341
          oprot.writeListEnd();
40972
          oprot.writeListEnd();
40342
        }
40973
        }
40343
        oprot.writeFieldEnd();
40974
        oprot.writeFieldEnd();
40344
      }
40975
      }
Line 40832... Line 41463...
40832
        }
41463
        }
40833
        switch (field.id) {
41464
        switch (field.id) {
40834
          case 0: // SUCCESS
41465
          case 0: // SUCCESS
40835
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
41466
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
40836
              {
41467
              {
40837
                org.apache.thrift.protocol.TList _list105 = iprot.readListBegin();
41468
                org.apache.thrift.protocol.TList _list114 = iprot.readListBegin();
40838
                this.success = new ArrayList<Source>(_list105.size);
41469
                this.success = new ArrayList<Source>(_list114.size);
40839
                for (int _i106 = 0; _i106 < _list105.size; ++_i106)
41470
                for (int _i115 = 0; _i115 < _list114.size; ++_i115)
40840
                {
41471
                {
40841
                  Source _elem107; // required
41472
                  Source _elem116; // required
40842
                  _elem107 = new Source();
41473
                  _elem116 = new Source();
40843
                  _elem107.read(iprot);
41474
                  _elem116.read(iprot);
40844
                  this.success.add(_elem107);
41475
                  this.success.add(_elem116);
40845
                }
41476
                }
40846
                iprot.readListEnd();
41477
                iprot.readListEnd();
40847
              }
41478
              }
40848
            } else { 
41479
            } else { 
40849
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
41480
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 40863... Line 41494...
40863
 
41494
 
40864
      if (this.isSetSuccess()) {
41495
      if (this.isSetSuccess()) {
40865
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
41496
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
40866
        {
41497
        {
40867
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
41498
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
40868
          for (Source _iter108 : this.success)
41499
          for (Source _iter117 : this.success)
40869
          {
41500
          {
40870
            _iter108.write(oprot);
41501
            _iter117.write(oprot);
40871
          }
41502
          }
40872
          oprot.writeListEnd();
41503
          oprot.writeListEnd();
40873
        }
41504
        }
40874
        oprot.writeFieldEnd();
41505
        oprot.writeFieldEnd();
40875
      }
41506
      }
Line 42869... Line 43500...
42869
        }
43500
        }
42870
        switch (field.id) {
43501
        switch (field.id) {
42871
          case 0: // SUCCESS
43502
          case 0: // SUCCESS
42872
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
43503
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
42873
              {
43504
              {
42874
                org.apache.thrift.protocol.TList _list109 = iprot.readListBegin();
43505
                org.apache.thrift.protocol.TList _list118 = iprot.readListBegin();
42875
                this.success = new ArrayList<SourceItemPricing>(_list109.size);
43506
                this.success = new ArrayList<SourceItemPricing>(_list118.size);
42876
                for (int _i110 = 0; _i110 < _list109.size; ++_i110)
43507
                for (int _i119 = 0; _i119 < _list118.size; ++_i119)
42877
                {
43508
                {
42878
                  SourceItemPricing _elem111; // required
43509
                  SourceItemPricing _elem120; // required
42879
                  _elem111 = new SourceItemPricing();
43510
                  _elem120 = new SourceItemPricing();
42880
                  _elem111.read(iprot);
43511
                  _elem120.read(iprot);
42881
                  this.success.add(_elem111);
43512
                  this.success.add(_elem120);
42882
                }
43513
                }
42883
                iprot.readListEnd();
43514
                iprot.readListEnd();
42884
              }
43515
              }
42885
            } else { 
43516
            } else { 
42886
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
43517
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 42908... Line 43539...
42908
 
43539
 
42909
      if (this.isSetSuccess()) {
43540
      if (this.isSetSuccess()) {
42910
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
43541
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
42911
        {
43542
        {
42912
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
43543
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
42913
          for (SourceItemPricing _iter112 : this.success)
43544
          for (SourceItemPricing _iter121 : this.success)
42914
          {
43545
          {
42915
            _iter112.write(oprot);
43546
            _iter121.write(oprot);
42916
          }
43547
          }
42917
          oprot.writeListEnd();
43548
          oprot.writeListEnd();
42918
        }
43549
        }
42919
        oprot.writeFieldEnd();
43550
        oprot.writeFieldEnd();
42920
      } else if (this.isSetCex()) {
43551
      } else if (this.isSetCex()) {
Line 44116... Line 44747...
44116
        }
44747
        }
44117
        switch (field.id) {
44748
        switch (field.id) {
44118
          case 1: // SEARCH_TERMS
44749
          case 1: // SEARCH_TERMS
44119
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44750
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44120
              {
44751
              {
44121
                org.apache.thrift.protocol.TList _list113 = iprot.readListBegin();
44752
                org.apache.thrift.protocol.TList _list122 = iprot.readListBegin();
44122
                this.searchTerms = new ArrayList<String>(_list113.size);
44753
                this.searchTerms = new ArrayList<String>(_list122.size);
44123
                for (int _i114 = 0; _i114 < _list113.size; ++_i114)
44754
                for (int _i123 = 0; _i123 < _list122.size; ++_i123)
44124
                {
44755
                {
44125
                  String _elem115; // required
44756
                  String _elem124; // required
44126
                  _elem115 = iprot.readString();
44757
                  _elem124 = iprot.readString();
44127
                  this.searchTerms.add(_elem115);
44758
                  this.searchTerms.add(_elem124);
44128
                }
44759
                }
44129
                iprot.readListEnd();
44760
                iprot.readListEnd();
44130
              }
44761
              }
44131
            } else { 
44762
            } else { 
44132
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
44763
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44163... Line 44794...
44163
      oprot.writeStructBegin(STRUCT_DESC);
44794
      oprot.writeStructBegin(STRUCT_DESC);
44164
      if (this.searchTerms != null) {
44795
      if (this.searchTerms != null) {
44165
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
44796
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
44166
        {
44797
        {
44167
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
44798
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
44168
          for (String _iter116 : this.searchTerms)
44799
          for (String _iter125 : this.searchTerms)
44169
          {
44800
          {
44170
            oprot.writeString(_iter116);
44801
            oprot.writeString(_iter125);
44171
          }
44802
          }
44172
          oprot.writeListEnd();
44803
          oprot.writeListEnd();
44173
        }
44804
        }
44174
        oprot.writeFieldEnd();
44805
        oprot.writeFieldEnd();
44175
      }
44806
      }
Line 44477... Line 45108...
44477
        }
45108
        }
44478
        switch (field.id) {
45109
        switch (field.id) {
44479
          case 0: // SUCCESS
45110
          case 0: // SUCCESS
44480
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45111
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44481
              {
45112
              {
44482
                org.apache.thrift.protocol.TList _list117 = iprot.readListBegin();
45113
                org.apache.thrift.protocol.TList _list126 = iprot.readListBegin();
44483
                this.success = new ArrayList<Item>(_list117.size);
45114
                this.success = new ArrayList<Item>(_list126.size);
44484
                for (int _i118 = 0; _i118 < _list117.size; ++_i118)
45115
                for (int _i127 = 0; _i127 < _list126.size; ++_i127)
44485
                {
45116
                {
44486
                  Item _elem119; // required
45117
                  Item _elem128; // required
44487
                  _elem119 = new Item();
45118
                  _elem128 = new Item();
44488
                  _elem119.read(iprot);
45119
                  _elem128.read(iprot);
44489
                  this.success.add(_elem119);
45120
                  this.success.add(_elem128);
44490
                }
45121
                }
44491
                iprot.readListEnd();
45122
                iprot.readListEnd();
44492
              }
45123
              }
44493
            } else { 
45124
            } else { 
44494
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45125
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44508... Line 45139...
44508
 
45139
 
44509
      if (this.isSetSuccess()) {
45140
      if (this.isSetSuccess()) {
44510
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45141
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
44511
        {
45142
        {
44512
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45143
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
44513
          for (Item _iter120 : this.success)
45144
          for (Item _iter129 : this.success)
44514
          {
45145
          {
44515
            _iter120.write(oprot);
45146
            _iter129.write(oprot);
44516
          }
45147
          }
44517
          oprot.writeListEnd();
45148
          oprot.writeListEnd();
44518
        }
45149
        }
44519
        oprot.writeFieldEnd();
45150
        oprot.writeFieldEnd();
44520
      }
45151
      }
Line 44808... Line 45439...
44808
        }
45439
        }
44809
        switch (field.id) {
45440
        switch (field.id) {
44810
          case 1: // SEARCH_TERMS
45441
          case 1: // SEARCH_TERMS
44811
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45442
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
44812
              {
45443
              {
44813
                org.apache.thrift.protocol.TList _list121 = iprot.readListBegin();
45444
                org.apache.thrift.protocol.TList _list130 = iprot.readListBegin();
44814
                this.searchTerms = new ArrayList<String>(_list121.size);
45445
                this.searchTerms = new ArrayList<String>(_list130.size);
44815
                for (int _i122 = 0; _i122 < _list121.size; ++_i122)
45446
                for (int _i131 = 0; _i131 < _list130.size; ++_i131)
44816
                {
45447
                {
44817
                  String _elem123; // required
45448
                  String _elem132; // required
44818
                  _elem123 = iprot.readString();
45449
                  _elem132 = iprot.readString();
44819
                  this.searchTerms.add(_elem123);
45450
                  this.searchTerms.add(_elem132);
44820
                }
45451
                }
44821
                iprot.readListEnd();
45452
                iprot.readListEnd();
44822
              }
45453
              }
44823
            } else { 
45454
            } else { 
44824
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
45455
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 44839... Line 45470...
44839
      oprot.writeStructBegin(STRUCT_DESC);
45470
      oprot.writeStructBegin(STRUCT_DESC);
44840
      if (this.searchTerms != null) {
45471
      if (this.searchTerms != null) {
44841
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
45472
        oprot.writeFieldBegin(SEARCH_TERMS_FIELD_DESC);
44842
        {
45473
        {
44843
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
45474
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRING, this.searchTerms.size()));
44844
          for (String _iter124 : this.searchTerms)
45475
          for (String _iter133 : this.searchTerms)
44845
          {
45476
          {
44846
            oprot.writeString(_iter124);
45477
            oprot.writeString(_iter133);
44847
          }
45478
          }
44848
          oprot.writeListEnd();
45479
          oprot.writeListEnd();
44849
        }
45480
        }
44850
        oprot.writeFieldEnd();
45481
        oprot.writeFieldEnd();
44851
      }
45482
      }
Line 45726... Line 46357...
45726
        }
46357
        }
45727
        switch (field.id) {
46358
        switch (field.id) {
45728
          case 0: // SUCCESS
46359
          case 0: // SUCCESS
45729
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46360
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
45730
              {
46361
              {
45731
                org.apache.thrift.protocol.TList _list125 = iprot.readListBegin();
46362
                org.apache.thrift.protocol.TList _list134 = iprot.readListBegin();
45732
                this.success = new ArrayList<ProductNotificationRequest>(_list125.size);
46363
                this.success = new ArrayList<ProductNotificationRequest>(_list134.size);
45733
                for (int _i126 = 0; _i126 < _list125.size; ++_i126)
46364
                for (int _i135 = 0; _i135 < _list134.size; ++_i135)
45734
                {
46365
                {
45735
                  ProductNotificationRequest _elem127; // required
46366
                  ProductNotificationRequest _elem136; // required
45736
                  _elem127 = new ProductNotificationRequest();
46367
                  _elem136 = new ProductNotificationRequest();
45737
                  _elem127.read(iprot);
46368
                  _elem136.read(iprot);
45738
                  this.success.add(_elem127);
46369
                  this.success.add(_elem136);
45739
                }
46370
                }
45740
                iprot.readListEnd();
46371
                iprot.readListEnd();
45741
              }
46372
              }
45742
            } else { 
46373
            } else { 
45743
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46374
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 45757... Line 46388...
45757
 
46388
 
45758
      if (this.isSetSuccess()) {
46389
      if (this.isSetSuccess()) {
45759
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46390
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
45760
        {
46391
        {
45761
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46392
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
45762
          for (ProductNotificationRequest _iter128 : this.success)
46393
          for (ProductNotificationRequest _iter137 : this.success)
45763
          {
46394
          {
45764
            _iter128.write(oprot);
46395
            _iter137.write(oprot);
45765
          }
46396
          }
45766
          oprot.writeListEnd();
46397
          oprot.writeListEnd();
45767
        }
46398
        }
45768
        oprot.writeFieldEnd();
46399
        oprot.writeFieldEnd();
45769
      }
46400
      }
Line 46351... Line 46982...
46351
        }
46982
        }
46352
        switch (field.id) {
46983
        switch (field.id) {
46353
          case 0: // SUCCESS
46984
          case 0: // SUCCESS
46354
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46985
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
46355
              {
46986
              {
46356
                org.apache.thrift.protocol.TList _list129 = iprot.readListBegin();
46987
                org.apache.thrift.protocol.TList _list138 = iprot.readListBegin();
46357
                this.success = new ArrayList<ProductNotificationRequestCount>(_list129.size);
46988
                this.success = new ArrayList<ProductNotificationRequestCount>(_list138.size);
46358
                for (int _i130 = 0; _i130 < _list129.size; ++_i130)
46989
                for (int _i139 = 0; _i139 < _list138.size; ++_i139)
46359
                {
46990
                {
46360
                  ProductNotificationRequestCount _elem131; // required
46991
                  ProductNotificationRequestCount _elem140; // required
46361
                  _elem131 = new ProductNotificationRequestCount();
46992
                  _elem140 = new ProductNotificationRequestCount();
46362
                  _elem131.read(iprot);
46993
                  _elem140.read(iprot);
46363
                  this.success.add(_elem131);
46994
                  this.success.add(_elem140);
46364
                }
46995
                }
46365
                iprot.readListEnd();
46996
                iprot.readListEnd();
46366
              }
46997
              }
46367
            } else { 
46998
            } else { 
46368
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
46999
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 46382... Line 47013...
46382
 
47013
 
46383
      if (this.isSetSuccess()) {
47014
      if (this.isSetSuccess()) {
46384
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47015
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
46385
        {
47016
        {
46386
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
47017
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
46387
          for (ProductNotificationRequestCount _iter132 : this.success)
47018
          for (ProductNotificationRequestCount _iter141 : this.success)
46388
          {
47019
          {
46389
            _iter132.write(oprot);
47020
            _iter141.write(oprot);
46390
          }
47021
          }
46391
          oprot.writeListEnd();
47022
          oprot.writeListEnd();
46392
        }
47023
        }
46393
        oprot.writeFieldEnd();
47024
        oprot.writeFieldEnd();
46394
      }
47025
      }
Line 47801... Line 48432...
47801
        }
48432
        }
47802
        switch (field.id) {
48433
        switch (field.id) {
47803
          case 0: // SUCCESS
48434
          case 0: // SUCCESS
47804
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
48435
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
47805
              {
48436
              {
47806
                org.apache.thrift.protocol.TList _list133 = iprot.readListBegin();
48437
                org.apache.thrift.protocol.TList _list142 = iprot.readListBegin();
47807
                this.success = new ArrayList<Long>(_list133.size);
48438
                this.success = new ArrayList<Long>(_list142.size);
47808
                for (int _i134 = 0; _i134 < _list133.size; ++_i134)
48439
                for (int _i143 = 0; _i143 < _list142.size; ++_i143)
47809
                {
48440
                {
47810
                  long _elem135; // required
48441
                  long _elem144; // required
47811
                  _elem135 = iprot.readI64();
48442
                  _elem144 = iprot.readI64();
47812
                  this.success.add(_elem135);
48443
                  this.success.add(_elem144);
47813
                }
48444
                }
47814
                iprot.readListEnd();
48445
                iprot.readListEnd();
47815
              }
48446
              }
47816
            } else { 
48447
            } else { 
47817
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
48448
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 47839... Line 48470...
47839
 
48470
 
47840
      if (this.isSetSuccess()) {
48471
      if (this.isSetSuccess()) {
47841
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
48472
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
47842
        {
48473
        {
47843
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
48474
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.success.size()));
47844
          for (long _iter136 : this.success)
48475
          for (long _iter145 : this.success)
47845
          {
48476
          {
47846
            oprot.writeI64(_iter136);
48477
            oprot.writeI64(_iter145);
47847
          }
48478
          }
47848
          oprot.writeListEnd();
48479
          oprot.writeListEnd();
47849
        }
48480
        }
47850
        oprot.writeFieldEnd();
48481
        oprot.writeFieldEnd();
47851
      } else if (this.isSetCex()) {
48482
      } else if (this.isSetCex()) {
Line 50454... Line 51085...
50454
      }
51085
      }
50455
    }
51086
    }
50456
 
51087
 
50457
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
51088
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
50458
      try {
51089
      try {
50459
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
50460
        __isset_bit_vector = new BitSet(1);
-
 
50461
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
51090
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
50462
      } catch (org.apache.thrift.TException te) {
51091
      } catch (org.apache.thrift.TException te) {
50463
        throw new java.io.IOException(te);
51092
        throw new java.io.IOException(te);
50464
      }
51093
      }
50465
    }
51094
    }
Line 50714... Line 51343...
50714
        }
51343
        }
50715
        switch (field.id) {
51344
        switch (field.id) {
50716
          case 0: // SUCCESS
51345
          case 0: // SUCCESS
50717
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
51346
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
50718
              {
51347
              {
50719
                org.apache.thrift.protocol.TList _list137 = iprot.readListBegin();
51348
                org.apache.thrift.protocol.TList _list146 = iprot.readListBegin();
50720
                this.success = new ArrayList<VoucherItemMapping>(_list137.size);
51349
                this.success = new ArrayList<VoucherItemMapping>(_list146.size);
50721
                for (int _i138 = 0; _i138 < _list137.size; ++_i138)
51350
                for (int _i147 = 0; _i147 < _list146.size; ++_i147)
50722
                {
51351
                {
50723
                  VoucherItemMapping _elem139; // required
51352
                  VoucherItemMapping _elem148; // required
50724
                  _elem139 = new VoucherItemMapping();
51353
                  _elem148 = new VoucherItemMapping();
50725
                  _elem139.read(iprot);
51354
                  _elem148.read(iprot);
50726
                  this.success.add(_elem139);
51355
                  this.success.add(_elem148);
50727
                }
51356
                }
50728
                iprot.readListEnd();
51357
                iprot.readListEnd();
50729
              }
51358
              }
50730
            } else { 
51359
            } else { 
50731
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
51360
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 50745... Line 51374...
50745
 
51374
 
50746
      if (this.isSetSuccess()) {
51375
      if (this.isSetSuccess()) {
50747
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
51376
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
50748
        {
51377
        {
50749
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
51378
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
50750
          for (VoucherItemMapping _iter140 : this.success)
51379
          for (VoucherItemMapping _iter149 : this.success)
50751
          {
51380
          {
50752
            _iter140.write(oprot);
51381
            _iter149.write(oprot);
50753
          }
51382
          }
50754
          oprot.writeListEnd();
51383
          oprot.writeListEnd();
50755
        }
51384
        }
50756
        oprot.writeFieldEnd();
51385
        oprot.writeFieldEnd();
50757
      }
51386
      }
Line 53347... Line 53976...
53347
        }
53976
        }
53348
        switch (field.id) {
53977
        switch (field.id) {
53349
          case 0: // SUCCESS
53978
          case 0: // SUCCESS
53350
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53979
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53351
              {
53980
              {
53352
                org.apache.thrift.protocol.TList _list141 = iprot.readListBegin();
53981
                org.apache.thrift.protocol.TList _list150 = iprot.readListBegin();
53353
                this.success = new ArrayList<Item>(_list141.size);
53982
                this.success = new ArrayList<Item>(_list150.size);
53354
                for (int _i142 = 0; _i142 < _list141.size; ++_i142)
53983
                for (int _i151 = 0; _i151 < _list150.size; ++_i151)
53355
                {
53984
                {
53356
                  Item _elem143; // required
53985
                  Item _elem152; // required
53357
                  _elem143 = new Item();
53986
                  _elem152 = new Item();
53358
                  _elem143.read(iprot);
53987
                  _elem152.read(iprot);
53359
                  this.success.add(_elem143);
53988
                  this.success.add(_elem152);
53360
                }
53989
                }
53361
                iprot.readListEnd();
53990
                iprot.readListEnd();
53362
              }
53991
              }
53363
            } else { 
53992
            } else { 
53364
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
53993
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53378... Line 54007...
53378
 
54007
 
53379
      if (this.isSetSuccess()) {
54008
      if (this.isSetSuccess()) {
53380
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54009
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53381
        {
54010
        {
53382
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54011
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53383
          for (Item _iter144 : this.success)
54012
          for (Item _iter153 : this.success)
53384
          {
54013
          {
53385
            _iter144.write(oprot);
54014
            _iter153.write(oprot);
53386
          }
54015
          }
53387
          oprot.writeListEnd();
54016
          oprot.writeListEnd();
53388
        }
54017
        }
53389
        oprot.writeFieldEnd();
54018
        oprot.writeFieldEnd();
53390
      }
54019
      }
Line 53878... Line 54507...
53878
        }
54507
        }
53879
        switch (field.id) {
54508
        switch (field.id) {
53880
          case 0: // SUCCESS
54509
          case 0: // SUCCESS
53881
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
54510
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
53882
              {
54511
              {
53883
                org.apache.thrift.protocol.TList _list145 = iprot.readListBegin();
54512
                org.apache.thrift.protocol.TList _list154 = iprot.readListBegin();
53884
                this.success = new ArrayList<Item>(_list145.size);
54513
                this.success = new ArrayList<Item>(_list154.size);
53885
                for (int _i146 = 0; _i146 < _list145.size; ++_i146)
54514
                for (int _i155 = 0; _i155 < _list154.size; ++_i155)
53886
                {
54515
                {
53887
                  Item _elem147; // required
54516
                  Item _elem156; // required
53888
                  _elem147 = new Item();
54517
                  _elem156 = new Item();
53889
                  _elem147.read(iprot);
54518
                  _elem156.read(iprot);
53890
                  this.success.add(_elem147);
54519
                  this.success.add(_elem156);
53891
                }
54520
                }
53892
                iprot.readListEnd();
54521
                iprot.readListEnd();
53893
              }
54522
              }
53894
            } else { 
54523
            } else { 
53895
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
54524
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
Line 53909... Line 54538...
53909
 
54538
 
53910
      if (this.isSetSuccess()) {
54539
      if (this.isSetSuccess()) {
53911
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
54540
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
53912
        {
54541
        {
53913
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
54542
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
53914
          for (Item _iter148 : this.success)
54543
          for (Item _iter157 : this.success)
53915
          {
54544
          {
53916
            _iter148.write(oprot);
54545
            _iter157.write(oprot);
53917
          }
54546
          }
53918
          oprot.writeListEnd();
54547
          oprot.writeListEnd();
53919
        }
54548
        }
53920
        oprot.writeFieldEnd();
54549
        oprot.writeFieldEnd();
53921
      }
54550
      }