Subversion Repositories SmartDukaan

Rev

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

Rev 7322 Rev 7718
Line 277... Line 277...
277
 
277
 
278
    public void updateVendorString(long warehouseId, String vendorString) throws org.apache.thrift.TException;
278
    public void updateVendorString(long warehouseId, String vendorString) throws org.apache.thrift.TException;
279
 
279
 
280
    public void clearItemAvailabilityCacheForItem(long item_id) throws org.apache.thrift.TException;
280
    public void clearItemAvailabilityCacheForItem(long item_id) throws org.apache.thrift.TException;
281
 
281
 
282
    public long getOurWarehouseIdForVendor(long vendorId) throws org.apache.thrift.TException;
282
    public long getOurWarehouseIdForVendor(long vendorId, long billingWarehouseId) throws org.apache.thrift.TException;
283
 
283
 
284
    public Map<Long,Long> getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids) throws org.apache.thrift.TException;
284
    public Map<Long,Long> getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids) throws org.apache.thrift.TException;
285
 
285
 
286
    public List<Long> getMonitoredWarehouseForVendors(List<Long> vendorIds) throws org.apache.thrift.TException;
286
    public List<Long> getMonitoredWarehouseForVendors(List<Long> vendorIds) throws org.apache.thrift.TException;
287
 
287
 
Line 392... Line 392...
392
 
392
 
393
    public void updateVendorString(long warehouseId, String vendorString, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateVendorString_call> resultHandler) throws org.apache.thrift.TException;
393
    public void updateVendorString(long warehouseId, String vendorString, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateVendorString_call> resultHandler) throws org.apache.thrift.TException;
394
 
394
 
395
    public void clearItemAvailabilityCacheForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.clearItemAvailabilityCacheForItem_call> resultHandler) throws org.apache.thrift.TException;
395
    public void clearItemAvailabilityCacheForItem(long item_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.clearItemAvailabilityCacheForItem_call> resultHandler) throws org.apache.thrift.TException;
396
 
396
 
397
    public void getOurWarehouseIdForVendor(long vendorId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOurWarehouseIdForVendor_call> resultHandler) throws org.apache.thrift.TException;
397
    public void getOurWarehouseIdForVendor(long vendorId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOurWarehouseIdForVendor_call> resultHandler) throws org.apache.thrift.TException;
398
 
398
 
399
    public void getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemAvailabilitiesAtOurWarehouses_call> resultHandler) throws org.apache.thrift.TException;
399
    public void getItemAvailabilitiesAtOurWarehouses(List<Long> item_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemAvailabilitiesAtOurWarehouses_call> resultHandler) throws org.apache.thrift.TException;
400
 
400
 
401
    public void getMonitoredWarehouseForVendors(List<Long> vendorIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMonitoredWarehouseForVendors_call> resultHandler) throws org.apache.thrift.TException;
401
    public void getMonitoredWarehouseForVendors(List<Long> vendorIds, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getMonitoredWarehouseForVendors_call> resultHandler) throws org.apache.thrift.TException;
402
 
402
 
Line 1334... Line 1334...
1334
      clearItemAvailabilityCacheForItem_result result = new clearItemAvailabilityCacheForItem_result();
1334
      clearItemAvailabilityCacheForItem_result result = new clearItemAvailabilityCacheForItem_result();
1335
      receiveBase(result, "clearItemAvailabilityCacheForItem");
1335
      receiveBase(result, "clearItemAvailabilityCacheForItem");
1336
      return;
1336
      return;
1337
    }
1337
    }
1338
 
1338
 
1339
    public long getOurWarehouseIdForVendor(long vendorId) throws org.apache.thrift.TException
1339
    public long getOurWarehouseIdForVendor(long vendorId, long billingWarehouseId) throws org.apache.thrift.TException
