Subversion Repositories SmartDukaan

Rev

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

Rev 7263 Rev 7267
Line 941... Line 941...
941
 
941
 
942
    public boolean updateHotspotStorePassword(long storeId, String password) throws org.apache.thrift.TException;
942
    public boolean updateHotspotStorePassword(long storeId, String password) throws org.apache.thrift.TException;
943
 
943
 
944
    public SourceDetail getSourceDetail(long source) throws org.apache.thrift.TException;
944
    public SourceDetail getSourceDetail(long source) throws org.apache.thrift.TException;
945
 
945
 
-
 
946
    public List<TelecomCircle> getAllCircles() throws org.apache.thrift.TException;
-
 
947
 
-
 
948
    public boolean deleteFrcs(List<Long> frcIdsToDelete) throws org.apache.thrift.TException;
-
 
949
 
946
  }
950
  }
947
 
951
 
948
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
952
  public interface AsyncIface extends in.shop2020.generic.GenericService .AsyncIface {
949
 
953
 
950
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
954
    public void createTransaction(Transaction transaction, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.createTransaction_call> resultHandler) throws org.apache.thrift.TException;
Line 1275... Line 1279...
1275
 
1279
 
1276
    public void updateHotspotStorePassword(long storeId, String password, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateHotspotStorePassword_call> resultHandler) throws org.apache.thrift.TException;
1280
    public void updateHotspotStorePassword(long storeId, String password, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.updateHotspotStorePassword_call> resultHandler) throws org.apache.thrift.TException;
1277
 
1281
 
1278
    public void getSourceDetail(long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSourceDetail_call> resultHandler) throws org.apache.thrift.TException;
1282
    public void getSourceDetail(long source, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getSourceDetail_call> resultHandler) throws org.apache.thrift.TException;
1279
 
1283
 
-
 
1284
    public void getAllCircles(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllCircles_call> resultHandler) throws org.apache.thrift.TException;
-
 
1285
 
-
 
1286
    public void deleteFrcs(List<Long> frcIdsToDelete, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.deleteFrcs_call> resultHandler) throws org.apache.thrift.TException;
-
 
1287
 
1280
  }
1288
  }
1281
 
1289
 
1282
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1290
  public static class Client extends in.shop2020.generic.GenericService.Client implements Iface {
1283
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1291
    public static class Factory implements org.apache.thrift.TServiceClientFactory<Client> {
1284
      public Factory() {}
1292
      public Factory() {}
Line 5438... Line 5446...
5438
        return result.success;
5446
        return result.success;
5439
      }
5447
      }
5440
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSourceDetail failed: unknown result");
5448
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getSourceDetail failed: unknown result");
5441
    }
5449
    }
5442
 
5450
 
-
 
5451
    public List<TelecomCircle> getAllCircles() throws org.apache.thrift.TException
-
 
5452
    {
-
 
5453
      send_getAllCircles();
-
 
5454
      return recv_getAllCircles();
-
 
5455
    }
-
 
5456
 
-
 
5457
    public void send_getAllCircles() throws org.apache.thrift.TException
-
 
5458
    {
-
 
5459
      getAllCircles_args args = new getAllCircles_args();
-
 
5460
      sendBase("getAllCircles", args);
-
 
5461
    }
-
 
5462
 
-
 
5463
    public List<TelecomCircle> recv_getAllCircles() throws org.apache.thrift.TException
-
 
5464
    {
-
 
5465
      getAllCircles_result result = new getAllCircles_result();
-
 
5466
      receiveBase(result, "getAllCircles");
-
 
5467
      if (result.isSetSuccess()) {
-
 
5468
        return result.success;
-
 
5469
      }
-
 
5470
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllCircles failed: unknown result");
-
 
5471
    }
-
 
5472
 
-
 
5473
    public boolean deleteFrcs(List<Long> frcIdsToDelete) throws org.apache.thrift.TException
-
 
5474
    {
-
 
5475
      send_deleteFrcs(frcIdsToDelete);
-
 
5476
      return recv_deleteFrcs();
-
 
5477
    }
-
 
5478
 
-
 
5479
    public void send_deleteFrcs(List<Long> frcIdsToDelete) throws org.apache.thrift.TException
-
 
5480
    {
-
 
5481
      deleteFrcs_args args = new deleteFrcs_args();
-
 
5482
      args.setFrcIdsToDelete(frcIdsToDelete);
-
 
5483
      sendBase("deleteFrcs", args);
-
 
5484
    }
-
 
5485
 
-
 
5486
    public boolean recv_deleteFrcs() throws org.apache.thrift.TException
-
 
5487
    {
-
 
5488
      deleteFrcs_result result = new deleteFrcs_result();
-
 
5489
      receiveBase(result, "deleteFrcs");
-
 
5490
      if (result.isSetSuccess()) {
-
 
5491
        return result.success;
-
 
5492
      }
-
 
5493
      throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "deleteFrcs failed: unknown result");
-
 
5494
    }
-
 
5495
 
5443
  }
5496
  }
5444
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5497
  public static class AsyncClient extends in.shop2020.generic.GenericService.AsyncClient implements AsyncIface {
5445
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5498
    public static class Factory implements org.apache.thrift.async.TAsyncClientFactory<AsyncClient> {
5446
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5499
      private org.apache.thrift.async.TAsyncClientManager clientManager;
5447
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
5500
      private org.apache.thrift.protocol.TProtocolFactory protocolFactory;
Line 11225... Line 11278...
11225
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11278
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
11226
        return (new Client(prot)).recv_getSourceDetail();
11279
        return (new Client(prot)).recv_getSourceDetail();
11227
      }
11280
      }
11228
    }
11281
    }
11229
 
11282
 
-
 
11283
    public void getAllCircles(org.apache.thrift.async.AsyncMethodCallback<getAllCircles_call> resultHandler) throws org.apache.thrift.TException {
-
 
11284
      checkReady();
-
 
11285
      getAllCircles_call method_call = new getAllCircles_call(resultHandler, this, ___protocolFactory, ___transport);
-
 
11286
      this.___currentMethod = method_call;
-
 
11287
      ___manager.call(method_call);
-
 
11288
    }
-
 
11289
 
-
 
11290
    public static class getAllCircles_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11291
      public getAllCircles_call(org.apache.thrift.async.AsyncMethodCallback<getAllCircles_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 {
-
 
11292
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11293
      }
-
 
11294
 
-
 
11295
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11296
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getAllCircles", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11297
        getAllCircles_args args = new getAllCircles_args();
-
 
11298
        args.write(prot);
-
 
11299
        prot.writeMessageEnd();
-
 
11300
      }
-
 
11301
 
-
 
11302
      public List<TelecomCircle> getResult() throws org.apache.thrift.TException {
-
 
11303
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11304
          throw new IllegalStateException("Method call not finished!");
-
 
11305
        }
-
 
11306
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11307
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11308
        return (new Client(prot)).recv_getAllCircles();
-
 
11309
      }
-
 
11310
    }
-
 
11311
 
-
 
11312
    public void deleteFrcs(List<Long> frcIdsToDelete, org.apache.thrift.async.AsyncMethodCallback<deleteFrcs_call> resultHandler) throws org.apache.thrift.TException {
-
 
11313
      checkReady();
-
 
11314
      deleteFrcs_call method_call = new deleteFrcs_call(frcIdsToDelete, resultHandler, this, ___protocolFactory, ___transport);
-
 
11315
      this.___currentMethod = method_call;
-
 
11316
      ___manager.call(method_call);
-
 
11317
    }
-
 
11318
 
-
 
