| Line 32... |
Line 32... |
| 32 |
|
32 |
|
| 33 |
public List<Transaction> getTransactionsForShoppingCartId(long shoppingCartId) throws TransactionServiceException, org.apache.thrift.TException;
|
33 |
public List<Transaction> getTransactionsForShoppingCartId(long shoppingCartId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 34 |
|
34 |
|
| 35 |
public TransactionStatus getTransactionStatus(long transactionId) throws TransactionServiceException, org.apache.thrift.TException;
|
35 |
public TransactionStatus getTransactionStatus(long transactionId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 36 |
|
36 |
|
| 37 |
public boolean changeTransactionStatus(long transactionId, TransactionStatus status, String description) throws TransactionServiceException, org.apache.thrift.TException;
|
37 |
public boolean changeTransactionStatus(long transactionId, TransactionStatus status, String description, boolean selfPickup) throws TransactionServiceException, org.apache.thrift.TException;
|
| 38 |
|
38 |
|
| 39 |
public boolean enqueueTransactionInfoEmail(long transactionId) throws TransactionServiceException, org.apache.thrift.TException;
|
39 |
public boolean enqueueTransactionInfoEmail(long transactionId) throws TransactionServiceException, org.apache.thrift.TException;
|
| 40 |
|
40 |
|
| 41 |
public List<Order> getAllOrders(List<OrderStatus> statuses, long from_date, long to_date, long warehouse_id) throws TransactionServiceException, org.apache.thrift.TException;
|
41 |
public List<Order> getAllOrders(List<OrderStatus> statuses, long from_date, long to_date, long warehouse_id) throws TransactionServiceException, org.apache.thrift.TException;
|
| 42 |
|
42 |
|
| Line 795... |
Line 795... |
| 795 |
|
795 |
|
| 796 |
public void getTransactionsForShoppingCartId(long shoppingCartId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionsForShoppingCartId_call> resultHandler) throws org.apache.thrift.TException;
|
796 |
public void getTransactionsForShoppingCartId(long shoppingCartId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionsForShoppingCartId_call> resultHandler) throws org.apache.thrift.TException;
|
| 797 |
|
797 |
|
| 798 |
public void getTransactionStatus(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
|
798 |
public void getTransactionStatus(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 799 |
|
799 |
|
| 800 |
public void changeTransactionStatus(long transactionId, TransactionStatus status, String description, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
|
800 |
public void changeTransactionStatus(long transactionId, TransactionStatus status, String description, boolean selfPickup, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.changeTransactionStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 801 |
|
801 |
|
| 802 |
public void enqueueTransactionInfoEmail(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.enqueueTransactionInfoEmail_call> resultHandler) throws org.apache.thrift.TException;
|
802 |
public void enqueueTransactionInfoEmail(long transactionId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.enqueueTransactionInfoEmail_call> resultHandler) throws org.apache.thrift.TException;
|
| 803 |
|
803 |
|
| 804 |
public void getAllOrders(List<OrderStatus> statuses, long from_date, long to_date, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllOrders_call> resultHandler) throws org.apache.thrift.TException;
|
804 |
public void getAllOrders(List<OrderStatus> statuses, long from_date, long to_date, long warehouse_id, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllOrders_call> resultHandler) throws org.apache.thrift.TException;
|
| 805 |
|
805 |
|
| Line 1166... |
Line 1166... |
| 1166 |
throw result.ex;
|
1166 |
throw result.ex;
|
| 1167 |
}
|
1167 |
}
|
| 1168 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTransactionStatus failed: unknown result");
|
1168 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getTransactionStatus failed: unknown result");
|
| 1169 |
}
|
1169 |
}
|
| 1170 |
|
1170 |
|
| 1171 |
public boolean changeTransactionStatus(long transactionId, TransactionStatus status, String description) throws TransactionServiceException, org.apache.thrift.TException
|
1171 |
public boolean changeTransactionStatus(long transactionId, TransactionStatus status, String description, boolean selfPickup) throws TransactionServiceException, org.apache.thrift.TException
|
| 1172 |
{
|
1172 |
{
|
| 1173 |
send_changeTransactionStatus(transactionId, status, description);
|
1173 |
send_changeTransactionStatus(transactionId, status, description, selfPickup);
|
| 1174 |
return recv_changeTransactionStatus();
|
1174 |
return recv_changeTransactionStatus();
|
| 1175 |
}
|
1175 |
}
|
| 1176 |
|
1176 |
|
| 1177 |
public void send_changeTransactionStatus(long transactionId, TransactionStatus status, String description) throws org.apache.thrift.TException
|
1177 |
public void send_changeTransactionStatus(long transactionId, TransactionStatus status, String description, boolean selfPickup) throws org.apache.thrift.TException
|
| 1178 |
{
|
1178 |
{
|
| 1179 |
changeTransactionStatus_args args = new changeTransactionStatus_args();
|
1179 |
changeTransactionStatus_args args = new changeTransactionStatus_args();
|
| 1180 |
args.setTransactionId(transactionId);
|
1180 |
args.setTransactionId(transactionId);
|
| 1181 |
args.setStatus(status);
|
1181 |
args.setStatus(status);
|
| 1182 |
args.setDescription(description);
|
1182 |
args.setDescription(description);
|
| - |
|
1183 |
args.setSelfPickup(selfPickup);
|
| 1183 |
sendBase("changeTransactionStatus", args);
|
1184 |
sendBase("changeTransactionStatus", args);
|
| 1184 |
}
|
1185 |
}
|
| 1185 |
|
1186 |
|
| 1186 |
public boolean recv_changeTransactionStatus() throws TransactionServiceException, org.apache.thrift.TException
|
1187 |
public boolean recv_changeTransactionStatus() throws TransactionServiceException, org.apache.thrift.TException
|
| 1187 |
{
|
1188 |
{
|
| Line 4103... |
Line 4104... |
| 4103 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4104 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4104 |
return (new Client(prot)).recv_getTransactionStatus();
|
4105 |
return (new Client(prot)).recv_getTransactionStatus();
|
| 4105 |
}
|
4106 |
}
|
| 4106 |
}
|
4107 |
}
|
| 4107 |
|
4108 |
|
| 4108 |
public void changeTransactionStatus(long transactionId, TransactionStatus status, String description, org.apache.thrift.async.AsyncMethodCallback<changeTransactionStatus_call> resultHandler) throws org.apache.thrift.TException {
|
4109 |
public void changeTransactionStatus(long transactionId, TransactionStatus status, String description, boolean selfPickup, org.apache.thrift.async.AsyncMethodCallback<changeTransactionStatus_call> resultHandler) throws org.apache.thrift.TException {
|
| 4109 |
checkReady();
|
4110 |
checkReady();
|
| 4110 |
changeTransactionStatus_call method_call = new changeTransactionStatus_call(transactionId, status, description, resultHandler, this, ___protocolFactory, ___transport);
|
4111 |
changeTransactionStatus_call method_call = new changeTransactionStatus_call(transactionId, status, description, selfPickup, resultHandler, this, ___protocolFactory, ___transport);
|
| 4111 |
this.___currentMethod = method_call;
|
4112 |
this.___currentMethod = method_call;
|
| 4112 |
___manager.call(method_call);
|
4113 |
___manager.call(method_call);
|
| 4113 |
}
|
4114 |
}
|
| 4114 |
|
4115 |
|
| 4115 |
public static class changeTransactionStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4116 |
public static class changeTransactionStatus_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4116 |
private long transactionId;
|
4117 |
private long transactionId;
|
| 4117 |
private TransactionStatus status;
|
4118 |
private TransactionStatus status;
|
| 4118 |
private String description;
|
4119 |
private String description;
|
| - |
|
4120 |
private boolean selfPickup;
|
| 4119 |
public changeTransactionStatus_call(long transactionId, TransactionStatus status, String description, org.apache.thrift.async.AsyncMethodCallback<changeTransactionStatus_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 {
|
4121 |
public changeTransactionStatus_call(long transactionId, TransactionStatus status, String description, boolean selfPickup, org.apache.thrift.async.AsyncMethodCallback<changeTransactionStatus_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 {
|
| 4120 |
super(client, protocolFactory, transport, resultHandler, false);
|
4122 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4121 |
this.transactionId = transactionId;
|
4123 |
this.transactionId = transactionId;
|
| 4122 |
this.status = status;
|
4124 |
this.status = status;
|
| 4123 |
this.description = description;
|
4125 |
this.description = description;
|
| - |
|
4126 |
this.selfPickup = selfPickup;
|
| 4124 |
}
|
4127 |
}
|
| 4125 |
|
4128 |
|
| 4126 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4129 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4127 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeTransactionStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4130 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("changeTransactionStatus", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4128 |
changeTransactionStatus_args args = new changeTransactionStatus_args();
|
4131 |
changeTransactionStatus_args args = new changeTransactionStatus_args();
|
| 4129 |
args.setTransactionId(transactionId);
|
4132 |
args.setTransactionId(transactionId);
|
| 4130 |
args.setStatus(status);
|
4133 |
args.setStatus(status);
|
| 4131 |
args.setDescription(description);
|
4134 |
args.setDescription(description);
|
| - |
|
4135 |
args.setSelfPickup(selfPickup);
|
| 4132 |
args.write(prot);
|
4136 |
args.write(prot);
|
| 4133 |
prot.writeMessageEnd();
|
4137 |
prot.writeMessageEnd();
|
| 4134 |
}
|
4138 |
}
|
| 4135 |
|
4139 |
|
| 4136 |
public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
4140 |
public boolean getResult() throws TransactionServiceException, org.apache.thrift.TException {
|
| Line 8122... |
Line 8126... |
| 8122 |
}
|
8126 |
}
|
| 8123 |
|
8127 |
|
| 8124 |
protected changeTransactionStatus_result getResult(I iface, changeTransactionStatus_args args) throws org.apache.thrift.TException {
|
8128 |
protected changeTransactionStatus_result getResult(I iface, changeTransactionStatus_args args) throws org.apache.thrift.TException {
|
| 8125 |
changeTransactionStatus_result result = new changeTransactionStatus_result();
|
8129 |
changeTransactionStatus_result result = new changeTransactionStatus_result();
|
| 8126 |
try {
|
8130 |
try {
|
| 8127 |
result.success = iface.changeTransactionStatus(args.transactionId, args.status, args.description);
|
8131 |
result.success = iface.changeTransactionStatus(args.transactionId, args.status, args.description, args.selfPickup);
|
| 8128 |
result.setSuccessIsSet(true);
|
8132 |
result.setSuccessIsSet(true);
|
| 8129 |
} catch (TransactionServiceException ex) {
|
8133 |
} catch (TransactionServiceException ex) {
|
| 8130 |
result.ex = ex;
|
8134 |
result.ex = ex;
|
| 8131 |
}
|
8135 |
}
|
| 8132 |
return result;
|
8136 |
return result;
|
| Line 13941... |
Line 13945... |
| 13941 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeTransactionStatus_args");
|
13945 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("changeTransactionStatus_args");
|
| 13942 |
|
13946 |
|
| 13943 |
private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
|
13947 |
private static final org.apache.thrift.protocol.TField TRANSACTION_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("transactionId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 13944 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)2);
|
13948 |
private static final org.apache.thrift.protocol.TField STATUS_FIELD_DESC = new org.apache.thrift.protocol.TField("status", org.apache.thrift.protocol.TType.I32, (short)2);
|
| 13945 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)3);
|
13949 |
private static final org.apache.thrift.protocol.TField DESCRIPTION_FIELD_DESC = new org.apache.thrift.protocol.TField("description", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| - |
|
13950 |
private static final org.apache.thrift.protocol.TField SELF_PICKUP_FIELD_DESC = new org.apache.thrift.protocol.TField("selfPickup", org.apache.thrift.protocol.TType.BOOL, (short)4);
|
| 13946 |
|
13951 |
|
| 13947 |
private long transactionId; // required
|
13952 |
private long transactionId; // required
|
| 13948 |
private TransactionStatus status; // required
|
13953 |
private TransactionStatus status; // required
|
| 13949 |
private String description; // required
|
13954 |
private String description; // required
|
| - |
|
13955 |
private boolean selfPickup; // required
|
| 13950 |
|
13956 |
|
| 13951 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
13957 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 13952 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
13958 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 13953 |
TRANSACTION_ID((short)1, "transactionId"),
|
13959 |
TRANSACTION_ID((short)1, "transactionId"),
|
| 13954 |
/**
|
13960 |
/**
|
| 13955 |
*
|
13961 |
*
|
| 13956 |
* @see TransactionStatus
|
13962 |
* @see TransactionStatus
|
| 13957 |
*/
|
13963 |
*/
|
| 13958 |
STATUS((short)2, "status"),
|
13964 |
STATUS((short)2, "status"),
|
| 13959 |
DESCRIPTION((short)3, "description");
|
13965 |
DESCRIPTION((short)3, "description"),
|
| - |
|
13966 |
SELF_PICKUP((short)4, "selfPickup");
|
| 13960 |
|
13967 |
|
| 13961 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
13968 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 13962 |
|
13969 |
|
| 13963 |
static {
|
13970 |
static {
|
| 13964 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
13971 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 13975... |
Line 13982... |
| 13975 |
return TRANSACTION_ID;
|
13982 |
return TRANSACTION_ID;
|
| 13976 |
case 2: // STATUS
|
13983 |
case 2: // STATUS
|
| 13977 |
return STATUS;
|
13984 |
return STATUS;
|
| 13978 |
case 3: // DESCRIPTION
|
13985 |
case 3: // DESCRIPTION
|
| 13979 |
return DESCRIPTION;
|
13986 |
return DESCRIPTION;
|
| - |
|
13987 |
case 4: // SELF_PICKUP
|
| - |
|
13988 |
return SELF_PICKUP;
|
| 13980 |
default:
|
13989 |
default:
|
| 13981 |
return null;
|
13990 |
return null;
|
| 13982 |
}
|
13991 |
}
|
| 13983 |
}
|
13992 |
}
|
| 13984 |
|
13993 |
|
| Line 14016... |
Line 14025... |
| 14016 |
}
|
14025 |
}
|
| 14017 |
}
|
14026 |
}
|
| 14018 |
|
14027 |
|
| 14019 |
// isset id assignments
|
14028 |
// isset id assignments
|
| 14020 |
private static final int __TRANSACTIONID_ISSET_ID = 0;
|
14029 |
private static final int __TRANSACTIONID_ISSET_ID = 0;
|
| - |
|
14030 |
private static final int __SELFPICKUP_ISSET_ID = 1;
|
| 14021 |
private BitSet __isset_bit_vector = new BitSet(1);
|
14031 |
private BitSet __isset_bit_vector = new BitSet(2);
|
| 14022 |
|
14032 |
|
| 14023 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
14033 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 14024 |
static {
|
14034 |
static {
|
| 14025 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
14035 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 14026 |
tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
14036 |
tmpMap.put(_Fields.TRANSACTION_ID, new org.apache.thrift.meta_data.FieldMetaData("transactionId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 14027 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
14037 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| 14028 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
14038 |
tmpMap.put(_Fields.STATUS, new org.apache.thrift.meta_data.FieldMetaData("status", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 14029 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TransactionStatus.class)));
|
14039 |
new org.apache.thrift.meta_data.EnumMetaData(org.apache.thrift.protocol.TType.ENUM, TransactionStatus.class)));
|
| 14030 |
tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
14040 |
tmpMap.put(_Fields.DESCRIPTION, new org.apache.thrift.meta_data.FieldMetaData("description", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 14031 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
14041 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
14042 |
tmpMap.put(_Fields.SELF_PICKUP, new org.apache.thrift.meta_data.FieldMetaData("selfPickup", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
14043 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 14032 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
14044 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 14033 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeTransactionStatus_args.class, metaDataMap);
|
14045 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(changeTransactionStatus_args.class, metaDataMap);
|
| 14034 |
}
|
14046 |
}
|
| 14035 |
|
14047 |
|
| 14036 |
public changeTransactionStatus_args() {
|
14048 |
public changeTransactionStatus_args() {
|
| 14037 |
}
|
14049 |
}
|
| 14038 |
|
14050 |
|
| 14039 |
public changeTransactionStatus_args(
|
14051 |
public changeTransactionStatus_args(
|
| 14040 |
long transactionId,
|
14052 |
long transactionId,
|
| 14041 |
TransactionStatus status,
|
14053 |
TransactionStatus status,
|
| 14042 |
String description)
|
14054 |
String description,
|
| - |
|
14055 |
boolean selfPickup)
|
| 14043 |
{
|
14056 |
{
|
| 14044 |
this();
|
14057 |
this();
|
| 14045 |
this.transactionId = transactionId;
|
14058 |
this.transactionId = transactionId;
|
| 14046 |
setTransactionIdIsSet(true);
|
14059 |
setTransactionIdIsSet(true);
|
| 14047 |
this.status = status;
|
14060 |
this.status = status;
|
| 14048 |
this.description = description;
|
14061 |
this.description = description;
|
| - |
|
14062 |
this.selfPickup = selfPickup;
|
| - |
|
14063 |
setSelfPickupIsSet(true);
|
| 14049 |
}
|
14064 |
}
|
| 14050 |
|
14065 |
|
| 14051 |
/**
|
14066 |
/**
|
| 14052 |
* Performs a deep copy on <i>other</i>.
|
14067 |
* Performs a deep copy on <i>other</i>.
|
| 14053 |
*/
|
14068 |
*/
|
| Line 14059... |
Line 14074... |
| 14059 |
this.status = other.status;
|
14074 |
this.status = other.status;
|
| 14060 |
}
|
14075 |
}
|
| 14061 |
if (other.isSetDescription()) {
|
14076 |
if (other.isSetDescription()) {
|
| 14062 |
this.description = other.description;
|
14077 |
this.description = other.description;
|
| 14063 |
}
|
14078 |
}
|
| - |
|
14079 |
this.selfPickup = other.selfPickup;
|
| 14064 |
}
|
14080 |
}
|
| 14065 |
|
14081 |
|
| 14066 |
public changeTransactionStatus_args deepCopy() {
|
14082 |
public changeTransactionStatus_args deepCopy() {
|
| 14067 |
return new changeTransactionStatus_args(this);
|
14083 |
return new changeTransactionStatus_args(this);
|
| 14068 |
}
|
14084 |
}
|
| Line 14071... |
Line 14087... |
| 14071 |
public void clear() {
|
14087 |
public void clear() {
|
| 14072 |
setTransactionIdIsSet(false);
|
14088 |
setTransactionIdIsSet(false);
|
| 14073 |
this.transactionId = 0;
|
14089 |
this.transactionId = 0;
|
| 14074 |
this.status = null;
|
14090 |
this.status = null;
|
| 14075 |
this.description = null;
|
14091 |
this.description = null;
|
| - |
|
14092 |
setSelfPickupIsSet(false);
|
| - |
|
14093 |
this.selfPickup = false;
|
| 14076 |
}
|
14094 |
}
|
| 14077 |
|
14095 |
|
| 14078 |
public long getTransactionId() {
|
14096 |
public long getTransactionId() {
|
| 14079 |
return this.transactionId;
|
14097 |
return this.transactionId;
|
| 14080 |
}
|
14098 |
}
|
| Line 14149... |
Line 14167... |
| 14149 |
if (!value) {
|
14167 |
if (!value) {
|
| 14150 |
this.description = null;
|
14168 |
this.description = null;
|
| 14151 |
}
|
14169 |
}
|
| 14152 |
}
|
14170 |
}
|
| 14153 |
|
14171 |
|
| - |
|
14172 |
public boolean isSelfPickup() {
|
| - |
|
14173 |
return this.selfPickup;
|
| - |
|
14174 |
}
|
| - |
|
14175 |
|
| - |
|
14176 |
public void setSelfPickup(boolean selfPickup) {
|
| - |
|
14177 |
this.selfPickup = selfPickup;
|
| - |
|
14178 |
setSelfPickupIsSet(true);
|
| - |
|
14179 |
}
|
| - |
|
14180 |
|
| - |
|
14181 |
public void unsetSelfPickup() {
|
| - |
|
14182 |
__isset_bit_vector.clear(__SELFPICKUP_ISSET_ID);
|
| - |
|
14183 |
}
|
| - |
|
14184 |
|
| - |
|
14185 |
/** Returns true if field selfPickup is set (has been assigned a value) and false otherwise */
|
| - |
|
14186 |
public boolean isSetSelfPickup() {
|
| - |
|
14187 |
return __isset_bit_vector.get(__SELFPICKUP_ISSET_ID);
|
| - |
|
14188 |
}
|
| - |
|
14189 |
|
| - |
|
14190 |
public void setSelfPickupIsSet(boolean value) {
|
| - |
|
14191 |
__isset_bit_vector.set(__SELFPICKUP_ISSET_ID, value);
|
| - |
|
14192 |
}
|
| - |
|
14193 |
|
| 14154 |
public void setFieldValue(_Fields field, Object value) {
|
14194 |
public void setFieldValue(_Fields field, Object value) {
|
| 14155 |
switch (field) {
|
14195 |
switch (field) {
|
| 14156 |
case TRANSACTION_ID:
|
14196 |
case TRANSACTION_ID:
|
| 14157 |
if (value == null) {
|
14197 |
if (value == null) {
|
| 14158 |
unsetTransactionId();
|
14198 |
unsetTransactionId();
|
| Line 14175... |
Line 14215... |
| 14175 |
} else {
|
14215 |
} else {
|
| 14176 |
setDescription((String)value);
|
14216 |
setDescription((String)value);
|
| 14177 |
}
|
14217 |
}
|
| 14178 |
break;
|
14218 |
break;
|
| 14179 |
|
14219 |
|
| - |
|
14220 |
case SELF_PICKUP:
|
| - |
|
14221 |
if (value == null) {
|
| - |
|
14222 |
unsetSelfPickup();
|
| - |
|
14223 |
} else {
|
| - |
|
14224 |
setSelfPickup((Boolean)value);
|
| - |
|
14225 |
}
|
| - |
|
14226 |
break;
|
| - |
|
14227 |
|
| 14180 |
}
|
14228 |
}
|
| 14181 |
}
|
14229 |
}
|
| 14182 |
|
14230 |
|
| 14183 |
public Object getFieldValue(_Fields field) {
|
14231 |
public Object getFieldValue(_Fields field) {
|
| 14184 |
switch (field) {
|
14232 |
switch (field) {
|
| Line 14189... |
Line 14237... |
| 14189 |
return getStatus();
|
14237 |
return getStatus();
|
| 14190 |
|
14238 |
|
| 14191 |
case DESCRIPTION:
|
14239 |
case DESCRIPTION:
|
| 14192 |
return getDescription();
|
14240 |
return getDescription();
|
| 14193 |
|
14241 |
|
| - |
|
14242 |
case SELF_PICKUP:
|
| - |
|
14243 |
return Boolean.valueOf(isSelfPickup());
|
| - |
|
14244 |
|
| 14194 |
}
|
14245 |
}
|
| 14195 |
throw new IllegalStateException();
|
14246 |
throw new IllegalStateException();
|
| 14196 |
}
|
14247 |
}
|
| 14197 |
|
14248 |
|
| 14198 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
14249 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 14206... |
Line 14257... |
| 14206 |
return isSetTransactionId();
|
14257 |
return isSetTransactionId();
|
| 14207 |
case STATUS:
|
14258 |
case STATUS:
|
| 14208 |
return isSetStatus();
|
14259 |
return isSetStatus();
|
| 14209 |
case DESCRIPTION:
|
14260 |
case DESCRIPTION:
|
| 14210 |
return isSetDescription();
|
14261 |
return isSetDescription();
|
| - |
|
14262 |
case SELF_PICKUP:
|
| - |
|
14263 |
return isSetSelfPickup();
|
| 14211 |
}
|
14264 |
}
|
| 14212 |
throw new IllegalStateException();
|
14265 |
throw new IllegalStateException();
|
| 14213 |
}
|
14266 |
}
|
| 14214 |
|
14267 |
|
| 14215 |
@Override
|
14268 |
@Override
|
| Line 14250... |
Line 14303... |
| 14250 |
return false;
|
14303 |
return false;
|
| 14251 |
if (!this.description.equals(that.description))
|
14304 |
if (!this.description.equals(that.description))
|
| 14252 |
return false;
|
14305 |
return false;
|
| 14253 |
}
|
14306 |
}
|
| 14254 |
|
14307 |
|
| - |
|
14308 |
boolean this_present_selfPickup = true;
|
| - |
|
14309 |
boolean that_present_selfPickup = true;
|
| - |
|
14310 |
if (this_present_selfPickup || that_present_selfPickup) {
|
| - |
|
14311 |
if (!(this_present_selfPickup && that_present_selfPickup))
|
| - |
|
14312 |
return false;
|
| - |
|
14313 |
if (this.selfPickup != that.selfPickup)
|
| - |
|
14314 |
return false;
|
| - |
|
14315 |
}
|
| - |
|
14316 |
|
| 14255 |
return true;
|
14317 |
return true;
|
| 14256 |
}
|
14318 |
}
|
| 14257 |
|
14319 |
|
| 14258 |
@Override
|
14320 |
@Override
|
| 14259 |
public int hashCode() {
|
14321 |
public int hashCode() {
|
| Line 14296... |
Line 14358... |
| 14296 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
|
14358 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.description, typedOther.description);
|
| 14297 |
if (lastComparison != 0) {
|
14359 |
if (lastComparison != 0) {
|
| 14298 |
return lastComparison;
|
14360 |
return lastComparison;
|
| 14299 |
}
|
14361 |
}
|
| 14300 |
}
|
14362 |
}
|
| - |
|
14363 |
lastComparison = Boolean.valueOf(isSetSelfPickup()).compareTo(typedOther.isSetSelfPickup());
|
| - |
|
14364 |
if (lastComparison != 0) {
|
| - |
|
14365 |
return lastComparison;
|
| - |
|
14366 |
}
|
| - |
|
14367 |
if (isSetSelfPickup()) {
|
| - |
|
14368 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.selfPickup, typedOther.selfPickup);
|
| - |
|
14369 |
if (lastComparison != 0) {
|
| - |
|
14370 |
return lastComparison;
|
| - |
|
14371 |
}
|
| - |
|
14372 |
}
|
| 14301 |
return 0;
|
14373 |
return 0;
|
| 14302 |
}
|
14374 |
}
|
| 14303 |
|
14375 |
|
| 14304 |
public _Fields fieldForId(int fieldId) {
|
14376 |
public _Fields fieldForId(int fieldId) {
|
| 14305 |
return _Fields.findByThriftId(fieldId);
|
14377 |
return _Fields.findByThriftId(fieldId);
|
| Line 14335... |
Line 14407... |
| 14335 |
this.description = iprot.readString();
|
14407 |
this.description = iprot.readString();
|
| 14336 |
} else {
|
14408 |
} else {
|
| 14337 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
14409 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 14338 |
}
|
14410 |
}
|
| 14339 |
break;
|
14411 |
break;
|
| - |
|
14412 |
case 4: // SELF_PICKUP
|
| - |
|
14413 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
14414 |
this.selfPickup = iprot.readBool();
|
| - |
|
14415 |
setSelfPickupIsSet(true);
|
| - |
|
14416 |
} else {
|
| - |
|
14417 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
14418 |
}
|
| - |
|
14419 |
break;
|
| 14340 |
default:
|
14420 |
default:
|
| 14341 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
14421 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 14342 |
}
|
14422 |
}
|
| 14343 |
iprot.readFieldEnd();
|
14423 |
iprot.readFieldEnd();
|
| 14344 |
}
|
14424 |
}
|
| Line 14361... |
Line 14441... |
| 14361 |
if (this.description != null) {
|
14441 |
if (this.description != null) {
|
| 14362 |
oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
|
14442 |
oprot.writeFieldBegin(DESCRIPTION_FIELD_DESC);
|
| 14363 |
oprot.writeString(this.description);
|
14443 |
oprot.writeString(this.description);
|
| 14364 |
oprot.writeFieldEnd();
|
14444 |
oprot.writeFieldEnd();
|
| 14365 |
}
|
14445 |
}
|
| - |
|
14446 |
oprot.writeFieldBegin(SELF_PICKUP_FIELD_DESC);
|
| - |
|
14447 |
oprot.writeBool(this.selfPickup);
|
| - |
|
14448 |
oprot.writeFieldEnd();
|
| 14366 |
oprot.writeFieldStop();
|
14449 |
oprot.writeFieldStop();
|
| 14367 |
oprot.writeStructEnd();
|
14450 |
oprot.writeStructEnd();
|
| 14368 |
}
|
14451 |
}
|
| 14369 |
|
14452 |
|
| 14370 |
@Override
|
14453 |
@Override
|
| Line 14389... |
Line 14472... |
| 14389 |
sb.append("null");
|
14472 |
sb.append("null");
|
| 14390 |
} else {
|
14473 |
} else {
|
| 14391 |
sb.append(this.description);
|
14474 |
sb.append(this.description);
|
| 14392 |
}
|
14475 |
}
|
| 14393 |
first = false;
|
14476 |
first = false;
|
| - |
|
14477 |
if (!first) sb.append(", ");
|
| - |
|
14478 |
sb.append("selfPickup:");
|
| - |
|
14479 |
sb.append(this.selfPickup);
|
| - |
|
14480 |
first = false;
|
| 14394 |
sb.append(")");
|
14481 |
sb.append(")");
|
| 14395 |
return sb.toString();
|
14482 |
return sb.toString();
|
| 14396 |
}
|
14483 |
}
|
| 14397 |
|
14484 |
|
| 14398 |
public void validate() throws org.apache.thrift.TException {
|
14485 |
public void validate() throws org.apache.thrift.TException {
|