1340
    {
1340
    {
1341
      send_getOurWarehouseIdForVendor(vendorId);
1341
      send_getOurWarehouseIdForVendor(vendorId, billingWarehouseId);
1342
      return recv_getOurWarehouseIdForVendor();
1342
      return recv_getOurWarehouseIdForVendor();
1343
    }
1343
    }
1344
 
1344
 
1345
    public void send_getOurWarehouseIdForVendor(long vendorId) throws org.apache.thrift.TException
1345
    public void send_getOurWarehouseIdForVendor(long vendorId, long billingWarehouseId) throws org.apache.thrift.TException
1346
    {
1346
    {
1347
      getOurWarehouseIdForVendor_args args = new getOurWarehouseIdForVendor_args();
1347
      getOurWarehouseIdForVendor_args args = new getOurWarehouseIdForVendor_args();
1348
      args.setVendorId(vendorId);
1348
      args.setVendorId(vendorId);
-
 
1349
      args.setBillingWarehouseId(billingWarehouseId);
1349
      sendBase("getOurWarehouseIdForVendor", args);
1350
      sendBase("getOurWarehouseIdForVendor", args);
1350
    }
1351
    }
1351
 
1352
 
1352
    public long recv_getOurWarehouseIdForVendor() throws org.apache.thrift.TException
1353
    public long recv_getOurWarehouseIdForVendor() throws org.apache.thrift.TException
1353
    {
1354
    {
Line 2998... Line 2999...
2998
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2999
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
2999
        (new Client(prot)).recv_clearItemAvailabilityCacheForItem();
3000
        (new Client(prot)).recv_clearItemAvailabilityCacheForItem();
3000
      }
3001
      }
3001
    }
3002
    }
3002
 
3003
 
3003
    public void getOurWarehouseIdForVendor(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOurWarehouseIdForVendor_call> resultHandler) throws org.apache.thrift.TException {
3004
    public void getOurWarehouseIdForVendor(long vendorId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<getOurWarehouseIdForVendor_call> resultHandler) throws org.apache.thrift.TException {
3004
      checkReady();
3005
      checkReady();
3005
      getOurWarehouseIdForVendor_call method_call = new getOurWarehouseIdForVendor_call(vendorId, resultHandler, this, ___protocolFactory, ___transport);
3006
      getOurWarehouseIdForVendor_call method_call = new getOurWarehouseIdForVendor_call(vendorId, billingWarehouseId, resultHandler, this, ___protocolFactory, ___transport);
3006
      this.___currentMethod = method_call;
3007
      this.___currentMethod = method_call;
3007
      ___manager.call(method_call);
3008
      ___manager.call(method_call);
3008
    }
3009
    }
3009
 
3010
 