11319
    public static class deleteFrcs_call extends org.apache.thrift.async.TAsyncMethodCall {
-
 
11320
      private List<Long> frcIdsToDelete;
-
 
11321
      public deleteFrcs_call(List<Long> frcIdsToDelete, org.apache.thrift.async.AsyncMethodCallback<deleteFrcs_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 {
-
 
11322
        super(client, protocolFactory, transport, resultHandler, false);
-
 
11323
        this.frcIdsToDelete = frcIdsToDelete;
-
 
11324
      }
-
 
11325
 
-
 
11326
      public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
-
 
11327
        prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("deleteFrcs", org.apache.thrift.protocol.TMessageType.CALL, 0));
-
 
11328
        deleteFrcs_args args = new deleteFrcs_args();
-
 
11329
        args.setFrcIdsToDelete(frcIdsToDelete);
-
 
11330
        args.write(prot);
-
 
11331
        prot.writeMessageEnd();
-
 
11332
      }
-
 
11333
 
-
 
11334
      public boolean getResult() throws org.apache.thrift.TException {
-
 
11335
        if (getState() != org.apache.thrift.async.TAsyncMethodCall.State.RESPONSE_READ) {
-
 
11336
          throw new IllegalStateException("Method call not finished!");
-
 
11337
        }
-
 
11338
        org.apache.thrift.transport.TMemoryInputTransport memoryTransport = new org.apache.thrift.transport.TMemoryInputTransport(getFrameBuffer().array());
-
 
11339
        org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
-
 
11340
        return (new Client(prot)).recv_deleteFrcs();
-
 
11341
      }
-
 
11342
    }
-
 
11343
 
11230
  }
11344
  }
11231
 
11345
 
11232
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11346
  public static class Processor<I extends Iface> extends in.shop2020.generic.GenericService.Processor implements org.apache.thrift.TProcessor {
11233
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11347
    private static final Logger LOGGER = LoggerFactory.getLogger(Processor.class.getName());
11234
    public Processor(I iface) {
11348
    public Processor(I iface) {
Line 11403... Line 11517...
11403
      processMap.put("retrieveHotspotRechargeInvoice", new retrieveHotspotRechargeInvoice());
11517
      processMap.put("retrieveHotspotRechargeInvoice", new retrieveHotspotRechargeInvoice());
11404
      processMap.put("splitFreebieOrder", new splitFreebieOrder());
11518
      processMap.put("splitFreebieOrder", new splitFreebieOrder());
11405
      processMap.put("getRechargeTransactionsByNumber", new getRechargeTransactionsByNumber());
11519
      processMap.put("getRechargeTransactionsByNumber", new getRechargeTransactionsByNumber());
11406
      processMap.put("updateHotspotStorePassword", new updateHotspotStorePassword());
11520
      processMap.put("updateHotspotStorePassword", new updateHotspotStorePassword());
11407
      processMap.put("getSourceDetail", new getSourceDetail());
11521
      processMap.put("getSourceDetail", new getSourceDetail());
-
 
11522
      processMap.put("getAllCircles", new getAllCircles());
-
 
11523
      processMap.put("deleteFrcs", new deleteFrcs());
11408
      return processMap;
11524
      return processMap;
11409
    }
11525
    }
11410
 
11526
 
11411
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
11527
    private static class createTransaction<I extends Iface> extends org.apache.thrift.ProcessFunction<I, createTransaction_args> {
11412
      public createTransaction() {
11528
      public createTransaction() {
Line 14475... Line 14591...
14475
        result.success = iface.getSourceDetail(args.source);
14591
        result.success = iface.getSourceDetail(args.source);
14476
        return result;
14592
        return result;
14477
      }
14593
      }
14478
    }
14594
    }
14479
 
14595
 
-
 
14596
    private static class getAllCircles<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getAllCircles_args> {
-
 
14597
      public getAllCircles() {
-
 
14598
        super("getAllCircles");
-
 
14599
      }
-
 
14600
 
-
 
14601
      protected getAllCircles_args getEmptyArgsInstance() {
-
 
14602
        return new getAllCircles_args();
-
 
14603
      }
-
 
14604
 
-
 
14605
      protected getAllCircles_result getResult(I iface, getAllCircles_args args) throws org.apache.thrift.TException {
-
 
14606
        getAllCircles_result result = new getAllCircles_result();
-
 
14607
        result.success = iface.getAllCircles();
-
 
14608
        return result;
-
 
14609
      }
-
 
14610
    }
-
 
14611
 
-
 
14612
    private static class deleteFrcs<I extends Iface> extends org.apache.thrift.ProcessFunction<I, deleteFrcs_args> {
-
 
14613
      public deleteFrcs() {
-
 
14614
        super("deleteFrcs");
-
 
14615
      }
-
 
14616
 
-
 
14617
      protected deleteFrcs_args getEmptyArgsInstance() {
-
 
14618
        return new deleteFrcs_args();
-
 
14619
      }
-
 
14620
 
-
 
14621
      protected deleteFrcs_result getResult(I iface, deleteFrcs_args args) throws org.apache.thrift.TException {
-
 
14622
        deleteFrcs_result result = new deleteFrcs_result();
-
 
14623
        result.success = iface.deleteFrcs(args.frcIdsToDelete);
-
 
14624
        result.setSuccessIsSet(true);
-
 
14625
        return result;
-
 
14626
      }
-
 
14627
    }
-
 
14628
 
14480
  }
14629
  }
14481
 
14630
 
14482
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
14631
  public static class createTransaction_args implements org.apache.thrift.TBase<createTransaction_args, createTransaction_args._Fields>, java.io.Serializable, Cloneable   {
14483
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
14632
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("createTransaction_args");
14484
 
14633
 
Line 59508... Line 59657...
59508
      }
59657
      }
59509
    }
59658
    }
59510
 
59659
 
59511
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59660
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
59512
      try {
59661
      try {
59513
        // it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
-
 
59514
        __isset_bit_vector = new BitSet(1);
-
 
59515
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59662
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
59516
      } catch (org.apache.thrift.TException te) {
59663
      } catch (org.apache.thrift.TException te) {
59517
        throw new java.io.IOException(te);
59664
        throw new java.io.IOException(te);
59518
      }
59665
      }
59519
    }
59666
    }
Line 134030... Line 134177...
134030
      first = false;
134177
      first = false;
134031
      sb.append(")");
134178
      sb.append(")");
134032
      return sb.toString();
134179
      return sb.toString();
134033
    }
134180
    }
134034
 
134181
 
-
 
134182
    public void validate() throws org.apache.thrift.TException {
-
 
134183
      // check for required fields
-
 
134184
    }
-
 
134185
 
-
 
134186
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
134187
      try {
-
 
134188
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
134189
      } catch (org.apache.thrift.TException te) {
-
 
134190
        throw new java.io.IOException(te);
-
 
134191
      }
-
 
134192
    }
-
 
134193
 
-
 
134194
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
134195
      try {
-
 
134196
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
134197
      } catch (org.apache.thrift.TException te) {
-
 
134198
        throw new java.io.IOException(te);
-
 
134199
      }
-
 
134200
    }
-
 
134201
 
-
 
134202
  }
-
 
134203
 
-
 
134204
  public static class getAllCircles_args implements org.apache.thrift.TBase<getAllCircles_args, getAllCircles_args._Fields>, java.io.Serializable, Cloneable   {
-
 
134205
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllCircles_args");
-
 
134206
 
-
 
134207
 
-
 
134208
 
-
 
134209
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
134210
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
134211
;
-
 
134212
 
-
 
134213
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
134214
 
-
 
134215
      static {
-
 
134216
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
134217
          byName.put(field.getFieldName(), field);
-
 
134218
        }
-
 
134219
      }
