| Line 312... |
Line 312... |
| 312 |
|
312 |
|
| 313 |
public ItemStockPurchaseParams getItemStockPurchaseParams(long itemId) throws org.apache.thrift.TException;
|
313 |
public ItemStockPurchaseParams getItemStockPurchaseParams(long itemId) throws org.apache.thrift.TException;
|
| 314 |
|
314 |
|
| 315 |
public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date) throws org.apache.thrift.TException;
|
315 |
public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date) throws org.apache.thrift.TException;
|
| 316 |
|
316 |
|
| 317 |
public List<OOSStatus> getOosStatusesForXDaysForItem(long itemId, int days) throws org.apache.thrift.TException;
|
317 |
public List<OOSStatus> getOosStatusesForXDaysForItem(long itemId, int sourceId, int days) throws org.apache.thrift.TException;
|
| 318 |
|
318 |
|
| 319 |
public List<ItemStockPurchaseParams> getNonZeroItemStockPurchaseParams() throws org.apache.thrift.TException;
|
319 |
public List<ItemStockPurchaseParams> getNonZeroItemStockPurchaseParams() throws org.apache.thrift.TException;
|
| 320 |
|
320 |
|
| 321 |
/**
|
321 |
/**
|
| 322 |
* Returns a list of inventory stock for items for which there are pending orders or have billable inventory.
|
322 |
* Returns a list of inventory stock for items for which there are pending orders or have billable inventory.
|
| Line 457... |
Line 457... |
| 457 |
|
457 |
|
| 458 |
public void getItemStockPurchaseParams(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException;
|
458 |
public void getItemStockPurchaseParams(long itemId, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException;
|
| 459 |
|
459 |
|
| 460 |
public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOosStatusForItem_call> resultHandler) throws org.apache.thrift.TException;
|
460 |
public void addOosStatusForItem(Map<Long,Boolean> oosStatusMap, long date, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.addOosStatusForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 461 |
|
461 |
|
| 462 |
public void getOosStatusesForXDaysForItem(long itemId, int days, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOosStatusesForXDaysForItem_call> resultHandler) throws org.apache.thrift.TException;
|
462 |
public void getOosStatusesForXDaysForItem(long itemId, int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getOosStatusesForXDaysForItem_call> resultHandler) throws org.apache.thrift.TException;
|
| 463 |
|
463 |
|
| 464 |
public void getNonZeroItemStockPurchaseParams(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNonZeroItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException;
|
464 |
public void getNonZeroItemStockPurchaseParams(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getNonZeroItemStockPurchaseParams_call> resultHandler) throws org.apache.thrift.TException;
|
| 465 |
|
465 |
|
| 466 |
public void getBillableInventoryAndPendingOrders(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillableInventoryAndPendingOrders_call> resultHandler) throws org.apache.thrift.TException;
|
466 |
public void getBillableInventoryAndPendingOrders(org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getBillableInventoryAndPendingOrders_call> resultHandler) throws org.apache.thrift.TException;
|
| 467 |
|
467 |
|
| Line 1689... |
Line 1689... |
| 1689 |
addOosStatusForItem_result result = new addOosStatusForItem_result();
|
1689 |
addOosStatusForItem_result result = new addOosStatusForItem_result();
|
| 1690 |
receiveBase(result, "addOosStatusForItem");
|
1690 |
receiveBase(result, "addOosStatusForItem");
|
| 1691 |
return;
|
1691 |
return;
|
| 1692 |
}
|
1692 |
}
|
| 1693 |
|
1693 |
|
| 1694 |
public List<OOSStatus> getOosStatusesForXDaysForItem(long itemId, int days) throws org.apache.thrift.TException
|
1694 |
public List<OOSStatus> getOosStatusesForXDaysForItem(long itemId, int sourceId, int days) throws org.apache.thrift.TException
|
| 1695 |
{
|
1695 |
{
|
| 1696 |
send_getOosStatusesForXDaysForItem(itemId, days);
|
1696 |
send_getOosStatusesForXDaysForItem(itemId, sourceId, days);
|
| 1697 |
return recv_getOosStatusesForXDaysForItem();
|
1697 |
return recv_getOosStatusesForXDaysForItem();
|
| 1698 |
}
|
1698 |
}
|
| 1699 |
|
1699 |
|
| 1700 |
public void send_getOosStatusesForXDaysForItem(long itemId, int days) throws org.apache.thrift.TException
|
1700 |
public void send_getOosStatusesForXDaysForItem(long itemId, int sourceId, int days) throws org.apache.thrift.TException
|
| 1701 |
{
|
1701 |
{
|
| 1702 |
getOosStatusesForXDaysForItem_args args = new getOosStatusesForXDaysForItem_args();
|
1702 |
getOosStatusesForXDaysForItem_args args = new getOosStatusesForXDaysForItem_args();
|
| 1703 |
args.setItemId(itemId);
|
1703 |
args.setItemId(itemId);
|
| - |
|
1704 |
args.setSourceId(sourceId);
|
| 1704 |
args.setDays(days);
|
1705 |
args.setDays(days);
|
| 1705 |
sendBase("getOosStatusesForXDaysForItem", args);
|
1706 |
sendBase("getOosStatusesForXDaysForItem", args);
|
| 1706 |
}
|
1707 |
}
|
| 1707 |
|
1708 |
|
| 1708 |
public List<OOSStatus> recv_getOosStatusesForXDaysForItem() throws org.apache.thrift.TException
|
1709 |
public List<OOSStatus> recv_getOosStatusesForXDaysForItem() throws org.apache.thrift.TException
|
| Line 3832... |
Line 3833... |
| 3832 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
3833 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 3833 |
(new Client(prot)).recv_addOosStatusForItem();
|
3834 |
(new Client(prot)).recv_addOosStatusForItem();
|
| 3834 |
}
|
3835 |
}
|
| 3835 |
}
|
3836 |
}
|
| 3836 |
|
3837 |
|
| 3837 |
public void getOosStatusesForXDaysForItem(long itemId, int days, org.apache.thrift.async.AsyncMethodCallback<getOosStatusesForXDaysForItem_call> resultHandler) throws org.apache.thrift.TException {
|
3838 |
public void getOosStatusesForXDaysForItem(long itemId, int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<getOosStatusesForXDaysForItem_call> resultHandler) throws org.apache.thrift.TException {
|
| 3838 |
checkReady();
|
3839 |
checkReady();
|
| 3839 |
getOosStatusesForXDaysForItem_call method_call = new getOosStatusesForXDaysForItem_call(itemId, days, resultHandler, this, ___protocolFactory, ___transport);
|
3840 |
getOosStatusesForXDaysForItem_call method_call = new getOosStatusesForXDaysForItem_call(itemId, sourceId, days, resultHandler, this, ___protocolFactory, ___transport);
|
| 3840 |
this.___currentMethod = method_call;
|
3841 |
this.___currentMethod = method_call;
|
| 3841 |
___manager.call(method_call);
|
3842 |
___manager.call(method_call);
|
| 3842 |
}
|
3843 |
}
|
| 3843 |
|
3844 |
|
| 3844 |
public static class getOosStatusesForXDaysForItem_call extends org.apache.thrift.async.TAsyncMethodCall {
|
3845 |
public static class getOosStatusesForXDaysForItem_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 3845 |
private long itemId;
|
3846 |
private long itemId;
|
| - |
|
3847 |
private int sourceId;
|
| 3846 |
private int days;
|
3848 |
private int days;
|
| 3847 |
public getOosStatusesForXDaysForItem_call(long itemId, int days, org.apache.thrift.async.AsyncMethodCallback<getOosStatusesForXDaysForItem_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 {
|
3849 |
public getOosStatusesForXDaysForItem_call(long itemId, int sourceId, int days, org.apache.thrift.async.AsyncMethodCallback<getOosStatusesForXDaysForItem_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 {
|
| 3848 |
super(client, protocolFactory, transport, resultHandler, false);
|
3850 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 3849 |
this.itemId = itemId;
|
3851 |
this.itemId = itemId;
|
| - |
|
3852 |
this.sourceId = sourceId;
|
| 3850 |
this.days = days;
|
3853 |
this.days = days;
|
| 3851 |
}
|
3854 |
}
|
| 3852 |
|
3855 |
|
| 3853 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
3856 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 3854 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOosStatusesForXDaysForItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
3857 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("getOosStatusesForXDaysForItem", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 3855 |
getOosStatusesForXDaysForItem_args args = new getOosStatusesForXDaysForItem_args();
|
3858 |
getOosStatusesForXDaysForItem_args args = new getOosStatusesForXDaysForItem_args();
|
| 3856 |
args.setItemId(itemId);
|
3859 |
args.setItemId(itemId);
|
| - |
|
3860 |
args.setSourceId(sourceId);
|
| 3857 |
args.setDays(days);
|
3861 |
args.setDays(days);
|
| 3858 |
args.write(prot);
|
3862 |
args.write(prot);
|
| 3859 |
prot.writeMessageEnd();
|
3863 |
prot.writeMessageEnd();
|
| 3860 |
}
|
3864 |
}
|
| 3861 |
|
3865 |
|
| Line 5483... |
Line 5487... |
| 5483 |
return new getOosStatusesForXDaysForItem_args();
|
5487 |
return new getOosStatusesForXDaysForItem_args();
|
| 5484 |
}
|
5488 |
}
|
| 5485 |
|
5489 |
|
| 5486 |
protected getOosStatusesForXDaysForItem_result getResult(I iface, getOosStatusesForXDaysForItem_args args) throws org.apache.thrift.TException {
|
5490 |
protected getOosStatusesForXDaysForItem_result getResult(I iface, getOosStatusesForXDaysForItem_args args) throws org.apache.thrift.TException {
|
| 5487 |
getOosStatusesForXDaysForItem_result result = new getOosStatusesForXDaysForItem_result();
|
5491 |
getOosStatusesForXDaysForItem_result result = new getOosStatusesForXDaysForItem_result();
|
| 5488 |
result.success = iface.getOosStatusesForXDaysForItem(args.itemId, args.days);
|
5492 |
result.success = iface.getOosStatusesForXDaysForItem(args.itemId, args.sourceId, args.days);
|
| 5489 |
return result;
|
5493 |
return result;
|
| 5490 |
}
|
5494 |
}
|
| 5491 |
}
|
5495 |
}
|
| 5492 |
|
5496 |
|
| 5493 |
private static class getNonZeroItemStockPurchaseParams<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getNonZeroItemStockPurchaseParams_args> {
|
5497 |
private static class getNonZeroItemStockPurchaseParams<I extends Iface> extends org.apache.thrift.ProcessFunction<I, getNonZeroItemStockPurchaseParams_args> {
|
| Line 7670... |
Line 7674... |
| 7670 |
}
|
7674 |
}
|
| 7671 |
}
|
7675 |
}
|
| 7672 |
|
7676 |
|
| 7673 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
7677 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 7674 |
try {
|
7678 |
try {
|
| - |
|
7679 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
7680 |
__isset_bit_vector = new BitSet(1);
|
| 7675 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
7681 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 7676 |
} catch (org.apache.thrift.TException te) {
|
7682 |
} catch (org.apache.thrift.TException te) {
|
| 7677 |
throw new java.io.IOException(te);
|
7683 |
throw new java.io.IOException(te);
|
| 7678 |
}
|
7684 |
}
|
| 7679 |
}
|
7685 |
}
|
| Line 28464... |
Line 28470... |
| 28464 |
}
|
28470 |
}
|
| 28465 |
}
|
28471 |
}
|
| 28466 |
|
28472 |
|
| 28467 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
28473 |
private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
|
| 28468 |
try {
|
28474 |
try {
|
| - |
|
28475 |
// it doesn't seem like you should have to do this, but java serialization is wacky, and doesn't call the default constructor.
|
| - |
|
28476 |
__isset_bit_vector = new BitSet(1);
|
| 28469 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
28477 |
read(new org.apache.thrift.protocol.TCompactProtocol(new org.apache.thrift.transport.TIOStreamTransport(in)));
|
| 28470 |
} catch (org.apache.thrift.TException te) {
|
28478 |
} catch (org.apache.thrift.TException te) {
|
| 28471 |
throw new java.io.IOException(te);
|
28479 |
throw new java.io.IOException(te);
|
| 28472 |
}
|
28480 |
}
|
| 28473 |
}
|
28481 |
}
|
| Line 38882... |
Line 38890... |
| 38882 |
|
38890 |
|
| 38883 |
public static class getOosStatusesForXDaysForItem_args implements org.apache.thrift.TBase<getOosStatusesForXDaysForItem_args, getOosStatusesForXDaysForItem_args._Fields>, java.io.Serializable, Cloneable {
|
38891 |
public static class getOosStatusesForXDaysForItem_args implements org.apache.thrift.TBase<getOosStatusesForXDaysForItem_args, getOosStatusesForXDaysForItem_args._Fields>, java.io.Serializable, Cloneable {
|
| 38884 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOosStatusesForXDaysForItem_args");
|
38892 |
private static final org.apache.thrift.protocol.TStruct STRUCT_DESC = new org.apache.thrift.protocol.TStruct("getOosStatusesForXDaysForItem_args");
|
| 38885 |
|
38893 |
|
| 38886 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
|
38894 |
private static final org.apache.thrift.protocol.TField ITEM_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("itemId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| - |
|
38895 |
private static final org.apache.thrift.protocol.TField SOURCE_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("sourceId", org.apache.thrift.protocol.TType.I32, (short)2);
|
| 38887 |
private static final org.apache.thrift.protocol.TField DAYS_FIELD_DESC = new org.apache.thrift.protocol.TField("days", org.apache.thrift.protocol.TType.I32, (short)2);
|
38896 |
private static final org.apache.thrift.protocol.TField DAYS_FIELD_DESC = new org.apache.thrift.protocol.TField("days", org.apache.thrift.protocol.TType.I32, (short)3);
|
| 38888 |
|
38897 |
|
| 38889 |
private long itemId; // required
|
38898 |
private long itemId; // required
|
| - |
|
38899 |
private int sourceId; // required
|
| 38890 |
private int days; // required
|
38900 |
private int days; // required
|
| 38891 |
|
38901 |
|
| 38892 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
38902 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 38893 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
38903 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 38894 |
ITEM_ID((short)1, "itemId"),
|
38904 |
ITEM_ID((short)1, "itemId"),
|
| - |
|
38905 |
SOURCE_ID((short)2, "sourceId"),
|
| 38895 |
DAYS((short)2, "days");
|
38906 |
DAYS((short)3, "days");
|
| 38896 |
|
38907 |
|
| 38897 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
38908 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 38898 |
|
38909 |
|
| 38899 |
static {
|
38910 |
static {
|
| 38900 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
38911 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 38907... |
Line 38918... |
| 38907 |
*/
|
38918 |
*/
|
| 38908 |
public static _Fields findByThriftId(int fieldId) {
|
38919 |
public static _Fields findByThriftId(int fieldId) {
|
| 38909 |
switch(fieldId) {
|
38920 |
switch(fieldId) {
|
| 38910 |
case 1: // ITEM_ID
|
38921 |
case 1: // ITEM_ID
|
| 38911 |
return ITEM_ID;
|
38922 |
return ITEM_ID;
|
| - |
|
38923 |
case 2: // SOURCE_ID
|
| - |
|
38924 |
return SOURCE_ID;
|
| 38912 |
case 2: // DAYS
|
38925 |
case 3: // DAYS
|
| 38913 |
return DAYS;
|
38926 |
return DAYS;
|
| 38914 |
default:
|
38927 |
default:
|
| 38915 |
return null;
|
38928 |
return null;
|
| 38916 |
}
|
38929 |
}
|
| 38917 |
}
|
38930 |
}
|
| Line 38950... |
Line 38963... |
| 38950 |
}
|
38963 |
}
|
| 38951 |
}
|
38964 |
}
|
| 38952 |
|
38965 |
|
| 38953 |
// isset id assignments
|
38966 |
// isset id assignments
|
| 38954 |
private static final int __ITEMID_ISSET_ID = 0;
|
38967 |
private static final int __ITEMID_ISSET_ID = 0;
|
| - |
|
38968 |
private static final int __SOURCEID_ISSET_ID = 1;
|
| 38955 |
private static final int __DAYS_ISSET_ID = 1;
|
38969 |
private static final int __DAYS_ISSET_ID = 2;
|
| 38956 |
private BitSet __isset_bit_vector = new BitSet(2);
|
38970 |
private BitSet __isset_bit_vector = new BitSet(3);
|
| 38957 |
|
38971 |
|
| 38958 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
38972 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 38959 |
static {
|
38973 |
static {
|
| 38960 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
38974 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 38961 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
38975 |
tmpMap.put(_Fields.ITEM_ID, new org.apache.thrift.meta_data.FieldMetaData("itemId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 38962 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
38976 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I64)));
|
| - |
|
38977 |
tmpMap.put(_Fields.SOURCE_ID, new org.apache.thrift.meta_data.FieldMetaData("sourceId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
38978 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 38963 |
tmpMap.put(_Fields.DAYS, new org.apache.thrift.meta_data.FieldMetaData("days", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
38979 |
tmpMap.put(_Fields.DAYS, new org.apache.thrift.meta_data.FieldMetaData("days", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 38964 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
38980 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.I32)));
|
| 38965 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
38981 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 38966 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOosStatusesForXDaysForItem_args.class, metaDataMap);
|
38982 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(getOosStatusesForXDaysForItem_args.class, metaDataMap);
|
| 38967 |
}
|
38983 |
}
|
| Line 38969... |
Line 38985... |
| 38969 |
public getOosStatusesForXDaysForItem_args() {
|
38985 |
public getOosStatusesForXDaysForItem_args() {
|
| 38970 |
}
|
38986 |
}
|
| 38971 |
|
38987 |
|
| 38972 |
public getOosStatusesForXDaysForItem_args(
|
38988 |
public getOosStatusesForXDaysForItem_args(
|
| 38973 |
long itemId,
|
38989 |
long itemId,
|
| - |
|
38990 |
int sourceId,
|
| 38974 |
int days)
|
38991 |
int days)
|
| 38975 |
{
|
38992 |
{
|
| 38976 |
this();
|
38993 |
this();
|
| 38977 |
this.itemId = itemId;
|
38994 |
this.itemId = itemId;
|
| 38978 |
setItemIdIsSet(true);
|
38995 |
setItemIdIsSet(true);
|
| - |
|
38996 |
this.sourceId = sourceId;
|
| - |
|
38997 |
setSourceIdIsSet(true);
|
| 38979 |
this.days = days;
|
38998 |
this.days = days;
|
| 38980 |
setDaysIsSet(true);
|
38999 |
setDaysIsSet(true);
|
| 38981 |
}
|
39000 |
}
|
| 38982 |
|
39001 |
|
| 38983 |
/**
|
39002 |
/**
|
| Line 38985... |
Line 39004... |
| 38985 |
*/
|
39004 |
*/
|
| 38986 |
public getOosStatusesForXDaysForItem_args(getOosStatusesForXDaysForItem_args other) {
|
39005 |
public getOosStatusesForXDaysForItem_args(getOosStatusesForXDaysForItem_args other) {
|
| 38987 |
__isset_bit_vector.clear();
|
39006 |
__isset_bit_vector.clear();
|
| 38988 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
39007 |
__isset_bit_vector.or(other.__isset_bit_vector);
|
| 38989 |
this.itemId = other.itemId;
|
39008 |
this.itemId = other.itemId;
|
| - |
|
39009 |
this.sourceId = other.sourceId;
|
| 38990 |
this.days = other.days;
|
39010 |
this.days = other.days;
|
| 38991 |
}
|
39011 |
}
|
| 38992 |
|
39012 |
|
| 38993 |
public getOosStatusesForXDaysForItem_args deepCopy() {
|
39013 |
public getOosStatusesForXDaysForItem_args deepCopy() {
|
| 38994 |
return new getOosStatusesForXDaysForItem_args(this);
|
39014 |
return new getOosStatusesForXDaysForItem_args(this);
|
| Line 38996... |
Line 39016... |
| 38996 |
|
39016 |
|
| 38997 |
@Override
|
39017 |
@Override
|
| 38998 |
public void clear() {
|
39018 |
public void clear() {
|
| 38999 |
setItemIdIsSet(false);
|
39019 |
setItemIdIsSet(false);
|
| 39000 |
this.itemId = 0;
|
39020 |
this.itemId = 0;
|
| - |
|
39021 |
setSourceIdIsSet(false);
|
| - |
|
39022 |
this.sourceId = 0;
|
| 39001 |
setDaysIsSet(false);
|
39023 |
setDaysIsSet(false);
|
| 39002 |
this.days = 0;
|
39024 |
this.days = 0;
|
| 39003 |
}
|
39025 |
}
|
| 39004 |
|
39026 |
|
| 39005 |
public long getItemId() {
|
39027 |
public long getItemId() {
|
| Line 39022... |
Line 39044... |
| 39022 |
|
39044 |
|
| 39023 |
public void setItemIdIsSet(boolean value) {
|
39045 |
public void setItemIdIsSet(boolean value) {
|
| 39024 |
__isset_bit_vector.set(__ITEMID_ISSET_ID, value);
|
39046 |
__isset_bit_vector.set(__ITEMID_ISSET_ID, value);
|
| 39025 |
}
|
39047 |
}
|
| 39026 |
|
39048 |
|
| - |
|
39049 |
public int getSourceId() {
|
| - |
|
39050 |
return this.sourceId;
|
| - |
|
39051 |
}
|
| - |
|
39052 |
|
| - |
|
39053 |
public void setSourceId(int sourceId) {
|
| - |
|
39054 |
this.sourceId = sourceId;
|
| - |
|
39055 |
setSourceIdIsSet(true);
|
| - |
|
39056 |
}
|
| - |
|
39057 |
|
| - |
|
39058 |
public void unsetSourceId() {
|
| - |
|
39059 |
__isset_bit_vector.clear(__SOURCEID_ISSET_ID);
|
| - |
|
39060 |
}
|
| - |
|
39061 |
|
| - |
|
39062 |
/** Returns true if field sourceId is set (has been assigned a value) and false otherwise */
|
| - |
|
39063 |
public boolean isSetSourceId() {
|
| - |
|
39064 |
return __isset_bit_vector.get(__SOURCEID_ISSET_ID);
|
| - |
|
39065 |
}
|
| - |
|
39066 |
|
| - |
|
39067 |
public void setSourceIdIsSet(boolean value) {
|
| - |
|
39068 |
__isset_bit_vector.set(__SOURCEID_ISSET_ID, value);
|
| - |
|
39069 |
}
|
| - |
|
39070 |
|
| 39027 |
public int getDays() {
|
39071 |
public int getDays() {
|
| 39028 |
return this.days;
|
39072 |
return this.days;
|
| 39029 |
}
|
39073 |
}
|
| 39030 |
|
39074 |
|
| 39031 |
public void setDays(int days) {
|
39075 |
public void setDays(int days) {
|
| Line 39054... |
Line 39098... |
| 39054 |
} else {
|
39098 |
} else {
|
| 39055 |
setItemId((Long)value);
|
39099 |
setItemId((Long)value);
|
| 39056 |
}
|
39100 |
}
|
| 39057 |
break;
|
39101 |
break;
|
| 39058 |
|
39102 |
|
| - |
|
39103 |
case SOURCE_ID:
|
| - |
|
39104 |
if (value == null) {
|
| - |
|
39105 |
unsetSourceId();
|
| - |
|
39106 |
} else {
|
| - |
|
39107 |
setSourceId((Integer)value);
|
| - |
|
39108 |
}
|
| - |
|
39109 |
break;
|
| - |
|
39110 |
|
| 39059 |
case DAYS:
|
39111 |
case DAYS:
|
| 39060 |
if (value == null) {
|
39112 |
if (value == null) {
|
| 39061 |
unsetDays();
|
39113 |
unsetDays();
|
| 39062 |
} else {
|
39114 |
} else {
|
| 39063 |
setDays((Integer)value);
|
39115 |
setDays((Integer)value);
|
| Line 39070... |
Line 39122... |
| 39070 |
public Object getFieldValue(_Fields field) {
|
39122 |
public Object getFieldValue(_Fields field) {
|
| 39071 |
switch (field) {
|
39123 |
switch (field) {
|
| 39072 |
case ITEM_ID:
|
39124 |
case ITEM_ID:
|
| 39073 |
return Long.valueOf(getItemId());
|
39125 |
return Long.valueOf(getItemId());
|
| 39074 |
|
39126 |
|
| - |
|
39127 |
case SOURCE_ID:
|
| - |
|
39128 |
return Integer.valueOf(getSourceId());
|
| - |
|
39129 |
|
| 39075 |
case DAYS:
|
39130 |
case DAYS:
|
| 39076 |
return Integer.valueOf(getDays());
|
39131 |
return Integer.valueOf(getDays());
|
| 39077 |
|
39132 |
|
| 39078 |
}
|
39133 |
}
|
| 39079 |
throw new IllegalStateException();
|
39134 |
throw new IllegalStateException();
|
| Line 39086... |
Line 39141... |
| 39086 |
}
|
39141 |
}
|
| 39087 |
|
39142 |
|
| 39088 |
switch (field) {
|
39143 |
switch (field) {
|
| 39089 |
case ITEM_ID:
|
39144 |
case ITEM_ID:
|
| 39090 |
return isSetItemId();
|
39145 |
return isSetItemId();
|
| - |
|
39146 |
case SOURCE_ID:
|
| - |
|
39147 |
return isSetSourceId();
|
| 39091 |
case DAYS:
|
39148 |
case DAYS:
|
| 39092 |
return isSetDays();
|
39149 |
return isSetDays();
|
| 39093 |
}
|
39150 |
}
|
| 39094 |
throw new IllegalStateException();
|
39151 |
throw new IllegalStateException();
|
| 39095 |
}
|
39152 |
}
|
| Line 39114... |
Line 39171... |
| 39114 |
return false;
|
39171 |
return false;
|
| 39115 |
if (this.itemId != that.itemId)
|
39172 |
if (this.itemId != that.itemId)
|
| 39116 |
return false;
|
39173 |
return false;
|
| 39117 |
}
|
39174 |
}
|
| 39118 |
|
39175 |
|
| - |
|
39176 |
boolean this_present_sourceId = true;
|
| - |
|
39177 |
boolean that_present_sourceId = true;
|
| - |
|
39178 |
if (this_present_sourceId || that_present_sourceId) {
|
| - |
|
39179 |
if (!(this_present_sourceId && that_present_sourceId))
|
| - |
|
39180 |
return false;
|
| - |
|
39181 |
if (this.sourceId != that.sourceId)
|
| - |
|
39182 |
return false;
|
| - |
|
39183 |
}
|
| - |
|
39184 |
|
| 39119 |
boolean this_present_days = true;
|
39185 |
boolean this_present_days = true;
|
| 39120 |
boolean that_present_days = true;
|
39186 |
boolean that_present_days = true;
|
| 39121 |
if (this_present_days || that_present_days) {
|
39187 |
if (this_present_days || that_present_days) {
|
| 39122 |
if (!(this_present_days && that_present_days))
|
39188 |
if (!(this_present_days && that_present_days))
|
| 39123 |
return false;
|
39189 |
return false;
|
| Line 39149... |
Line 39215... |
| 39149 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
|
39215 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.itemId, typedOther.itemId);
|
| 39150 |
if (lastComparison != 0) {
|
39216 |
if (lastComparison != 0) {
|
| 39151 |
return lastComparison;
|
39217 |
return lastComparison;
|
| 39152 |
}
|
39218 |
}
|
| 39153 |
}
|
39219 |
}
|
| - |
|
39220 |
lastComparison = Boolean.valueOf(isSetSourceId()).compareTo(typedOther.isSetSourceId());
|
| - |
|
39221 |
if (lastComparison != 0) {
|
| - |
|
39222 |
return lastComparison;
|
| - |
|
39223 |
}
|
| - |
|
39224 |
if (isSetSourceId()) {
|
| - |
|
39225 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.sourceId, typedOther.sourceId);
|
| - |
|
39226 |
if (lastComparison != 0) {
|
| - |
|
39227 |
return lastComparison;
|
| - |
|
39228 |
}
|
| - |
|
39229 |
}
|
| 39154 |
lastComparison = Boolean.valueOf(isSetDays()).compareTo(typedOther.isSetDays());
|
39230 |
lastComparison = Boolean.valueOf(isSetDays()).compareTo(typedOther.isSetDays());
|
| 39155 |
if (lastComparison != 0) {
|
39231 |
if (lastComparison != 0) {
|
| 39156 |
return lastComparison;
|
39232 |
return lastComparison;
|
| 39157 |
}
|
39233 |
}
|
| 39158 |
if (isSetDays()) {
|
39234 |
if (isSetDays()) {
|
| Line 39184... |
Line 39260... |
| 39184 |
setItemIdIsSet(true);
|
39260 |
setItemIdIsSet(true);
|
| 39185 |
} else {
|
39261 |
} else {
|
| 39186 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
39262 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 39187 |
}
|
39263 |
}
|
| 39188 |
break;
|
39264 |
break;
|
| - |
|
39265 |
case 2: // SOURCE_ID
|
| - |
|
39266 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| - |
|
39267 |
this.sourceId = iprot.readI32();
|
| - |
|
39268 |
setSourceIdIsSet(true);
|
| - |
|
39269 |
} else {
|
| - |
|
39270 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
39271 |
}
|
| - |
|
39272 |
break;
|
| 39189 |
case 2: // DAYS
|
39273 |
case 3: // DAYS
|
| 39190 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
39274 |
if (field.type == org.apache.thrift.protocol.TType.I32) {
|
| 39191 |
this.days = iprot.readI32();
|
39275 |
this.days = iprot.readI32();
|
| 39192 |
setDaysIsSet(true);
|
39276 |
setDaysIsSet(true);
|
| 39193 |
} else {
|
39277 |
} else {
|
| 39194 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
39278 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| Line 39208... |
Line 39292... |
| 39208 |
|
39292 |
|
| 39209 |
oprot.writeStructBegin(STRUCT_DESC);
|
39293 |
oprot.writeStructBegin(STRUCT_DESC);
|
| 39210 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
39294 |
oprot.writeFieldBegin(ITEM_ID_FIELD_DESC);
|
| 39211 |
oprot.writeI64(this.itemId);
|
39295 |
oprot.writeI64(this.itemId);
|
| 39212 |
oprot.writeFieldEnd();
|
39296 |
oprot.writeFieldEnd();
|
| - |
|
39297 |
oprot.writeFieldBegin(SOURCE_ID_FIELD_DESC);
|
| - |
|
39298 |
oprot.writeI32(this.sourceId);
|
| - |
|
39299 |
oprot.writeFieldEnd();
|
| 39213 |
oprot.writeFieldBegin(DAYS_FIELD_DESC);
|
39300 |
oprot.writeFieldBegin(DAYS_FIELD_DESC);
|
| 39214 |
oprot.writeI32(this.days);
|
39301 |
oprot.writeI32(this.days);
|
| 39215 |
oprot.writeFieldEnd();
|
39302 |
oprot.writeFieldEnd();
|
| 39216 |
oprot.writeFieldStop();
|
39303 |
oprot.writeFieldStop();
|
| 39217 |
oprot.writeStructEnd();
|
39304 |
oprot.writeStructEnd();
|
| Line 39224... |
Line 39311... |
| 39224 |
|
39311 |
|
| 39225 |
sb.append("itemId:");
|
39312 |
sb.append("itemId:");
|
| 39226 |
sb.append(this.itemId);
|
39313 |
sb.append(this.itemId);
|
| 39227 |
first = false;
|
39314 |
first = false;
|
| 39228 |
if (!first) sb.append(", ");
|
39315 |
if (!first) sb.append(", ");
|
| - |
|
39316 |
sb.append("sourceId:");
|
| - |
|
39317 |
sb.append(this.sourceId);
|
| - |
|
39318 |
first = false;
|
| - |
|
39319 |
if (!first) sb.append(", ");
|
| 39229 |
sb.append("days:");
|
39320 |
sb.append("days:");
|
| 39230 |
sb.append(this.days);
|
39321 |
sb.append(this.days);
|
| 39231 |
first = false;
|
39322 |
first = false;
|
| 39232 |
sb.append(")");
|
39323 |
sb.append(")");
|
| 39233 |
return sb.toString();
|
39324 |
return sb.toString();
|