3010
    public static class getOurWarehouseIdForVendor_call extends org.apache.thrift.async.TAsyncMethodCall {
3011
    public static class getOurWarehouseIdForVendor_call extends org.apache.thrift.async.TAsyncMethodCall {
3011
      private long vendorId;
3012
      private long vendorId;
-
 
3013
      private long billingWarehouseId;
3012
      public getOurWarehouseIdForVendor_call(long vendorId, org.apache.thrift.async.AsyncMethodCallback<getOurWarehouseIdForVendor_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 {
3014
      public getOurWarehouseIdForVendor_call(long vendorId, long billingWarehouseId, org.apache.thrift.async.AsyncMethodCallback<getOurWarehouseIdForVendor_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 {
3013
        super(client, protocolFactory, transport, resultHandler, false);
3015
        super(client, protocolFactory, transport, resultHandler, false);
3014
        this.vendorId = vendorId;
3016
        this.vendorId = vendorId;
-
 
3017
        this.billingWarehouseId = billingWarehouseId;
3015
      }
3018
      }
3016
 
3019
 
3017
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3020
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
3018
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOurWarehouseIdForVendor", org.apache.thrift.protocol.TMessageType.CALL, 0));
3021
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOurWarehouseIdForVendor", org.apache.thrift.protocol.TMessageType.CALL, 0));
3019
        getOurWarehouseIdForVendor_args args = new getOurWarehouseIdForVendor_args();
3022
        getOurWarehouseIdForVendor_args args = new getOurWarehouseIdForVendor_args();
3020
        args.setVendorId(vendorId);
3023
        args.setVendorId(vendorId);
-
 
3024
        args.setBillingWarehouseId(billingWarehouseId);
3021
        args.write(prot);
3025
        args.write(prot);
3022
        prot.writeMessageEnd();
3026
        prot.writeMessageEnd();
3023
      }
3027
      }
3024
 
3028
 
3025
      public long getResult() throws org.apache.thrift.TException {
3029
      public long getResult() throws org.apache.thrift.TException {
Line 4331... Line 4335...
4331
        return new getOurWarehouseIdForVendor_args();
4335
        return new getOurWarehouseIdForVendor_args();
4332
      }
4336
      }
4333
 
4337
 
4334
      protected getOurWarehouseIdForVendor_result getResult(I iface, getOurWarehouseIdForVendor_args args) throws org.apache.thrift.TException {
4338
      protected getOurWarehouseIdForVendor_result getResult(I iface, getOurWarehouseIdForVendor_args args) throws org.apache.thrift.TException {
4335
        getOurWarehouseIdForVendor_result result = new getOurWarehouseIdForVendor_result();
4339
        getOurWarehouseIdForVendor_result result = new getOurWarehouseIdForVendor_result();
4336
        result.success = iface.getOurWarehouseIdForVendor(args.vendorId);
4340
        result.success = iface.getOurWarehouseIdForVendor(args.vendorId, args.billingWarehouseId);
4337
        result.setSuccessIsSet(true);
4341
        result.setSuccessIsSet(true);
4338
        return result;
4342
        return result;
4339
      }
4343
      }
4340
    }
4344
    }
4341
 
4345
 
Line 5282... Line 5286...
5282
      }
5286
      }
5283
    }
5287
    }
5284
 
5288
 
5285
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5289
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5286
      try {
5290
      try {
5287
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
5288
        __isset_bit_vector = new BitSet(1);
-
 
5289
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5291
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5290
      } catch (org.apache.thrift.TException te) {
5292
      } catch (org.apache.thrift.TException te) {
5291
        throw new java.io.IOException(te);
5293
        throw new java.io.IOException(te);
5292
      }
5294
      }
5293
    }
5295
    }
Line 5960... Line 5962...
5960
      }
5962
      }
5961
    }
5963
    }
5962
 
5964
 
5963
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5965
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
5964
      try {
5966
      try {
5965
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
5966
        __isset_bit_vector = new BitSet(1);
-
 
5967
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5967
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
5968
      } catch (org.apache.thrift.TException te) {
5968
      } catch (org.apache.thrift.TException te) {
5969
        throw new java.io.IOException(te);
5969
        throw new java.io.IOException(te);
5970
      }
5970
      }
5971
    }
5971
    }
Line 6475... Line 6475...
6475
      }
6475
      }
6476
    }
6476
    }
6477
 
6477
 
6478
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6478
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
6479
      try {
6479
      try {
6480
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
6481
        __isset_bit_vector = new BitSet(1);
-
 
6482
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6480
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
6483
      } catch (org.apache.thrift.TException te) {
6481
      } catch (org.apache.thrift.TException te) {
6484
        throw new java.io.IOException(te);
6482
        throw new java.io.IOException(te);
6485
      }
6483
      }
6486
    }
6484
    }
Line 10356... Line 10354...
10356
      }
10354
      }
10357
    }
10355
    }
10358
 
10356
 
10359
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10357
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
10360
      try {
10358
      try {
10361
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
10362
        __isset_bit_vector = new BitSet(1);
-
 
10363
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10359
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
10364
      } catch (org.apache.thrift.TException te) {
10360
      } catch (org.apache.thrift.TException te) {
10365
        throw new java.io.IOException(te);
10361
        throw new java.io.IOException(te);
10366
      }
10362
      }