-
 
134220
 
-
 
134221
      /**
-
 
134222
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
134223
       */
-
 
134224
      public static _Fields findByThriftId(int fieldId) {
-
 
134225
        switch(fieldId) {
-
 
134226
          default:
-
 
134227
            return null;
-
 
134228
        }
-
 
134229
      }
-
 
134230
 
-
 
134231
      /**
-
 
134232
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
134233
       * if it is not found.
-
 
134234
       */
-
 
134235
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
134236
        _Fields fields = findByThriftId(fieldId);
-
 
134237
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
134238
        return fields;
-
 
134239
      }
-
 
134240
 
-
 
134241
      /**
-
 
134242
       * Find the _Fields constant that matches name, or null if its not found.
-
 
134243
       */
-
 
134244
      public static _Fields findByName(String name) {
-
 
134245
        return byName.get(name);
-
 
134246
      }
-
 
134247
 
-
 
134248
      private final short _thriftId;
-
 
134249
      private final String _fieldName;
-
 
134250
 
-
 
134251
      _Fields(short thriftId, String fieldName) {
-
 
134252
        _thriftId = thriftId;
-
 
134253
        _fieldName = fieldName;
-
 
134254
      }
-
 
134255
 
-
 
134256
      public short getThriftFieldId() {
-
 
134257
        return _thriftId;
-
 
134258
      }
-
 
134259
 
-
 
134260
      public String getFieldName() {
-
 
134261
        return _fieldName;
-
 
134262
      }
-
 
134263
    }
-
 
134264
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
134265
    static {
-
 
134266
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
134267
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
134268
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllCircles_args.class, metaDataMap);
-
 
134269
    }
-
 
134270
 
-
 
134271
    public getAllCircles_args() {
-
 
134272
    }
-
 
134273
 
-
 
134274
    /**
-
 
134275
     * Performs a deep copy on <i>other</i>.
-
 
134276
     */
-
 
134277
    public getAllCircles_args(getAllCircles_args other) {
-
 
134278
    }
-
 
134279
 
-
 
134280
    public getAllCircles_args deepCopy() {
-
 
134281
      return new getAllCircles_args(this);
-
 
134282
    }
-
 
134283
 
-
 
134284
    @Override
-
 
134285
    public void clear() {
-
 
134286
    }
-
 
134287
 
-
 
134288
    public void setFieldValue(_Fields field, Object value) {
-
 
134289
      switch (field) {
-
 
134290
      }
-
 
134291
    }
-
 
134292
 
-
 
134293
    public Object getFieldValue(_Fields field) {
-
 
134294
      switch (field) {
-
 
134295
      }
-
 
134296
      throw new IllegalStateException();
-
 
134297
    }
-
 
134298
 
-
 
134299
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
134300
    public boolean isSet(_Fields field) {
-
 
134301
      if (field == null) {
-
 
134302
        throw new IllegalArgumentException();
-
 
134303
      }
-
 
134304
 
-
 
134305
      switch (field) {
-
 
134306
      }
-
 
134307
      throw new IllegalStateException();
-
 
134308
    }
-
 
134309
 
-
 
134310
    @Override
-
 
134311
    public boolean equals(Object that) {
-
 
134312
      if (that == null)
-
 
134313
        return false;
-
 
134314
      if (that instanceof getAllCircles_args)
-
 
134315
        return this.equals((getAllCircles_args)that);
-
 
134316
      return false;
-
 
134317
    }
-
 
134318
 
-
 
134319
    public boolean equals(getAllCircles_args that) {
-
 
134320
      if (that == null)
-
 
134321
        return false;
-
 
134322
 
-
 
134323
      return true;
-
 
134324
    }
-
 
134325
 
-
 
134326
    @Override
-
 
134327
    public int hashCode() {
-
 
134328
      return 0;
-
 
134329
    }
-
 
134330
 
-
 
134331
    public int compareTo(getAllCircles_args other) {
-
 
134332
      if (!getClass().equals(other.getClass())) {
-
 
134333
        return getClass().getName().compareTo(other.getClass().getName());
-
 
134334
      }
-
 
134335
 
-
 
134336
      int lastComparison = 0;
-
 
134337
      getAllCircles_args typedOther = (getAllCircles_args)other;
-
 
134338
 
-
 
134339
      return 0;
-
 
134340
    }
-
 
134341
 
-
 
134342
    public _Fields fieldForId(int fieldId) {
-
 
134343
      return _Fields.findByThriftId(fieldId);
-
 
134344
    }
-
 
134345
 
-
 
134346
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
134347
      org.apache.thrift.protocol.TField field;
-
 
134348
      iprot.readStructBegin();
-
 
134349
      while (true)
-
 
134350
      {
-
 
134351
        field = iprot.readFieldBegin();
-
 
134352
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
134353
          break;
-
 
134354
        }
-
 
134355
        switch (field.id) {
-
 
134356
          default:
-
 
134357
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
134358
        }
-
 
134359
        iprot.readFieldEnd();
-
 
134360
      }
-
 
134361
      iprot.readStructEnd();
-
 
134362
      validate();
-
 
134363
    }
-
 
134364
 
-
 
134365
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
134366
      validate();
-
 
134367
 
-
 
134368
      oprot.writeStructBegin(STRUCT_DESC);
-
 
134369
      oprot.writeFieldStop();
-
 
134370
      oprot.writeStructEnd();
-
 
134371
    }
-
 
134372
 
-
 
134373
    @Override
-
 
134374
    public String toString() {
-
 
134375
      StringBuilder sb = new StringBuilder("getAllCircles_args(");
-
 
134376
      boolean first = true;
-
 
134377
 
-
 
134378
      sb.append(")");
-
 
134379
      return sb.toString();
-
 
134380
    }
-
 
134381
 
-
 
134382
    public void validate() throws org.apache.thrift.TException {
-
 
134383
      // check for required fields
-
 
134384
    }
-
 
134385
 
-
 
134386
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
134387
      try {
-
 
134388
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
134389
      } catch (org.apache.thrift.TException te) {
-
 
134390
        throw new java.io.IOException(te);
-
 
134391
      }
-
 
134392
    }
-
 
134393
 
-
 
134394
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
134395
      try {
-
 
134396
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
134397
      } catch (org.apache.thrift.TException te) {
-
 
134398
        throw new java.io.IOException(te);
-
 
134399
      }
-
 
134400
    }
-
 
134401
 
-
 
134402
  }
-
 
134403
 
-
 
134404
  public static class getAllCircles_result implements org.apache.thrift.TBase<getAllCircles_result, getAllCircles_result._Fields>, java.io.Serializable, Cloneable   {
-
 
134405
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getAllCircles_result");
-
 
134406
 
-
 
134407
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.LIST, (short)0);
-
 
134408
 
-
 
134409
    private List<TelecomCircle> success; // required
-
 
134410
 
-
 
134411
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
134412
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
134413
      SUCCESS((short)0, "success");
-
 
134414
 
-
 
134415
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
134416
 
-
 
134417
      static {
-
 
134418
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
134419
          byName.put(field.getFieldName(), field);
-
 
134420
        }
-
 
134421
      }
-
 
134422
 
-
 
134423
      /**
-
 
134424
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
134425
       */
-
 
134426
      public static _Fields findByThriftId(int fieldId) {
-
 
134427
        switch(fieldId) {
-
 
134428
          case 0: // SUCCESS
-
 
134429
            return SUCCESS;
-
 
134430
          default:
-
 
134431
            return null;
-
 
134432
        }
-
 
134433
      }
