| Line 1151... |
Line 1151... |
| 1151 |
|
1151 |
|
| 1152 |
public PaginatedCreditHistory getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
|
1152 |
public PaginatedCreditHistory getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
|
| 1153 |
|
1153 |
|
| 1154 |
public PaginatedLoanHistory getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
|
1154 |
public PaginatedLoanHistory getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
|
| 1155 |
|
1155 |
|
| 1156 |
public PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException;
|
1156 |
public PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort) throws org.apache.thrift.TException;
|
| 1157 |
|
1157 |
|
| 1158 |
public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
|
1158 |
public ReturnOrderInfo getReturnOrderInfo(long id) throws TransactionServiceException, org.apache.thrift.TException;
|
| 1159 |
|
1159 |
|
| 1160 |
public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
|
1160 |
public Map<Long,List<ReturnOrderInfo>> getReturnOrderInfoList(List<Long> order_ids) throws org.apache.thrift.TException;
|
| 1161 |
|
1161 |
|
| Line 1766... |
Line 1766... |
| 1766 |
|
1766 |
|
| 1767 |
public void getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLimitedCreditHistoryRecords_call> resultHandler) throws org.apache.thrift.TException;
|
1767 |
public void getLimitedCreditHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLimitedCreditHistoryRecords_call> resultHandler) throws org.apache.thrift.TException;
|
| 1768 |
|
1768 |
|
| 1769 |
public void getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLimitedLoanHistoryRecords_call> resultHandler) throws org.apache.thrift.TException;
|
1769 |
public void getLimitedLoanHistoryRecords(long paymentId, long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getLimitedLoanHistoryRecords_call> resultHandler) throws org.apache.thrift.TException;
|
| 1770 |
|
1770 |
|
| 1771 |
public void getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSanctionsDetailsAsPerLimit_call> resultHandler) throws org.apache.thrift.TException;
|
1771 |
public void getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getUserSanctionsDetailsAsPerLimit_call> resultHandler) throws org.apache.thrift.TException;
|
| 1772 |
|
1772 |
|
| 1773 |
public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
|
1773 |
public void getReturnOrderInfo(long id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfo_call> resultHandler) throws org.apache.thrift.TException;
|
| 1774 |
|
1774 |
|
| 1775 |
public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
|
1775 |
public void getReturnOrderInfoList(List<Long> order_ids, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getReturnOrderInfoList_call> resultHandler) throws org.apache.thrift.TException;
|
| 1776 |
|
1776 |
|
| Line 8416... |
Line 8416... |
| 8416 |
return result.success;
|
8416 |
return result.success;
|
| 8417 |
}
|
8417 |
}
|
| 8418 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLimitedLoanHistoryRecords failed: unknown result");
|
8418 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getLimitedLoanHistoryRecords failed: unknown result");
|
| 8419 |
}
|
8419 |
}
|
| 8420 |
|
8420 |
|
| 8421 |
public PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException
|
8421 |
public PaginatedUserSanction getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort) throws org.apache.thrift.TException
|
| 8422 |
{
|
8422 |
{
|
| 8423 |
send_getUserSanctionsDetailsAsPerLimit(userId, creditorId, limit, offset);
|
8423 |
send_getUserSanctionsDetailsAsPerLimit(userId, creditorId, limit, offset, sort);
|
| 8424 |
return recv_getUserSanctionsDetailsAsPerLimit();
|
8424 |
return recv_getUserSanctionsDetailsAsPerLimit();
|
| 8425 |
}
|
8425 |
}
|
| 8426 |
|
8426 |
|
| 8427 |
public void send_getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset) throws org.apache.thrift.TException
|
8427 |
public void send_getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort) throws org.apache.thrift.TException
|
| 8428 |
{
|
8428 |
{
|
| 8429 |
getUserSanctionsDetailsAsPerLimit_args args = new getUserSanctionsDetailsAsPerLimit_args();
|
8429 |
getUserSanctionsDetailsAsPerLimit_args args = new getUserSanctionsDetailsAsPerLimit_args();
|
| 8430 |
args.setUserId(userId);
|
8430 |
args.setUserId(userId);
|
| 8431 |
args.setCreditorId(creditorId);
|
8431 |
args.setCreditorId(creditorId);
|
| 8432 |
args.setLimit(limit);
|
8432 |
args.setLimit(limit);
|
| 8433 |
args.setOffset(offset);
|
8433 |
args.setOffset(offset);
|
| - |
|
8434 |
args.setSort(sort);
|
| 8434 |
sendBase("getUserSanctionsDetailsAsPerLimit", args);
|
8435 |
sendBase("getUserSanctionsDetailsAsPerLimit", args);
|
| 8435 |
}
|
8436 |
}
|
| 8436 |
|
8437 |
|
| 8437 |
public PaginatedUserSanction recv_getUserSanctionsDetailsAsPerLimit() throws org.apache.thrift.TException
|
8438 |
public PaginatedUserSanction recv_getUserSanctionsDetailsAsPerLimit() throws org.apache.thrift.TException
|
| 8438 |
{
|
8439 |
{
|
| Line 18509... |
Line 18510... |
| 18509 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
18510 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 18510 |
return (new Client(prot)).recv_getLimitedLoanHistoryRecords();
|
18511 |
return (new Client(prot)).recv_getLimitedLoanHistoryRecords();
|
| 18511 |
}
|
18512 |
}
|
| 18512 |
}
|
18513 |
}
|
| 18513 |
|
18514 |
|
| 18514 |
public void getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionsDetailsAsPerLimit_call> resultHandler) throws org.apache.thrift.TException {
|
18515 |
public void getUserSanctionsDetailsAsPerLimit(long userId, long creditorId, long limit, long offset, String sort, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionsDetailsAsPerLimit_call> resultHandler) throws org.apache.thrift.TException {
|
| 18515 |
checkReady();
|
18516 |
checkReady();
|
| 18516 |
getUserSanctionsDetailsAsPerLimit_call method_call = new getUserSanctionsDetailsAsPerLimit_call(userId, creditorId, limit, offset, resultHandler, this, ___protocolFactory, ___transport);
|
18517 |
getUserSanctionsDetailsAsPerLimit_call method_call = new getUserSanctionsDetailsAsPerLimit_call(userId, creditorId, limit, offset, sort, resultHandler, this, ___protocolFactory, ___transport);
|
| 18517 |
this.___currentMethod = method_call;
|
18518 |
this.___currentMethod = method_call;
|
| 18518 |
___manager.call(method_call);
|
18519 |
___manager.call(method_call);
|
| 18519 |
}
|
18520 |
}
|
| 18520 |
|
18521 |
|
| 18521 |
public static class getUserSanctionsDetailsAsPerLimit_call extends org.apache.thrift.async.TAsyncMethodCall {
|
18522 |
public static class getUserSanctionsDetailsAsPerLimit_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 18522 |
private long userId;
|
18523 |
private long userId;
|
| 18523 |
private long creditorId;
|
18524 |
private long creditorId;
|
| 18524 |
private long limit;
|
18525 |
private long limit;
|
| 18525 |
private long offset;
|
18526 |
private long offset;
|
| - |
|
18527 |
private String sort;
|
| 18526 |
public getUserSanctionsDetailsAsPerLimit_call(long userId, long creditorId, long limit, long offset, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionsDetailsAsPerLimit_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 {
|
18528 |
public getUserSanctionsDetailsAsPerLimit_call(long userId, long creditorId, long limit, long offset, String sort, org.apache.thrift.async.AsyncMethodCallback<getUserSanctionsDetailsAsPerLimit_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 {
|
| 18527 |
super(client, protocolFactory, transport, resultHandler, false);
|
18529 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 18528 |
this.userId = userId;
|
18530 |
this.userId = userId;
|
| 18529 |
this.creditorId = creditorId;
|
18531 |
this.creditorId = creditorId;
|
| 18530 |
this.limit = limit;
|
18532 |
this.limit = limit;
|
| 18531 |
this.offset = offset;
|
18533 |
this.offset = offset;
|
| - |
|
18534 |
this.sort = sort;
|
| 18532 |
}
|
18535 |
}
|
| 18533 |
|
18536 |
|
| 18534 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
18537 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 18535 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserSanctionsDetailsAsPerLimit", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
18538 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getUserSanctionsDetailsAsPerLimit", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 18536 |
getUserSanctionsDetailsAsPerLimit_args args = new getUserSanctionsDetailsAsPerLimit_args();
|
18539 |
getUserSanctionsDetailsAsPerLimit_args args = new getUserSanctionsDetailsAsPerLimit_args();
|
| 18537 |
args.setUserId(userId);
|
18540 |
args.setUserId(userId);
|
| 18538 |
args.setCreditorId(creditorId);
|
18541 |
args.setCreditorId(creditorId);
|
| 18539 |
args.setLimit(limit);
|
18542 |
args.setLimit(limit);
|
| 18540 |
args.setOffset(offset);
|
18543 |
args.setOffset(offset);
|
| - |
|
18544 |
args.setSort(sort);
|
| 18541 |
args.write(prot);
|
18545 |
args.write(prot);
|
| 18542 |
prot.writeMessageEnd();
|
18546 |
prot.writeMessageEnd();
|
| 18543 |
}
|
18547 |
}
|
| 18544 |
|
18548 |
|
| 18545 |
public PaginatedUserSanction getResult() throws org.apache.thrift.TException {
|
18549 |
public PaginatedUserSanction getResult() throws org.apache.thrift.TException {
|
| Line 24709... |
Line 24713... |
| 24709 |
return new getUserSanctionsDetailsAsPerLimit_args();
|
24713 |
return new getUserSanctionsDetailsAsPerLimit_args();
|
| 24710 |
}
|
24714 |
}
|
| 24711 |
|
24715 |
|
| 24712 |
protected getUserSanctionsDetailsAsPerLimit_result getResult(I iface, getUserSanctionsDetailsAsPerLimit_args args) throws org.apache.thrift.TException {
|
24716 |
protected getUserSanctionsDetailsAsPerLimit_result getResult(I iface, getUserSanctionsDetailsAsPerLimit_args args) throws org.apache.thrift.TException {
|
| 24713 |
getUserSanctionsDetailsAsPerLimit_result result = new getUserSanctionsDetailsAsPerLimit_result();
|
24717 |
getUserSanctionsDetailsAsPerLimit_result result = new getUserSanctionsDetailsAsPerLimit_result();
|
| 24714 |
result.success = iface.getUserSanctionsDetailsAsPerLimit(args.userId, args.creditorId, args.limit, args.offset);
|
24718 |
result.success = iface.getUserSanctionsDetailsAsPerLimit(args.userId, args.creditorId, args.limit, args.offset, args.sort);
|
| 24715 |
return result;
|
24719 |
return result;
|
| 24716 |
}
|
24720 |
}
|
| 24717 |
}
|
24721 |
}
|
| 24718 |
|
24722 |
|
| 24719 |
private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
|
24723 |
private static class getReturnOrderInfo<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getReturnOrderInfo_args> {
|
| Line 214476... |
Line 214480... |
| 214476 |
|
214480 |
|
| 214477 |
private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
|
214481 |
private static final org.apache.thrift.protocol.TField USER_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("userId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 214478 |
private static final org.apache.thrift.protocol.TField CREDITOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creditorId", org.apache.thrift.protocol.TType.I64, (short)2);
|
214482 |
private static final org.apache.thrift.protocol.TField CREDITOR_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("creditorId", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 214479 |
private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)3);
|
214483 |
private static final org.apache.thrift.protocol.TField LIMIT_FIELD_DESC = new org.apache.thrift.protocol.TField("limit", org.apache.thrift.protocol.TType.I64, (short)3);
|
| 214480 |
private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I64, (short)4);
|
214484 |
private static final org.apache.thrift.protocol.TField OFFSET_FIELD_DESC = new org.apache.thrift.protocol.TField("offset", org.apache.thrift.protocol.TType.I64, (short)4);
|
| - |
|
214485 |
private static final org.apache.thrift.protocol.TField SORT_FIELD_DESC = new org.apache.thrift.protocol.TField("sort", org.apache.thrift.protocol.TType.STRING, (short)5);
|
| 214481 |
|
214486 |
|
| 214482 |
private long userId; // required
|
214487 |
private long userId; // required
|
| 214483 |
private long creditorId; // required
|
214488 |
private long creditorId; // required
|
| 214484 |
private long limit; // required
|
214489 |
private long limit; // required
|
| 214485 |
private long offset; // required
|
214490 |
private long offset; // required
|
| - |
|
214491 |
private String sort; // required
|
| 214486 |
|
214492 |
|
| 214487 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
214493 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 214488 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
214494 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 214489 |
USER_ID((short)1, "userId"),
|
214495 |
USER_ID((short)1, "userId"),
|
| 214490 |
CREDITOR_ID((short)2, "creditorId"),
|
214496 |
CREDITOR_ID((short)2, "creditorId"),
|
| 214491 |
LIMIT((short)3, "limit"),
|
214497 |
LIMIT((short)3, "limit"),
|
| 214492 |
OFFSET((short)4, "offset");
|
214498 |
OFFSET((short)4, "offset"),
|
| - |
|
214499 |
SORT((short)5, "sort");
|
| 214493 |
|
214500 |
|
| 214494 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
214501 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 214495 |
|
214502 |
|
| 214496 |
static {
|
214503 |
static {
|
| 214497 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
214504 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 214510... |
Line 214517... |
| 214510 |
return CREDITOR_ID;
|
214517 |
return CREDITOR_ID;
|
| 214511 |
case 3: // LIMIT
|
214518 |
case 3: // LIMIT
|
| 214512 |
return LIMIT;
|
214519 |
return LIMIT;
|
| 214513 |
case 4: // OFFSET
|
214520 |
case 4: // OFFSET
|
| 214514 |
return OFFSET;
|
214521 |
return OFFSET;
|
| - |
|
214522 |
case 5: // SORT
|
| - |
|
214523 |
return SORT;
|
| 214515 |
default:
|
214524 |
default:
|
| 214516 |
return null;
|
214525 |
return null;
|
| 214517 |
}
|
214526 |
}
|
| 214518 |
}
|
214527 |
}
|
| 214519 |
|
214528 |
|
| Line 214567... |
Line 214576... |
| 214567 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
214576 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 214568 |
tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
214577 |
tmpMap.put(_Fields.LIMIT, new org.apache.thrift.meta_data.FieldMetaData("limit", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 214569 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
214578 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 214570 |
tmpMap.put(_Fields.OFFSET, new org.apache.thrift.meta_data.FieldMetaData("offset", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
214579 |
tmpMap.put(_Fields.OFFSET, new org.apache.thrift.meta_data.FieldMetaData("offset", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 214571 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
214580 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
214581 |
tmpMap.put(_Fields.SORT, new org.apache.thrift.meta_data.FieldMetaData("sort", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
214582 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 214572 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
214583 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 214573 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSanctionsDetailsAsPerLimit_args.class, metaDataMap);
|
214584 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getUserSanctionsDetailsAsPerLimit_args.class, metaDataMap);
|
| 214574 |
}
|
214585 |
}
|
| 214575 |
|
214586 |
|
| 214576 |
public getUserSanctionsDetailsAsPerLimit_args() {
|
214587 |
public getUserSanctionsDetailsAsPerLimit_args() {
|
| Line 214578... |
Line 214589... |
| 214578 |
|
214589 |
|
| 214579 |
public getUserSanctionsDetailsAsPerLimit_args(
|
214590 |
public getUserSanctionsDetailsAsPerLimit_args(
|
| 214580 |
long userId,
|
214591 |
long userId,
|
| 214581 |
long creditorId,
|
214592 |
long creditorId,
|
| 214582 |
long limit,
|
214593 |
long limit,
|
| 214583 |
long offset)
|
214594 |
long offset,
|
| - |
|
214595 |
String sort)
|
| 214584 |
{
|
214596 |
{
|
| 214585 |
this();
|
214597 |
this();
|
| 214586 |
this.userId = userId;
|
214598 |
this.userId = userId;
|
| 214587 |
setUserIdIsSet(true);
|
214599 |
setUserIdIsSet(true);
|
| 214588 |
this.creditorId = creditorId;
|
214600 |
this.creditorId = creditorId;
|
| 214589 |
setCreditorIdIsSet(true);
|
214601 |
setCreditorIdIsSet(true);
|
| 214590 |
this.limit = limit;
|
214602 |
this.limit = limit;
|
| 214591 |
setLimitIsSet(true);
|
214603 |
setLimitIsSet(true);
|
| 214592 |
this.offset = offset;
|
214604 |
this.offset = offset;
|
| 214593 |
setOffsetIsSet(true);
|
214605 |
setOffsetIsSet(true);
|
| - |
|
214606 |
this.sort = sort;
|
| 214594 |
}
|
214607 |
}
|
| 214595 |
|
214608 |
|
| 214596 |
/**
|
214609 |
/**
|
| 214597 |
* Performs a deep copy on <i>other</i>.
|
214610 |
* Performs a deep copy on <i>other</i>.
|
| 214598 |
*/
|
214611 |
*/
|
| Line 214601... |
Line 214614... |
| 214601 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
214614 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 214602 |
this.userId = other.userId;
|
214615 |
this.userId = other.userId;
|
| 214603 |
this.creditorId = other.creditorId;
|
214616 |
this.creditorId = other.creditorId;
|
| 214604 |
this.limit = other.limit;
|
214617 |
this.limit = other.limit;
|
| 214605 |
this.offset = other.offset;
|
214618 |
this.offset = other.offset;
|
| - |
|
214619 |
if (other.isSetSort()) {
|
| - |
|
214620 |
this.sort = other.sort;
|
| - |
|
214621 |
}
|
| 214606 |
}
|
214622 |
}
|
| 214607 |
|
214623 |
|
| 214608 |
public getUserSanctionsDetailsAsPerLimit_args deepCopy() {
|
214624 |
public getUserSanctionsDetailsAsPerLimit_args deepCopy() {
|
| 214609 |
return new getUserSanctionsDetailsAsPerLimit_args(this);
|
214625 |
return new getUserSanctionsDetailsAsPerLimit_args(this);
|
| 214610 |
}
|
214626 |
}
|
| Line 214617... |
Line 214633... |
| 214617 |
this.creditorId = 0;
|
214633 |
this.creditorId = 0;
|
| 214618 |
setLimitIsSet(false);
|
214634 |
setLimitIsSet(false);
|
| 214619 |
this.limit = 0;
|
214635 |
this.limit = 0;
|
| 214620 |
setOffsetIsSet(false);
|
214636 |
setOffsetIsSet(false);
|
| 214621 |
this.offset = 0;
|
214637 |
this.offset = 0;
|
| - |
|
214638 |
this.sort = null;
|
| 214622 |
}
|
214639 |
}
|
| 214623 |
|
214640 |
|
| 214624 |
public long getUserId() {
|
214641 |
public long getUserId() {
|
| 214625 |
return this.userId;
|
214642 |
return this.userId;
|
| 214626 |
}
|
214643 |
}
|
| Line 214707... |
Line 214724... |
| 214707 |
|
214724 |
|
| 214708 |
public void setOffsetIsSet(boolean value) {
|
214725 |
public void setOffsetIsSet(boolean value) {
|
| 214709 |
__isset_bit_vector.set(__OFFSET_ISSET_ID, value);
|
214726 |
__isset_bit_vector.set(__OFFSET_ISSET_ID, value);
|
| 214710 |
}
|
214727 |
}
|
| 214711 |
|
214728 |
|
| - |
|
214729 |
public String getSort() {
|
| - |
|
214730 |
return this.sort;
|
| - |
|
214731 |
}
|
| - |
|
214732 |
|
| - |
|
214733 |
public void setSort(String sort) {
|
| - |
|
214734 |
this.sort = sort;
|
| - |
|
214735 |
}
|
| - |
|
214736 |
|
| - |
|
214737 |
public void unsetSort() {
|
| - |
|
214738 |
this.sort = null;
|
| - |
|
214739 |
}
|
| - |
|
214740 |
|
| - |
|
214741 |
/** Returns true if field sort is set (has been assigned a value) and false otherwise */
|
| - |
|
214742 |
public boolean isSetSort() {
|
| - |
|
214743 |
return this.sort != null;
|
| - |
|
214744 |
}
|
| - |
|
214745 |
|
| - |
|
214746 |
public void setSortIsSet(boolean value) {
|
| - |
|
214747 |
if (!value) {
|
| - |
|
214748 |
this.sort = null;
|
| - |
|
214749 |
}
|
| - |
|
214750 |
}
|
| - |
|
214751 |
|
| 214712 |
public void setFieldValue(_Fields field, Object value) {
|
214752 |
public void setFieldValue(_Fields field, Object value) {
|
| 214713 |
switch (field) {
|
214753 |
switch (field) {
|
| 214714 |
case USER_ID:
|
214754 |
case USER_ID:
|
| 214715 |
if (value == null) {
|
214755 |
if (value == null) {
|
| 214716 |
unsetUserId();
|
214756 |
unsetUserId();
|
| Line 214741... |
Line 214781... |
| 214741 |
} else {
|
214781 |
} else {
|
| 214742 |
setOffset((Long)value);
|
214782 |
setOffset((Long)value);
|
| 214743 |
}
|
214783 |
}
|
| 214744 |
break;
|
214784 |
break;
|
| 214745 |
|
214785 |
|
| - |
|
214786 |
case SORT:
|
| - |
|
214787 |
if (value == null) {
|
| - |
|
214788 |
unsetSort();
|
| - |
|
214789 |
} else {
|
| - |
|
214790 |
setSort((String)value);
|
| - |
|
214791 |
}
|
| - |
|
214792 |
break;
|
| - |
|
214793 |
|
| 214746 |
}
|
214794 |
}
|
| 214747 |
}
|
214795 |
}
|
| 214748 |
|
214796 |
|
| 214749 |
public Object getFieldValue(_Fields field) {
|
214797 |
public Object getFieldValue(_Fields field) {
|
| 214750 |
switch (field) {
|
214798 |
switch (field) {
|
| Line 214758... |
Line 214806... |
| 214758 |
return Long.valueOf(getLimit());
|
214806 |
return Long.valueOf(getLimit());
|
| 214759 |
|
214807 |
|
| 214760 |
case OFFSET:
|
214808 |
case OFFSET:
|
| 214761 |
return Long.valueOf(getOffset());
|
214809 |
return Long.valueOf(getOffset());
|
| 214762 |
|
214810 |
|
| - |
|
214811 |
case SORT:
|
| - |
|
214812 |
return getSort();
|
| - |
|
214813 |
|
| 214763 |
}
|
214814 |
}
|
| 214764 |
throw new IllegalStateException();
|
214815 |
throw new IllegalStateException();
|
| 214765 |
}
|
214816 |
}
|
| 214766 |
|
214817 |
|
| 214767 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
214818 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 214777... |
Line 214828... |
| 214777 |
return isSetCreditorId();
|
214828 |
return isSetCreditorId();
|
| 214778 |
case LIMIT:
|
214829 |
case LIMIT:
|
| 214779 |
return isSetLimit();
|
214830 |
return isSetLimit();
|
| 214780 |
case OFFSET:
|
214831 |
case OFFSET:
|
| 214781 |
return isSetOffset();
|
214832 |
return isSetOffset();
|
| - |
|
214833 |
case SORT:
|
| - |
|
214834 |
return isSetSort();
|
| 214782 |
}
|
214835 |
}
|
| 214783 |
throw new IllegalStateException();
|
214836 |
throw new IllegalStateException();
|
| 214784 |
}
|
214837 |
}
|
| 214785 |
|
214838 |
|
| 214786 |
@Override
|
214839 |
@Override
|
| Line 214830... |
Line 214883... |
| 214830 |
return false;
|
214883 |
return false;
|
| 214831 |
if (this.offset != that.offset)
|
214884 |
if (this.offset != that.offset)
|
| 214832 |
return false;
|
214885 |
return false;
|
| 214833 |
}
|
214886 |
}
|
| 214834 |
|
214887 |
|
| - |
|
214888 |
boolean this_present_sort = true && this.isSetSort();
|
| - |
|
214889 |
boolean that_present_sort = true && that.isSetSort();
|
| - |
|
214890 |
if (this_present_sort || that_present_sort) {
|
| - |
|
214891 |
if (!(this_present_sort && that_present_sort))
|
| - |
|
214892 |
return false;
|
| - |
|
214893 |
if (!this.sort.equals(that.sort))
|
| - |
|
214894 |
return false;
|
| - |
|
214895 |
}
|
| - |
|
214896 |
|
| 214835 |
return true;
|
214897 |
return true;
|
| 214836 |
}
|
214898 |
}
|
| 214837 |
|
214899 |
|
| 214838 |
@Override
|
214900 |
@Override
|
| 214839 |
public int hashCode() {
|
214901 |
public int hashCode() {
|
| Line 214886... |
Line 214948... |
| 214886 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset, typedOther.offset);
|
214948 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.offset, typedOther.offset);
|
| 214887 |
if (lastComparison != 0) {
|
214949 |
if (lastComparison != 0) {
|
| 214888 |
return lastComparison;
|
214950 |
return lastComparison;
|
| 214889 |
}
|
214951 |
}
|
| 214890 |
}
|
214952 |
}
|
| - |
|
214953 |
lastComparison = Boolean.valueOf(isSetSort()).compareTo(typedOther.isSetSort());
|
| - |
|
214954 |
if (lastComparison != 0) {
|
| - |
|
214955 |
return lastComparison;
|
| - |
|
214956 |
}
|
| - |
|
214957 |
if (isSetSort()) {
|
| - |
|
214958 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sort, typedOther.sort);
|
| - |
|
214959 |
if (lastComparison != 0) {
|
| - |
|
214960 |
return lastComparison;
|
| - |
|
214961 |
}
|
| - |
|
214962 |
}
|
| 214891 |
return 0;
|
214963 |
return 0;
|
| 214892 |
}
|
214964 |
}
|
| 214893 |
|
214965 |
|
| 214894 |
public _Fields fieldForId(int fieldId) {
|
214966 |
public _Fields fieldForId(int fieldId) {
|
| 214895 |
return _Fields.findByThriftId(fieldId);
|
214967 |
return _Fields.findByThriftId(fieldId);
|
| Line 214935... |
Line 215007... |
| 214935 |
setOffsetIsSet(true);
|
215007 |
setOffsetIsSet(true);
|
| 214936 |
} else {
|
215008 |
} else {
|
| 214937 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
215009 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 214938 |
}
|
215010 |
}
|
| 214939 |
break;
|
215011 |
break;
|
| - |
|
215012 |
case 5: // SORT
|
| - |
|
215013 |
if (field.type == org.apache.thrift.protocol.TType.STRING) {
|
| - |
|
215014 |
this.sort = iprot.readString();
|
| - |
|
215015 |
} else {
|
| - |
|
215016 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
215017 |
}
|
| - |
|
215018 |
break;
|
| 214940 |
default:
|
215019 |
default:
|
| 214941 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
215020 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 214942 |
}
|
215021 |
}
|
| 214943 |
iprot.readFieldEnd();
|
215022 |
iprot.readFieldEnd();
|
| 214944 |
}
|
215023 |
}
|
| Line 214960... |
Line 215039... |
| 214960 |
oprot.writeI64(this.limit);
|
215039 |
oprot.writeI64(this.limit);
|
| 214961 |
oprot.writeFieldEnd();
|
215040 |
oprot.writeFieldEnd();
|
| 214962 |
oprot.writeFieldBegin(OFFSET_FIELD_DESC);
|
215041 |
oprot.writeFieldBegin(OFFSET_FIELD_DESC);
|
| 214963 |
oprot.writeI64(this.offset);
|
215042 |
oprot.writeI64(this.offset);
|
| 214964 |
oprot.writeFieldEnd();
|
215043 |
oprot.writeFieldEnd();
|
| - |
|
215044 |
if (this.sort != null) {
|
| - |
|
215045 |
oprot.writeFieldBegin(SORT_FIELD_DESC);
|
| - |
|
215046 |
oprot.writeString(this.sort);
|
| - |
|
215047 |
oprot.writeFieldEnd();
|
| - |
|
215048 |
}
|
| 214965 |
oprot.writeFieldStop();
|
215049 |
oprot.writeFieldStop();
|
| 214966 |
oprot.writeStructEnd();
|
215050 |
oprot.writeStructEnd();
|
| 214967 |
}
|
215051 |
}
|
| 214968 |
|
215052 |
|
| 214969 |
@Override
|
215053 |
@Override
|
| Line 214984... |
Line 215068... |
| 214984 |
first = false;
|
215068 |
first = false;
|
| 214985 |
if (!first) sb.append(", ");
|
215069 |
if (!first) sb.append(", ");
|
| 214986 |
sb.append("offset:");
|
215070 |
sb.append("offset:");
|
| 214987 |
sb.append(this.offset);
|
215071 |
sb.append(this.offset);
|
| 214988 |
first = false;
|
215072 |
first = false;
|
| - |
|
215073 |
if (!first) sb.append(", ");
|
| - |
|
215074 |
sb.append("sort:");
|
| - |
|
215075 |
if (this.sort == null) {
|
| - |
|
215076 |
sb.append("null");
|
| - |
|
215077 |
} else {
|
| - |
|
215078 |
sb.append(this.sort);
|
| - |
|
215079 |
}
|
| - |
|
215080 |
first = false;
|
| 214989 |
sb.append(")");
|
215081 |
sb.append(")");
|
| 214990 |
return sb.toString();
|
215082 |
return sb.toString();
|
| 214991 |
}
|
215083 |
}
|
| 214992 |
|
215084 |
|
| 214993 |
public void validate() throws org.apache.thrift.TException {
|
215085 |
public void validate() throws org.apache.thrift.TException {
|