10367
    }
10363
    }
Line 14086... Line 14082...
14086
      }
14082
      }
14087
    }
14083
    }
14088
 
14084
 
14089
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
14085
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
14090
      try {
14086
      try {
14091
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
14092
        __isset_bit_vector = new BitSet(1);
-
 
14093
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
14087
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
14094
      } catch (org.apache.thrift.TException te) {
14088
      } catch (org.apache.thrift.TException te) {
14095
        throw new java.io.IOException(te);
14089
        throw new java.io.IOException(te);
14096
      }
14090
      }
14097
    }
14091
    }
Line 15259... Line 15253...
15259
      }
15253
      }
15260
    }
15254
    }
15261
 
15255
 
15262
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
15256
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
15263
      try {
15257
      try {
15264
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
15265
        __isset_bit_vector = new BitSet(1);
-
 
15266
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
15258
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
15267
      } catch (org.apache.thrift.TException te) {
15259
      } catch (org.apache.thrift.TException te) {
15268
        throw new java.io.IOException(te);
15260
        throw new java.io.IOException(te);
15269
      }
15261
      }
15270
    }
15262
    }
Line 16266... Line 16258...
16266
      }
16258
      }
16267
    }
16259
    }
16268
 
16260
 
16269
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16261
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
16270
      try {
16262
      try {
16271
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
16272
        __isset_bit_vector = new BitSet(1);
-
 
16273
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16263
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
16274
      } catch (org.apache.thrift.TException te) {
16264
      } catch (org.apache.thrift.TException te) {
16275
        throw new java.io.IOException(te);
16265
        throw new java.io.IOException(te);
16276
      }
16266
      }
16277
    }
16267
    }
Line 26106... Line 26096...
26106
      }
26096
      }
26107
    }
26097
    }
26108
 
26098
 
26109
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26099
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
26110
      try {
26100
      try {
26111
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
26112
        __isset_bit_vector = new BitSet(1);
-
 
26113
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26101
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
26114
      } catch (org.apache.thrift.TException te) {
26102
      } catch (org.apache.thrift.TException te) {
26115
        throw new java.io.IOException(te);
26103
        throw new java.io.IOException(te);
26116
      }
26104
      }
26117
    }
26105
    }
Line 29582... Line 29570...
29582
 
29570
 
29583
  public static class getOurWarehouseIdForVendor_args implements org.apache.thrift.TBase<getOurWarehouseIdForVendor_args, getOurWarehouseIdForVendor_args._Fields>, java.io.Serializable, Cloneable   {
29571
  public static class getOurWarehouseIdForVendor_args implements org.apache.thrift.TBase<getOurWarehouseIdForVendor_args, getOurWarehouseIdForVendor_args._Fields>, java.io.Serializable, Cloneable   {
29584
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOurWarehouseIdForVendor_args");
29572
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOurWarehouseIdForVendor_args");
29585
 
29573
 
29586
    private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
29574
    private static final org.apache.thrift.protocol.TField VENDOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("vendorId", org.apache.thrift.protocol.TType.I64, (short)1);
-
 
29575
    private static final org.apache.thrift.protocol.TField BILLING_WAREHOUSE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("billingWarehouseId", org.apache.thrift.protocol.TType.I64, (short)2);
29587
 
29576
 
29588
    private long vendorId; // required
29577
    private long vendorId; // required
-
 
29578
    private long billingWarehouseId; // required
29589
 
29579
 
29590
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
29580
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
29591
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
29581
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
29592
      VENDOR_ID((short)1, "vendorId");
29582
      VENDOR_ID((short)1, "vendorId"),
-
 
29583
      BILLING_WAREHOUSE_ID((short)2, "billingWarehouseId");
29593
 
29584
 
29594
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
29585
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
29595
 
29586
 
29596
      static {
29587
      static {
29597
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
29588
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
Line 29604... Line 29595...
29604
       */
29595
       */
29605
      public static _Fields findByThriftId(int fieldId) {
29596
      public static _Fields findByThriftId(int fieldId) {
29606
        switch(fieldId) {
29597
        switch(fieldId) {
29607
          case 1: // VENDOR_ID
29598
          case 1: // VENDOR_ID
29608
            return VENDOR_ID;
29599
            return VENDOR_ID;
-
 
29600
          case 2: // BILLING_WAREHOUSE_ID
-
 
29601
            return BILLING_WAREHOUSE_ID;
29609
          default:
29602
          default:
29610
            return null;
29603
            return null;
29611
        }
29604
        }
29612
      }
29605
      }
29613
 
29606
 
Line 29645... Line 29638...
29645
      }
29638
      }
29646
    }
29639
    }