-
 
134434
 
-
 
134435
      /**
-
 
134436
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
134437
       * if it is not found.
-
 
134438
       */
-
 
134439
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
134440
        _Fields fields = findByThriftId(fieldId);
-
 
134441
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
134442
        return fields;
-
 
134443
      }
-
 
134444
 
-
 
134445
      /**
-
 
134446
       * Find the _Fields constant that matches name, or null if its not found.
-
 
134447
       */
-
 
134448
      public static _Fields findByName(String name) {
-
 
134449
        return byName.get(name);
-
 
134450
      }
-
 
134451
 
-
 
134452
      private final short _thriftId;
-
 
134453
      private final String _fieldName;
-
 
134454
 
-
 
134455
      _Fields(short thriftId, String fieldName) {
-
 
134456
        _thriftId = thriftId;
-
 
134457
        _fieldName = fieldName;
-
 
134458
      }
-
 
134459
 
-
 
134460
      public short getThriftFieldId() {
-
 
134461
        return _thriftId;
-
 
134462
      }
-
 
134463
 
-
 
134464
      public String getFieldName() {
-
 
134465
        return _fieldName;
-
 
134466
      }
-
 
134467
    }
-
 
134468
 
-
 
134469
    // isset id assignments
-
 
134470
 
-
 
134471
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
134472
    static {
-
 
134473
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
134474
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
134475
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
134476
              new org.apache.thrift.meta_data.StructMetaData(org.apache.thrift.protocol.TType.STRUCT, TelecomCircle.class))));
-
 
134477
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
134478
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getAllCircles_result.class, metaDataMap);
-
 
134479
    }
-
 
134480
 
-
 
134481
    public getAllCircles_result() {
-
 
134482
    }
-
 
134483
 
-
 
134484
    public getAllCircles_result(
-
 
134485
      List<TelecomCircle> success)
-
 
134486
    {
-
 
134487
      this();
-
 
134488
      this.success = success;
-
 
134489
    }
-
 
134490
 
-
 
134491
    /**
-
 
134492
     * Performs a deep copy on <i>other</i>.
-
 
134493
     */
-
 
134494
    public getAllCircles_result(getAllCircles_result other) {
-
 
134495
      if (other.isSetSuccess()) {
-
 
134496
        List<TelecomCircle> __this__success = new ArrayList<TelecomCircle>();
-
 
134497
        for (TelecomCircle other_element : other.success) {
-
 
134498
          __this__success.add(new TelecomCircle(other_element));
-
 
134499
        }
-
 
134500
        this.success = __this__success;
-
 
134501
      }
-
 
134502
    }
-
 
134503
 
-
 
134504
    public getAllCircles_result deepCopy() {
-
 
134505
      return new getAllCircles_result(this);
-
 
134506
    }
-
 
134507
 
-
 
134508
    @Override
-
 
134509
    public void clear() {
-
 
134510
      this.success = null;
-
 
134511
    }
-
 
134512
 
-
 
134513
    public int getSuccessSize() {
-
 
134514
      return (this.success == null) ? 0 : this.success.size();
-
 
134515
    }
-
 
134516
 
-
 
134517
    public java.util.Iterator<TelecomCircle> getSuccessIterator() {
-
 
134518
      return (this.success == null) ? null : this.success.iterator();
-
 
134519
    }
-
 
134520
 
-
 
134521
    public void addToSuccess(TelecomCircle elem) {
-
 
134522
      if (this.success == null) {
-
 
134523
        this.success = new ArrayList<TelecomCircle>();
-
 
134524
      }
-
 
134525
      this.success.add(elem);
-
 
134526
    }
-
 
134527
 
-
 
134528
    public List<TelecomCircle> getSuccess() {
-
 
134529
      return this.success;
-
 
134530
    }
-
 
134531
 
-
 
134532
    public void setSuccess(List<TelecomCircle> success) {
-
 
134533
      this.success = success;
-
 
134534
    }
-
 
134535
 
-
 
134536
    public void unsetSuccess() {
-
 
134537
      this.success = null;
-
 
134538
    }
-
 
134539
 
-
 
134540
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
134541
    public boolean isSetSuccess() {
-
 
134542
      return this.success != null;
-
 
134543
    }
-
 
134544
 
-
 
134545
    public void setSuccessIsSet(boolean value) {
-
 
134546
      if (!value) {
-
 
134547
        this.success = null;
-
 
134548
      }
-
 
134549
    }
-
 
134550
 
-
 
134551
    public void setFieldValue(_Fields field, Object value) {
-
 
134552
      switch (field) {
-
 
134553
      case SUCCESS:
-
 
134554
        if (value == null) {
-
 
134555
          unsetSuccess();
-
 
134556
        } else {
-
 
134557
          setSuccess((List<TelecomCircle>)value);
-
 
134558
        }
-
 
134559
        break;
-
 
134560
 
-
 
134561
      }
-
 
134562
    }
-
 
134563
 
-
 
134564
    public Object getFieldValue(_Fields field) {
-
 
134565
      switch (field) {
-
 
134566
      case SUCCESS:
-
 
134567
        return getSuccess();
-
 
134568
 
-
 
134569
      }
-
 
134570
      throw new IllegalStateException();
-
 
134571
    }
-
 
134572
 
-
 
134573
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
134574
    public boolean isSet(_Fields field) {
-
 
134575
      if (field == null) {
-
 
134576
        throw new IllegalArgumentException();
-
 
134577
      }
-
 
134578
 
-
 
134579
      switch (field) {
-
 
134580
      case SUCCESS:
-
 
134581
        return isSetSuccess();
-
 
134582
      }
-
 
134583
      throw new IllegalStateException();
-
 
134584
    }
-
 
134585
 
-
 
134586
    @Override
-
 
134587
    public boolean equals(Object that) {
-
 
134588
      if (that == null)
-
 
134589
        return false;
-
 
134590
      if (that instanceof getAllCircles_result)
-
 
134591
        return this.equals((getAllCircles_result)that);
-
 
134592
      return false;
-
 
134593
    }
-
 
134594
 
-
 
134595
    public boolean equals(getAllCircles_result that) {
-
 
134596
      if (that == null)
-
 
134597
        return false;
-
 
134598
 
-
 
134599
      boolean this_present_success = true && this.isSetSuccess();
-
 
134600
      boolean that_present_success = true && that.isSetSuccess();
-
 
134601
      if (this_present_success || that_present_success) {
-
 
134602
        if (!(this_present_success && that_present_success))
-
 
134603
          return false;
-
 
134604
        if (!this.success.equals(that.success))
-
 
134605
          return false;
-
 
134606
      }
-
 
134607
 
-
 
134608
      return true;
-
 
134609
    }
-
 
134610
 
-
 
134611
    @Override
-
 
134612
    public int hashCode() {
-
 
134613
      return 0;
-
 
134614
    }
-
 
134615
 
-
 
134616
    public int compareTo(getAllCircles_result other) {
-
 
134617
      if (!getClass().equals(other.getClass())) {
-
 
134618
        return getClass().getName().compareTo(other.getClass().getName());
-
 
134619
      }
-
 
134620
 
-
 
134621
      int lastComparison = 0;
-
 
134622
      getAllCircles_result typedOther = (getAllCircles_result)other;
-
 
134623
 
-
 
134624
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
134625
      if (lastComparison != 0) {
-
 
134626
        return lastComparison;
-
 
134627
      }
-
 
134628
      if (isSetSuccess()) {
-
 
134629
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
134630
        if (lastComparison != 0) {
-
 
134631
          return lastComparison;
-
 
134632
        }
-
 
134633
      }
-
 
134634
      return 0;
-
 
134635
    }
-
 
134636
 
-
 
134637
    public _Fields fieldForId(int fieldId) {
-
 
134638
      return _Fields.findByThriftId(fieldId);
-
 
134639
    }
-
 
134640
 
-
 
134641
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
134642
      org.apache.thrift.protocol.TField field;
-
 
134643
      iprot.readStructBegin();
-
 
134644
      while (true)
-
 
134645
      {
-
 
134646
        field = iprot.readFieldBegin();
-
 
134647
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
134648
          break;
-
 
134649
        }
-
 
134650
        switch (field.id) {
-
 
134651
          case 0: // SUCCESS
-
 
134652
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
134653
              {
-
 
134654
                org.apache.thrift.protocol.TList _list434 = iprot.readListBegin();
-
 
134655
                this.success = new ArrayList<TelecomCircle>(_list434.size);
-
 
134656
                for (int _i435 = 0; _i435 < _list434.size; ++_i435)
-
 
134657
                {
-
 
134658
                  TelecomCircle _elem436; // required
-
 
134659
                  _elem436 = new TelecomCircle();
-
 
134660
                  _elem436.read(iprot);
-
 
134661
                  this.success.add(_elem436);
-
 
134662
                }
-
 
134663
                iprot.readListEnd();
-
 
134664
              }
-
 
134665
            } else { 
-
 
134666
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
134667
            }
-
 
134668
            break;
-
 
134669
          default:
-
 
134670
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
134671
        }
-
 
134672
        iprot.readFieldEnd();
-
 
134673
      }
-
 
134674
      iprot.readStructEnd();
-
 
134675
      validate();
-
 
134676
    }
-
 
134677
 
-
 
134678
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
134679
      oprot.writeStructBegin(STRUCT_DESC);
-
 
134680
 
-
 
134681
      if (this.isSetSuccess()) {
-
 
134682
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
134683
        {
-
 
134684
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.STRUCT, this.success.size()));
-
 
134685
          for (TelecomCircle _iter437 : this.success)
-
 
134686
          {
-
 
134687
            _iter437.write(oprot);
-
 
134688
          }
-
 
134689
          oprot.writeListEnd();
-
 
134690
        }
-
 
134691
        oprot.writeFieldEnd();
-
 
134692
      }
-
 
134693
      oprot.writeFieldStop();
-
 
134694
      oprot.writeStructEnd();
-
 
134695
    }
-
 
134696
 
-
 
134697
    @Override
-
 
134698
    public String toString() {
-
 
134699
      StringBuilder sb = new StringBuilder("getAllCircles_result(");
-
 
134700
      boolean first = true;
-
 
134701
 
-
 
134702
      sb.append("success:");
-
 
134703
      if (this.success == null) {
-
 
134704
        sb.append("null");
-
 
134705
      } else {
-
 
134706
        sb.append(this.success);
-
 
134707
      }
-
 
134708
      first = false;
-
 
134709
      sb.append(")");
-
 
134710
      return sb.toString();
-
 
134711
    }
-
 
134712
 
-
 
134713
    public void validate() throws org.apache.thrift.TException {
-
 
134714
      // check for required fields
-
 
134715
    }
-
 
134716
 
-
 
134717
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
134718
      try {
-
 
134719
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
134720
      } catch (org.apache.thrift.TException te) {
-
 
134721
        throw new java.io.IOException(te);
-
 
134722
      }
-
 
134723
    }
-
 
134724
 
-
 
134725
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
134726
      try {
-
 
134727
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
134728
      } catch (org.apache.thrift.TException te) {
-
 
134729
        throw new java.io.IOException(te);
-
 
134730
      }
-
 
134731
    }
-
 
134732
 
-
 
134733
  }
-
 
134734
 
-
 
134735
  public static class deleteFrcs_args implements org.apache.thrift.TBase<deleteFrcs_args, deleteFrcs_args._Fields>, java.io.Serializable, Cloneable   {
-
 
134736
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteFrcs_args");
-
 
134737
 
-
 
134738
    private static final org.apache.thrift.protocol.TField FRC_IDS_TO_DELETE_FIELD_DESC = new org.apache.thrift.protocol.TField("frcIdsToDelete", org.apache.thrift.protocol.TType.LIST, (short)1);
-
 
134739
 
-
 
134740
    private List<Long> frcIdsToDelete; // required
-
 
134741
 
-
 
134742
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
134743
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
134744
      FRC_IDS_TO_DELETE((short)1, "frcIdsToDelete");
-
 
134745
 
-
 
134746
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
134747
 
-
 
134748
      static {
-
 
134749
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
134750
          byName.put(field.getFieldName(), field);
-
 
134751
        }
-
 
134752
      }
-
 
134753
 
-
 
134754
      /**
-
 
134755
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
134756
       */
-
 
134757
      public static _Fields findByThriftId(int fieldId) {
-
 
134758
        switch(fieldId) {
-
 
134759
          case 1: // FRC_IDS_TO_DELETE
-
 
134760
            return FRC_IDS_TO_DELETE;
-
 
134761
          default:
-
 
134762
            return null;
-
 
134763
        }
-
 
134764
      }
-
 
134765
 
-
 
134766
      /**
-
 
134767
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
134768
       * if it is not found.
-
 
134769
       */
-
 
134770
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
134771
        _Fields fields = findByThriftId(fieldId);
-
 
134772
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
134773
        return fields;
-
 
134774
      }
-
 
134775
 
-
 
134776
      /**
-
 
134777
       * Find the _Fields constant that matches name, or null if its not found.
-
 
134778
       */
-
 
134779
      public static _Fields findByName(String name) {
-
 
134780
        return byName.get(name);
-
 
134781
      }
-
 
134782
 
-
 
134783
      private final short _thriftId;
-
 
134784
      private final String _fieldName;
-
 
134785
 
-
 
134786
      _Fields(short thriftId, String fieldName) {
-
 
134787
        _thriftId = thriftId;
-
 
134788
        _fieldName = fieldName;
-
 
134789
      }
-
 
134790
 
-
 
134791
      public short getThriftFieldId() {
-
 
134792
        return _thriftId;
-
 
134793
      }
-
 
134794
 
-
 
134795
      public String getFieldName() {
-
 
134796
        return _fieldName;
-
 
134797
      }
-
 
134798
    }
-
 
134799
 
-
 
134800
    // isset id assignments
-
 
134801
 
-
 
134802
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
134803
    static {
-
 
134804
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
134805
      tmpMap.put(_Fields.FRC_IDS_TO_DELETE, new org.apache.thrift.meta_data.FieldMetaData("frcIdsToDelete", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
134806
          new org.apache.thrift.meta_data.ListMetaData(org.apache.thrift.protocol.TType.LIST, 
-
 
134807
              new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64))));
-
 
134808
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
134809
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteFrcs_args.class, metaDataMap);
-
 
134810
    }
-
 
134811
 
-
 
134812
    public deleteFrcs_args() {
-
 
134813
    }
-
 
134814
 
-
 
134815
    public deleteFrcs_args(
-
 
134816
      List<Long> frcIdsToDelete)
-
 
134817
    {
-
 
134818
      this();
-
 
134819
      this.frcIdsToDelete = frcIdsToDelete;
-
 
134820
    }
-
 
134821
 
-
 
134822
    /**
-
 
134823
     * Performs a deep copy on <i>other</i>.
-
 
134824
     */
-
 