29647
 
29640
 
29648
    // isset id assignments
29641
    // isset id assignments
29649
    private static final int __VENDORID_ISSET_ID = 0;
29642
    private static final int __VENDORID_ISSET_ID = 0;
-
 
29643
    private static final int __BILLINGWAREHOUSEID_ISSET_ID = 1;
29650
    private BitSet __isset_bit_vector = new BitSet(1);
29644
    private BitSet __isset_bit_vector = new BitSet(2);
29651
 
29645
 
29652
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
29646
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
29653
    static {
29647
    static {
29654
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
29648
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
29655
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
29649
      tmpMap.put(_Fields.VENDOR_ID, new org.apache.thrift.meta_data.FieldMetaData("vendorId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
29656
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
29650
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
-
 
29651
      tmpMap.put(_Fields.BILLING_WAREHOUSE_ID, new org.apache.thrift.meta_data.FieldMetaData("billingWarehouseId", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
29652
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
29657
      metaDataMap = Collections.unmodifiableMap(tmpMap);
29653
      metaDataMap = Collections.unmodifiableMap(tmpMap);
29658
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOurWarehouseIdForVendor_args.class, metaDataMap);
29654
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOurWarehouseIdForVendor_args.class, metaDataMap);
29659
    }
29655
    }
29660
 
29656
 
29661
    public getOurWarehouseIdForVendor_args() {
29657
    public getOurWarehouseIdForVendor_args() {
29662
    }
29658
    }
29663
 
29659
 
29664
    public getOurWarehouseIdForVendor_args(
29660
    public getOurWarehouseIdForVendor_args(
29665
      long vendorId)
29661
      long vendorId,
-
 
29662
      long billingWarehouseId)
29666
    {
29663
    {
29667
      this();
29664
      this();
29668
      this.vendorId = vendorId;
29665
      this.vendorId = vendorId;
29669
      setVendorIdIsSet(true);
29666
      setVendorIdIsSet(true);
-
 
29667
      this.billingWarehouseId = billingWarehouseId;
-
 
29668
      setBillingWarehouseIdIsSet(true);
29670
    }
29669
    }
29671
 
29670
 
29672
    /**
29671
    /**
29673
     * Performs a deep copy on <i>other</i>.
29672
     * Performs a deep copy on <i>other</i>.
29674
     */
29673
     */
29675
    public getOurWarehouseIdForVendor_args(getOurWarehouseIdForVendor_args other) {
29674
    public getOurWarehouseIdForVendor_args(getOurWarehouseIdForVendor_args other) {
29676
      __isset_bit_vector.clear();
29675
      __isset_bit_vector.clear();
29677
      __isset_bit_vector.or(other.__isset_bit_vector);
29676
      __isset_bit_vector.or(other.__isset_bit_vector);
29678
      this.vendorId = other.vendorId;
29677
      this.vendorId = other.vendorId;
-
 
29678
      this.billingWarehouseId = other.billingWarehouseId;
29679
    }
29679
    }
29680
 
29680
 
29681
    public getOurWarehouseIdForVendor_args deepCopy() {
29681
    public getOurWarehouseIdForVendor_args deepCopy() {
29682
      return new getOurWarehouseIdForVendor_args(this);
29682
      return new getOurWarehouseIdForVendor_args(this);
29683
    }
29683
    }
29684
 
29684
 
29685
    @Override
29685
    @Override
29686
    public void clear() {
29686
    public void clear() {
29687
      setVendorIdIsSet(false);
29687
      setVendorIdIsSet(false);
29688
      this.vendorId = 0;
29688
      this.vendorId = 0;
-
 
29689
      setBillingWarehouseIdIsSet(false);
-
 
29690
      this.billingWarehouseId = 0;
29689
    }
29691
    }
29690
 
29692
 
29691
    public long getVendorId() {
29693
    public long getVendorId() {
29692
      return this.vendorId;
29694
      return this.vendorId;
29693
    }
29695
    }
Line 29708... Line 29710...
29708
 
29710
 
29709
    public void setVendorIdIsSet(boolean value) {
29711
    public void setVendorIdIsSet(boolean value) {
29710
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
29712
      __isset_bit_vector.set(__VENDORID_ISSET_ID, value);
29711
    }
29713
    }
29712
 
29714
 
-
 
29715
    public long getBillingWarehouseId() {
-
 
29716
      return this.billingWarehouseId;
-
 
29717
    }
-
 
29718
 
-
 
29719
    public void setBillingWarehouseId(long billingWarehouseId) {
-
 
29720
      this.billingWarehouseId = billingWarehouseId;
-
 
29721
      setBillingWarehouseIdIsSet(true);
-
 
29722
    }
-
 
29723
 
-
 
29724
    public void unsetBillingWarehouseId() {
-
 
29725
      __isset_bit_vector.clear(__BILLINGWAREHOUSEID_ISSET_ID);
-
 
29726
    }
-
 
29727
 
-
 
29728
    /** Returns true if field billingWarehouseId is set (has been assigned a value) and false otherwise */
-
 
29729
    public boolean isSetBillingWarehouseId() {
-
 
29730
      return __isset_bit_vector.get(__BILLINGWAREHOUSEID_ISSET_ID);
-
 
29731
    }
-
 
29732
 
-
 
29733
    public void setBillingWarehouseIdIsSet(boolean value) {
-
 
29734
      __isset_bit_vector.set(__BILLINGWAREHOUSEID_ISSET_ID, value);
-
 
29735
    }
-
 
29736
 
29713
    public void setFieldValue(_Fields field, Object value) {
29737
    public void setFieldValue(_Fields field, Object value) {
29714
      switch (field) {
29738
      switch (field) {
29715
      case VENDOR_ID:
29739
      case VENDOR_ID:
29716
        if (value == null) {
29740
        if (value == null) {
29717
          unsetVendorId();
29741
          unsetVendorId();
29718
        } else {
29742
        } else {
29719
          setVendorId((Long)value);
29743
          setVendorId((Long)value);
29720
        }
29744
        }
29721
        break;
29745
        break;
29722
 
29746
 
-
 
29747
      case BILLING_WAREHOUSE_ID:
-
 
29748
        if (value == null) {
-
 
29749
          unsetBillingWarehouseId();
-
 
29750
        } else {
-
 
29751
          setBillingWarehouseId((Long)value);
-
 
29752
        }
-
 
29753
        break;
-
 
29754
 
29723
      }
29755
      }
29724
    }
29756
    }
29725
 
29757
 
29726
    public Object getFieldValue(_Fields field) {
29758
    public Object getFieldValue(_Fields field) {
29727
      switch (field) {
29759
      switch (field) {
29728
      case VENDOR_ID:
29760
      case VENDOR_ID:
29729
        return Long.valueOf(getVendorId());
29761
        return Long.valueOf(getVendorId());
29730
 
29762
 
-
 
29763
      case BILLING_WAREHOUSE_ID:
-
 
29764
        return Long.valueOf(getBillingWarehouseId());
-
 
29765
 
29731
      }
29766
      }
29732
      throw new IllegalStateException();
29767
      throw new IllegalStateException();
29733
    }
29768
    }
29734
 
29769
 
29735
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
29770
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
Line 29739... Line 29774...
29739
      }
29774
      }