134825
    public deleteFrcs_args(deleteFrcs_args other) {
-
 
134826
      if (other.isSetFrcIdsToDelete()) {
-
 
134827
        List<Long> __this__frcIdsToDelete = new ArrayList<Long>();
-
 
134828
        for (Long other_element : other.frcIdsToDelete) {
-
 
134829
          __this__frcIdsToDelete.add(other_element);
-
 
134830
        }
-
 
134831
        this.frcIdsToDelete = __this__frcIdsToDelete;
-
 
134832
      }
-
 
134833
    }
-
 
134834
 
-
 
134835
    public deleteFrcs_args deepCopy() {
-
 
134836
      return new deleteFrcs_args(this);
-
 
134837
    }
-
 
134838
 
-
 
134839
    @Override
-
 
134840
    public void clear() {
-
 
134841
      this.frcIdsToDelete = null;
-
 
134842
    }
-
 
134843
 
-
 
134844
    public int getFrcIdsToDeleteSize() {
-
 
134845
      return (this.frcIdsToDelete == null) ? 0 : this.frcIdsToDelete.size();
-
 
134846
    }
-
 
134847
 
-
 
134848
    public java.util.Iterator<Long> getFrcIdsToDeleteIterator() {
-
 
134849
      return (this.frcIdsToDelete == null) ? null : this.frcIdsToDelete.iterator();
-
 
134850
    }
-
 
134851
 
-
 
134852
    public void addToFrcIdsToDelete(long elem) {
-
 
134853
      if (this.frcIdsToDelete == null) {
-
 
134854
        this.frcIdsToDelete = new ArrayList<Long>();
-
 
134855
      }
-
 
134856
      this.frcIdsToDelete.add(elem);
-
 
134857
    }
-
 
134858
 
-
 
134859
    public List<Long> getFrcIdsToDelete() {
-
 
134860
      return this.frcIdsToDelete;
-
 
134861
    }
-
 
134862
 
-
 
134863
    public void setFrcIdsToDelete(List<Long> frcIdsToDelete) {
-
 
134864
      this.frcIdsToDelete = frcIdsToDelete;
-
 
134865
    }
-
 
134866
 
-
 
134867
    public void unsetFrcIdsToDelete() {
-
 
134868
      this.frcIdsToDelete = null;
-
 
134869
    }
-
 
134870
 
-
 
134871
    /** Returns true if field frcIdsToDelete is set (has been assigned a value) and false otherwise */
-
 
134872
    public boolean isSetFrcIdsToDelete() {
-
 
134873
      return this.frcIdsToDelete != null;
-
 
134874
    }
-
 
134875
 
-
 
134876
    public void setFrcIdsToDeleteIsSet(boolean value) {
-
 
134877
      if (!value) {
-
 
134878
        this.frcIdsToDelete = null;
-
 
134879
      }
-
 
134880
    }
-
 
134881
 
-
 
134882
    public void setFieldValue(_Fields field, Object value) {
-
 
134883
      switch (field) {
-
 
134884
      case FRC_IDS_TO_DELETE:
-
 
134885
        if (value == null) {
-
 
134886
          unsetFrcIdsToDelete();
-
 
134887
        } else {
-
 
134888
          setFrcIdsToDelete((List<Long>)value);
-
 
134889
        }
-
 
134890
        break;
-
 
134891
 
-
 
134892
      }
-
 
134893
    }
-
 
134894
 
-
 
134895
    public Object getFieldValue(_Fields field) {
-
 
134896
      switch (field) {
-
 
134897
      case FRC_IDS_TO_DELETE:
-
 
134898
        return getFrcIdsToDelete();
-
 
134899
 
-
 
134900
      }
-
 
134901
      throw new IllegalStateException();
-
 
134902
    }
-
 
134903
 
-
 
134904
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
134905
    public boolean isSet(_Fields field) {
-
 
134906
      if (field == null) {
-
 
134907
        throw new IllegalArgumentException();
-
 
134908
      }
-
 
134909
 
-
 
134910
      switch (field) {
-
 
134911
      case FRC_IDS_TO_DELETE:
-
 
134912
        return isSetFrcIdsToDelete();
-
 
134913
      }
-
 
134914
      throw new IllegalStateException();
-
 
134915
    }
-
 
134916
 
-
 
134917
    @Override
-
 
134918
    public boolean equals(Object that) {
-
 
134919
      if (that == null)
-
 
134920
        return false;
-
 
134921
      if (that instanceof deleteFrcs_args)
-
 
134922
        return this.equals((deleteFrcs_args)that);
-
 
134923
      return false;
-
 
134924
    }
-
 
134925
 
-
 
134926
    public boolean equals(deleteFrcs_args that) {
-
 
134927
      if (that == null)
-
 
134928
        return false;
-
 
134929
 
-
 
134930
      boolean this_present_frcIdsToDelete = true && this.isSetFrcIdsToDelete();
-
 
134931
      boolean that_present_frcIdsToDelete = true && that.isSetFrcIdsToDelete();
-
 
134932
      if (this_present_frcIdsToDelete || that_present_frcIdsToDelete) {
-
 
134933
        if (!(this_present_frcIdsToDelete && that_present_frcIdsToDelete))
-
 
134934
          return false;
-
 
134935
        if (!this.frcIdsToDelete.equals(that.frcIdsToDelete))
-
 
134936
          return false;
-
 
134937
      }
-
 
134938
 
-
 
134939
      return true;
-
 
134940
    }
-
 
134941
 
-
 
134942
    @Override
-
 
134943
    public int hashCode() {
-
 
134944
      return 0;
-
 
134945
    }
-
 
134946
 
-
 
134947
    public int compareTo(deleteFrcs_args other) {
-
 
134948
      if (!getClass().equals(other.getClass())) {
-
 
134949
        return getClass().getName().compareTo(other.getClass().getName());
-
 
134950
      }
-
 
134951
 
-
 
134952
      int lastComparison = 0;
-
 
134953
      deleteFrcs_args typedOther = (deleteFrcs_args)other;
-
 
134954
 
-
 
134955
      lastComparison = Boolean.valueOf(isSetFrcIdsToDelete()).compareTo(typedOther.isSetFrcIdsToDelete());
-
 
134956
      if (lastComparison != 0) {
-
 
134957
        return lastComparison;
-
 
134958
      }
-
 
134959
      if (isSetFrcIdsToDelete()) {
-
 
134960
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.frcIdsToDelete, typedOther.frcIdsToDelete);
-
 
134961
        if (lastComparison != 0) {
-
 
134962
          return lastComparison;
-
 
134963
        }
-
 
134964
      }
-
 
134965
      return 0;
-
 
134966
    }
-
 
134967
 
-
 
134968
    public _Fields fieldForId(int fieldId) {
-
 
134969
      return _Fields.findByThriftId(fieldId);
-
 
134970
    }
-
 
134971
 
-
 
134972
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
134973
      org.apache.thrift.protocol.TField field;
-
 
134974
      iprot.readStructBegin();
-
 
134975
      while (true)
-
 
134976
      {
-
 
134977
        field = iprot.readFieldBegin();
-
 
134978
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
134979
          break;
-
 
134980
        }
-
 
134981
        switch (field.id) {
-
 
134982
          case 1: // FRC_IDS_TO_DELETE
-
 
134983
            if (field.type == org.apache.thrift.protocol.TType.LIST) {
-
 
134984
              {
-
 
134985
                org.apache.thrift.protocol.TList _list438 = iprot.readListBegin();
-
 
134986
                this.frcIdsToDelete = new ArrayList<Long>(_list438.size);
-
 
134987
                for (int _i439 = 0; _i439 < _list438.size; ++_i439)
-
 
134988
                {
-
 
134989
                  long _elem440; // required
-
 
134990
                  _elem440 = iprot.readI64();
-
 
134991
                  this.frcIdsToDelete.add(_elem440);
-
 
134992
                }
-
 
134993
                iprot.readListEnd();
-
 
134994
              }
-
 
134995
            } else { 
-
 
134996
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
134997
            }
-
 
134998
            break;
-
 
134999
          default:
-
 
135000
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
135001
        }
-
 
135002
        iprot.readFieldEnd();
-
 
135003
      }
-
 
135004
      iprot.readStructEnd();
-
 
135005
      validate();
-
 
135006
    }
-
 
135007
 
-
 
135008
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
135009
      validate();
-
 
135010
 
-
 
135011
      oprot.writeStructBegin(STRUCT_DESC);
-
 
135012
      if (this.frcIdsToDelete != null) {
-
 
135013
        oprot.writeFieldBegin(FRC_IDS_TO_DELETE_FIELD_DESC);
-
 
135014
        {
-
 
135015
          oprot.writeListBegin(new org.apache.thrift.protocol.TList(org.apache.thrift.protocol.TType.I64, this.frcIdsToDelete.size()));
-
 
135016
          for (long _iter441 : this.frcIdsToDelete)
-
 
135017
          {
-
 
135018
            oprot.writeI64(_iter441);
-
 
135019
          }
-
 
135020
          oprot.writeListEnd();
-
 
135021
        }
-
 
135022
        oprot.writeFieldEnd();
-
 
135023
      }
-
 
135024
      oprot.writeFieldStop();
-
 
135025
      oprot.writeStructEnd();
-
 
135026
    }
-
 
135027
 
-
 
135028
    @Override
-
 
135029
    public String toString() {
-
 
135030
      StringBuilder sb = new StringBuilder("deleteFrcs_args(");
-
 
135031
      boolean first = true;
-
 
135032
 
-
 
135033
      sb.append("frcIdsToDelete:");
-
 
135034
      if (this.frcIdsToDelete == null) {
-
 
135035
        sb.append("null");
-
 
135036
      } else {
-
 
135037
        sb.append(this.frcIdsToDelete);
-
 
135038
      }
-
 
135039
      first = false;
-
 
135040
      sb.append(")");
-
 
135041
      return sb.toString();
-
 
135042
    }
-
 
135043
 
-
 
135044
    public void validate() throws org.apache.thrift.TException {
-
 
135045
      // check for required fields
-
 
135046
    }
-
 
135047
 
-
 
135048
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
-
 
135049
      try {
-
 
135050
        write(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(out)));
-
 
135051
      } catch (org.apache.thrift.TException te) {
-
 
135052
        throw new java.io.IOException(te);
-
 
135053
      }
-
 
135054
    }
-
 
135055
 
-
 
135056
    private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
-
 
135057
      try {
-
 
135058
        read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
-
 
135059
      } catch (org.apache.thrift.TException te) {
-
 
135060
        throw new java.io.IOException(te);
-
 
135061
      }
-
 
135062
    }
-
 
135063
 
-
 
135064
  }
-
 
135065
 
-
 
135066
  public static class deleteFrcs_result implements org.apache.thrift.TBase<deleteFrcs_result, deleteFrcs_result._Fields>, java.io.Serializable, Cloneable   {
-
 
135067
    private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("deleteFrcs_result");
-
 
135068
 
-
 
135069
    private static final org.apache.thrift.protocol.TField SUCCESS_FIELD_DESC = new org.apache.thrift.protocol.TField("success", org.apache.thrift.protocol.TType.BOOL, (short)0);
-
 
135070
 
-
 
135071
    private boolean success; // required
-
 
135072
 
-
 
135073
    /** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
-
 
135074
    public enum _Fields implements org.apache.thrift.TFieldIdEnum {
-
 
135075
      SUCCESS((short)0, "success");
-
 
135076
 
-
 
135077
      private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
-
 
135078
 
-
 
135079
      static {
-
 
135080
        for (_Fields field : EnumSet.allOf(_Fields.class)) {
-
 
135081
          byName.put(field.getFieldName(), field);
-
 
135082
        }
-
 
135083
      }
-
 
135084
 
-
 
135085
      /**
-
 
135086
       * Find the _Fields constant that matches fieldId, or null if its not found.
-
 
135087
       */
-
 
135088
      public static _Fields findByThriftId(int fieldId) {
-
 
135089
        switch(fieldId) {
-
 
135090
          case 0: // SUCCESS
-
 
135091
            return SUCCESS;
-
 
135092
          default:
-
 
135093
            return null;
-
 
135094
        }
-
 
135095
      }
-
 
135096
 
-
 
135097
      /**
-
 
135098
       * Find the _Fields constant that matches fieldId, throwing an exception
-
 
135099
       * if it is not found.
-
 
135100
       */
-
 
135101
      public static _Fields findByThriftIdOrThrow(int fieldId) {
-
 
135102
        _Fields fields = findByThriftId(fieldId);
-
 
135103
        if (fields == null) throw new IllegalArgumentException("Field " + fieldId + " doesn't exist!");
-
 
135104
        return fields;
-
 
135105
      }
-
 
135106
 
-
 
135107
      /**
-
 
135108
       * Find the _Fields constant that matches name, or null if its not found.
-
 
135109
       */
-
 
135110
      public static _Fields findByName(String name) {
-
 
135111
        return byName.get(name);
-
 
135112
      }
-
 
135113
 
-
 
135114
      private final short _thriftId;
-
 
135115
      private final String _fieldName;
-
 
135116
 
-
 
135117
      _Fields(short thriftId, String fieldName) {
-
 
135118
        _thriftId = thriftId;
-
 
135119
        _fieldName = fieldName;
-
 
135120
      }
-
 
135121
 
-
 
135122
      public short getThriftFieldId() {
-
 
135123
        return _thriftId;
-
 
135124
      }
-
 
135125
 
-
 
135126
      public String getFieldName() {
-
 
135127
        return _fieldName;
-
 
135128
      }
-
 
135129
    }
-
 
135130
 
-
 
135131
    // isset id assignments
-
 
135132
    private static final int __SUCCESS_ISSET_ID = 0;
-
 
135133
    private BitSet __isset_bit_vector = new BitSet(1);
-
 
135134
 
-
 
135135
    public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
-
 