29740
 
29775
 
29741
      switch (field) {
29776
      switch (field) {
29742
      case VENDOR_ID:
29777
      case VENDOR_ID:
29743
        return isSetVendorId();
29778
        return isSetVendorId();
-
 
29779
      case BILLING_WAREHOUSE_ID:
-
 
29780
        return isSetBillingWarehouseId();
29744
      }
29781
      }
29745
      throw new IllegalStateException();
29782
      throw new IllegalStateException();
29746
    }
29783
    }
29747
 
29784
 
29748
    @Override
29785
    @Override
Line 29765... Line 29802...
29765
          return false;
29802
          return false;
29766
        if (this.vendorId != that.vendorId)
29803
        if (this.vendorId != that.vendorId)
29767
          return false;
29804
          return false;
29768
      }
29805
      }
29769
 
29806
 
-
 
29807
      boolean this_present_billingWarehouseId = true;
-
 
29808
      boolean that_present_billingWarehouseId = true;
-
 
29809
      if (this_present_billingWarehouseId || that_present_billingWarehouseId) {
-
 
29810
        if (!(this_present_billingWarehouseId && that_present_billingWarehouseId))
-
 
29811
          return false;
-
 
29812
        if (this.billingWarehouseId != that.billingWarehouseId)
-
 
29813
          return false;
-
 
29814
      }