135136
    static {
-
 
135137
      Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
-
 
135138
      tmpMap.put(_Fields.SUCCESS, new org.apache.thrift.meta_data.FieldMetaData("success", org.apache.thrift.TFieldRequirementType.DEFAULT, 
-
 
135139
          new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
-
 
135140
      metaDataMap = Collections.unmodifiableMap(tmpMap);
-
 
135141
      org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(deleteFrcs_result.class, metaDataMap);
-
 
135142
    }
-
 
135143
 
-
 
135144
    public deleteFrcs_result() {
-
 
135145
    }
-
 
135146
 
-
 
135147
    public deleteFrcs_result(
-
 
135148
      boolean success)
-
 
135149
    {
-
 
135150
      this();
-
 
135151
      this.success = success;
-
 
135152
      setSuccessIsSet(true);
-
 
135153
    }
-
 
135154
 
-
 
135155
    /**
-
 
135156
     * Performs a deep copy on <i>other</i>.
-
 
135157
     */
-
 
135158
    public deleteFrcs_result(deleteFrcs_result other) {
-
 
135159
      __isset_bit_vector.clear();
-
 
135160
      __isset_bit_vector.or(other.__isset_bit_vector);
-
 
135161
      this.success = other.success;
-
 
135162
    }
-
 
135163
 
-
 
135164
    public deleteFrcs_result deepCopy() {
-
 
135165
      return new deleteFrcs_result(this);
-
 
135166
    }
-
 
135167
 
-
 
135168
    @Override
-
 
135169
    public void clear() {
-
 
135170
      setSuccessIsSet(false);
-
 
135171
      this.success = false;
-
 
135172
    }
-
 
135173
 
-
 
135174
    public boolean isSuccess() {
-
 
135175
      return this.success;
-
 
135176
    }
-
 
135177
 
-
 
135178
    public void setSuccess(boolean success) {
-
 
135179
      this.success = success;
-
 
135180
      setSuccessIsSet(true);
-
 
135181
    }
-
 
135182
 
-
 
135183
    public void unsetSuccess() {
-
 
135184
      __isset_bit_vector.clear(__SUCCESS_ISSET_ID);
-
 
135185
    }
-
 
135186
 
-
 
135187
    /** Returns true if field success is set (has been assigned a value) and false otherwise */
-
 
135188
    public boolean isSetSuccess() {
-
 
135189
      return __isset_bit_vector.get(__SUCCESS_ISSET_ID);
-
 
135190
    }
-
 
135191
 
-
 
135192
    public void setSuccessIsSet(boolean value) {
-
 
135193
      __isset_bit_vector.set(__SUCCESS_ISSET_ID, value);
-
 
135194
    }
-
 
135195
 
-
 
135196
    public void setFieldValue(_Fields field, Object value) {
-
 
135197
      switch (field) {
-
 
135198
      case SUCCESS:
-
 
135199
        if (value == null) {
-
 
135200
          unsetSuccess();
-
 
135201
        } else {
-
 
135202
          setSuccess((Boolean)value);
-
 
135203
        }
-
 
135204
        break;
-
 
135205
 
-
 
135206
      }
-
 
135207
    }
-
 
135208
 
-
 
135209
    public Object getFieldValue(_Fields field) {
-
 
135210
      switch (field) {
-
 
135211
      case SUCCESS:
-
 
135212
        return Boolean.valueOf(isSuccess());
-
 
135213
 
-
 
135214
      }
-
 
135215
      throw new IllegalStateException();
-
 
135216
    }
-
 
135217
 
-
 
135218
    /** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
-
 
135219
    public boolean isSet(_Fields field) {
-
 
135220
      if (field == null) {
-
 
135221
        throw new IllegalArgumentException();
-
 
135222
      }
-
 
135223
 
-
 
135224
      switch (field) {
-
 
135225
      case SUCCESS:
-
 
135226
        return isSetSuccess();
-
 
135227
      }
-
 
135228
      throw new IllegalStateException();
-
 
135229
    }
-
 
135230
 
-
 
135231
    @Override
-
 
135232
    public boolean equals(Object that) {
-
 
135233
      if (that == null)
-
 
135234
        return false;
-
 
135235
      if (that instanceof deleteFrcs_result)
-
 
135236
        return this.equals((deleteFrcs_result)that);
-
 
135237
      return false;
-
 
135238
    }
-
 
135239
 
-
 
135240
    public boolean equals(deleteFrcs_result that) {
-
 
135241
      if (that == null)
-
 
135242
        return false;
-
 
135243
 
-
 
135244
      boolean this_present_success = true;
-
 
135245
      boolean that_present_success = true;
-
 
135246
      if (this_present_success || that_present_success) {
-
 
135247
        if (!(this_present_success && that_present_success))
-
 
135248
          return false;
-
 
135249
        if (this.success != that.success)
-
 
135250
          return false;
-
 
135251
      }
-
 
135252
 
-
 
135253
      return true;
-
 
135254
    }
-
 
135255
 
-
 
135256
    @Override
-
 
135257
    public int hashCode() {
-
 
135258
      return 0;
-
 
135259
    }
-
 
135260
 
-
 
135261
    public int compareTo(deleteFrcs_result other) {
-
 
135262
      if (!getClass().equals(other.getClass())) {
-
 
135263
        return getClass().getName().compareTo(other.getClass().getName());
-
 
135264
      }
-
 
135265
 
-
 
135266
      int lastComparison = 0;
-
 
135267
      deleteFrcs_result typedOther = (deleteFrcs_result)other;
-
 
135268
 
-
 
135269
      lastComparison = Boolean.valueOf(isSetSuccess()).compareTo(typedOther.isSetSuccess());
-
 
135270
      if (lastComparison != 0) {
-
 
135271
        return lastComparison;
-
 
135272
      }
-
 
135273
      if (isSetSuccess()) {
-
 
135274
        lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.success, typedOther.success);
-
 
135275
        if (lastComparison != 0) {
-
 
135276
          return lastComparison;
-
 
135277
        }
-
 
135278
      }
-
 
135279
      return 0;
-
 
135280
    }
-
 
135281
 
-
 
135282
    public _Fields fieldForId(int fieldId) {
-
 
135283
      return _Fields.findByThriftId(fieldId);
-
 
135284
    }
-
 
135285
 
-
 
135286
    public void read(org.apache.thrift.protocol.TProtocol iprot) throws org.apache.thrift.TException {
-
 
135287
      org.apache.thrift.protocol.TField field;
-
 
135288
      iprot.readStructBegin();
-
 
135289
      while (true)
-
 
135290
      {
-
 
135291
        field = iprot.readFieldBegin();
-
 
135292
        if (field.type == org.apache.thrift.protocol.TType.STOP) { 
-
 
135293
          break;
-
 
135294
        }
-
 
135295
        switch (field.id) {
-
 
135296
          case 0: // SUCCESS
-
 
135297
            if (field.type == org.apache.thrift.protocol.TType.BOOL) {
-
 
135298
              this.success = iprot.readBool();
-
 
135299
              setSuccessIsSet(true);
-
 
135300
            } else { 
-
 
135301
              org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
135302
            }
-
 
135303
            break;
-
 
135304
          default:
-
 
135305
            org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
-
 
135306
        }
-
 
135307
        iprot.readFieldEnd();
-
 
135308
      }
-
 
135309
      iprot.readStructEnd();
-
 
135310
      validate();
-
 
135311
    }
-
 
135312
 
-
 
135313
    public void write(org.apache.thrift.protocol.TProtocol oprot) throws org.apache.thrift.TException {
-
 
135314
      oprot.writeStructBegin(STRUCT_DESC);
-
 
135315
 
-
 
135316
      if (this.isSetSuccess()) {
-
 
135317
        oprot.writeFieldBegin(SUCCESS_FIELD_DESC);
-
 
135318
        oprot.writeBool(this.success);
-
 
135319
        oprot.writeFieldEnd();
-
 
135320
      }
-
 
135321
      oprot.writeFieldStop();
-
 
135322
      oprot.writeStructEnd();
-
 
135323
    }
-
 
135324
 
-
 
135325
    @Override
-
 
135326
    public String toString() {
-
 
135327
      StringBuilder sb = new StringBuilder("deleteFrcs_result(");
-
 
135328
      boolean first = true;
-
 
135329
 
-
 
135330
      sb.append("success:");
-
 
135331
      sb.append(this.success);
-
 
135332
      first = false;
-
 
135333
      sb.append(")");
-
 
135334
      return sb.toString();
-
 
135335
    }
-
 
135336
 
134035
    public void validate() throws org.apache.thrift.TException {
135337
    public void validate() throws org.apache.thrift.TException {
134036
      // check for required fields
135338
      // check for required fields
134037
    }
135339
    }
134038
 
135340
 
134039
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {
135341
    private void writeObject(java.io.ObjectOutputStream out) throws java.io.IOException {