-
 
29815
 
29770
      return true;
29816
      return true;
29771
    }
29817
    }
29772
 
29818
 
29773
    @Override
29819
    @Override
29774
    public int hashCode() {
29820
    public int hashCode() {
Line 29791... Line 29837...
29791
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
29837
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.vendorId, typedOther.vendorId);
29792
        if (lastComparison != 0) {
29838
        if (lastComparison != 0) {
29793
          return lastComparison;
29839
          return lastComparison;
29794
        }
29840
        }
29795
      }
29841
      }
-
 
29842
      lastComparison = Boolean.valueOf(isSetBillingWarehouseId()).compareTo(typedOther.isSetBillingWarehouseId());
-
 
29843
      if (lastComparison != 0) {
-
 
29844
        return lastComparison;
-
 
29845
      }
-
 
29846
      if (isSetBillingWarehouseId()) {
-
 
29847
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.billingWarehouseId, typedOther.billingWarehouseId);
-
 
29848
        if (lastComparison != 0) {
-
 
29849
          return lastComparison;
-
 
29850
        }
-
 
29851
      }
29796
      return 0;
29852
      return 0;
29797
    }
29853
    }
29798
 
29854
 
29799
    public _Fields fieldForId(int fieldId) {
29855
    public _Fields fieldForId(int fieldId) {
29800
      return _Fields.findByThriftId(fieldId);
29856
      return _Fields.findByThriftId(fieldId);
Line 29816... Line 29872...
29816
              setVendorIdIsSet(true);
29872
              setVendorIdIsSet(true);
29817
            } else { 
29873
            } else { 
29818
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29874
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29819
            }
29875
            }
29820
            break;
29876
            break;
-
 
29877
          case 2: // BILLING_WAREHOUSE_ID
-
 
29878
            if (field.type == org.apache.thrift.protocol.TType.I64) {
-
 
29879
              this.billingWarehouseId = iprot.readI64();
-
 
29880
              setBillingWarehouseIdIsSet(true);
-
 
29881
            } else { 
-
 
29882
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
29883
            }
-
 
29884
            break;
29821
          default:
29885
          default:
29822
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29886
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
29823
        }
29887
        }
29824
        iprot.readFieldEnd();
29888
        iprot.readFieldEnd();
29825
      }
29889
      }
Line 29832... Line 29896...
29832
 
29896
 
29833
      oprot.writeStructBegin(STRUCT_DESC);
29897
      oprot.writeStructBegin(STRUCT_DESC);
29834
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
29898
      oprot.writeFieldBegin(VENDOR_ID_FIELD_DESC);
29835
      oprot.writeI64(this.vendorId);
29899
      oprot.writeI64(this.vendorId);
29836
      oprot.writeFieldEnd();
29900
      oprot.writeFieldEnd();
-
 
29901
      oprot.writeFieldBegin(BILLING_WAREHOUSE_ID_FIELD_DESC);
-
 
29902
      oprot.writeI64(this.billingWarehouseId);
-
 
29903
      oprot.writeFieldEnd();
29837
      oprot.writeFieldStop();
29904
      oprot.writeFieldStop();
29838
      oprot.writeStructEnd();
29905
      oprot.writeStructEnd();
29839
    }
29906
    }
29840
 
29907
 
29841
    @Override
29908
    @Override
Line 29844... Line 29911...
29844
      boolean first = true;
29911
      boolean first = true;
29845
 
29912
 
29846
      sb.append("vendorId:");
29913
      sb.append("vendorId:");
29847
      sb.append(this.vendorId);
29914
      sb.append(this.vendorId);
29848
      first = false;
29915
      first = false;
-
 
29916
      if (!first) sb.append(", ");
-
 
29917
      sb.append("billingWarehouseId:");
-
 
29918
      sb.append(this.billingWarehouseId);
-
 
29919
      first = false;
29849
      sb.append(")");
29920
      sb.append(")");
29850
      return sb.toString();
29921
      return sb.toString();
29851
    }
29922
    }
29852
 
29923
 
29853
    public void validate() throws org.apache.thrift.TException {
29924
    public void validate() throws org.apache.thrift.TException {
Line 30157... Line 30228...
30157
      }
30228
      }
30158
    }
30229
    }
30159
 
30230
 
30160
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
30231
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
30161
      try {
30232
      try {
30162
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
30163
        __isset_bit_vector = new BitSet(1);
-
 
30164
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
30233
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
30165
      } catch (org.apache.thrift.TException te) {
30234
      } catch (org.apache.thrift.TException te) {
30166
        throw new java.io.IOException(te);
30235
        throw new java.io.IOException(te);
30167
      }
30236
      }
30168
    }
30237
    }
Line 32690... Line 32759...
32690
      }
32759
      }
32691
    }
32760
    }
32692
 
32761
 
32693
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
32762
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
32694
      try {
32763
      try {
32695
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
32696
        __isset_bit_vector = new BitSet(1);
-
 
32697
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
32764
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
32698
      } catch (org.apache.thrift.TException te) {
32765
      } catch (org.apache.thrift.TException te) {
32699
        throw new java.io.IOException(te);
32766
        throw new java.io.IOException(te);
32700
      }
32767
      }
32701
    }
32768
    }
Line 33362... Line 33429...
33362
      }
33429
      }
33363
    }
33430
    }
33364
 
33431
 
33365
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33432
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33366
      try {
33433
      try {
33367
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33368
        __isset_bit_vector = new BitSet(1);
-
 
33369
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33434
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33370
      } catch (org.apache.thrift.TException te) {
33435
      } catch (org.apache.thrift.TException te) {
33371
        throw new java.io.IOException(te);
33436
        throw new java.io.IOException(te);
33372
      }
33437
      }
33373
    }
33438
    }
Line 33857... Line 33922...
33857
      }
33922
      }
33858
    }
33923
    }
33859
 
33924
 
33860
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33925
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
33861
      try {
33926
      try {
33862
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
33863
        __isset_bit_vector = new BitSet(1);
-
 
33864
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33927
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
33865
      } catch (org.apache.thrift.TException te) {
33928
      } catch (org.apache.thrift.TException te) {
33866
        throw new java.io.IOException(te);
33929
        throw new java.io.IOException(te);
33867
      }
33930
      }
33868
    }
33931
    }