| Line 59... |
Line 59... |
| 59 |
|
59 |
|
| 60 |
public List<Item> getAllItems(boolean isActive) throws CatalogServiceException, org.apache.thrift.TException;
|
60 |
public List<Item> getAllItems(boolean isActive) throws CatalogServiceException, org.apache.thrift.TException;
|
| 61 |
|
61 |
|
| 62 |
public List<Item> getAllItemsByStatus(status itemStatus) throws CatalogServiceException, org.apache.thrift.TException;
|
62 |
public List<Item> getAllItemsByStatus(status itemStatus) throws CatalogServiceException, org.apache.thrift.TException;
|
| 63 |
|
63 |
|
| 64 |
public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws CatalogServiceException, org.apache.thrift.TException;
|
64 |
public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid) throws CatalogServiceException, org.apache.thrift.TException;
|
| 65 |
|
65 |
|
| 66 |
/**
|
66 |
/**
|
| 67 |
* Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
|
67 |
* Gets at most 'limit' items starting at the given offset. Returns an empty list if there are no more items at the given offset.
|
| 68 |
*
|
68 |
*
|
| 69 |
* @param offset
|
69 |
* @param offset
|
| Line 510... |
Line 510... |
| 510 |
|
510 |
|
| 511 |
public void getAllItems(boolean isActive, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItems_call> resultHandler) throws org.apache.thrift.TException;
|
511 |
public void getAllItems(boolean isActive, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItems_call> resultHandler) throws org.apache.thrift.TException;
|
| 512 |
|
512 |
|
| 513 |
public void getAllItemsByStatus(status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatus_call> resultHandler) throws org.apache.thrift.TException;
|
513 |
public void getAllItemsByStatus(status itemStatus, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatus_call> resultHandler) throws org.apache.thrift.TException;
|
| 514 |
|
514 |
|
| 515 |
public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException;
|
515 |
public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException;
|
| 516 |
|
516 |
|
| 517 |
public void getAllItemsInRange(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsInRange_call> resultHandler) throws org.apache.thrift.TException;
|
517 |
public void getAllItemsInRange(long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsInRange_call> resultHandler) throws org.apache.thrift.TException;
|
| 518 |
|
518 |
|
| 519 |
public void getAllItemsByStatusInRange(status itemStatus, long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatusInRange_call> resultHandler) throws org.apache.thrift.TException;
|
519 |
public void getAllItemsByStatusInRange(status itemStatus, long offset, long limit, org.apache.thrift.async.AsyncMethodCallback<AsyncClient.getAllItemsByStatusInRange_call> resultHandler) throws org.apache.thrift.TException;
|
| 520 |
|
520 |
|
| Line 1099... |
Line 1099... |
| 1099 |
throw result.cex;
|
1099 |
throw result.cex;
|
| 1100 |
}
|
1100 |
}
|
| 1101 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
|
1101 |
throw new org.apache.thrift.TApplicationException(org.apache.thrift.TApplicationException.MISSING_RESULT, "getAllItemsByStatus failed: unknown result");
|
| 1102 |
}
|
1102 |
}
|
| 1103 |
|
1103 |
|
| 1104 |
public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws CatalogServiceException, org.apache.thrift.TException
|
1104 |
public boolean markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid) throws CatalogServiceException, org.apache.thrift.TException
|
| 1105 |
{
|
1105 |
{
|
| 1106 |
send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber);
|
1106 |
send_markItemAsContentComplete(entityId, category, brand, modelName, modelNumber, isAndroid);
|
| 1107 |
return recv_markItemAsContentComplete();
|
1107 |
return recv_markItemAsContentComplete();
|
| 1108 |
}
|
1108 |
}
|
| 1109 |
|
1109 |
|
| 1110 |
public void send_markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber) throws org.apache.thrift.TException
|
1110 |
public void send_markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid) throws org.apache.thrift.TException
|
| 1111 |
{
|
1111 |
{
|
| 1112 |
markItemAsContentComplete_args args = new markItemAsContentComplete_args();
|
1112 |
markItemAsContentComplete_args args = new markItemAsContentComplete_args();
|
| 1113 |
args.setEntityId(entityId);
|
1113 |
args.setEntityId(entityId);
|
| 1114 |
args.setCategory(category);
|
1114 |
args.setCategory(category);
|
| 1115 |
args.setBrand(brand);
|
1115 |
args.setBrand(brand);
|
| 1116 |
args.setModelName(modelName);
|
1116 |
args.setModelName(modelName);
|
| 1117 |
args.setModelNumber(modelNumber);
|
1117 |
args.setModelNumber(modelNumber);
|
| - |
|
1118 |
args.setIsAndroid(isAndroid);
|
| 1118 |
sendBase("markItemAsContentComplete", args);
|
1119 |
sendBase("markItemAsContentComplete", args);
|
| 1119 |
}
|
1120 |
}
|
| 1120 |
|
1121 |
|
| 1121 |
public boolean recv_markItemAsContentComplete() throws CatalogServiceException, org.apache.thrift.TException
|
1122 |
public boolean recv_markItemAsContentComplete() throws CatalogServiceException, org.apache.thrift.TException
|
| 1122 |
{
|
1123 |
{
|
| Line 4290... |
Line 4291... |
| 4290 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
4291 |
org.apache.thrift.protocol.TProtocol prot = client.getProtocolFactory().getProtocol(memoryTransport);
|
| 4291 |
return (new Client(prot)).recv_getAllItemsByStatus();
|
4292 |
return (new Client(prot)).recv_getAllItemsByStatus();
|
| 4292 |
}
|
4293 |
}
|
| 4293 |
}
|
4294 |
}
|
| 4294 |
|
4295 |
|
| 4295 |
public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, org.apache.thrift.async.AsyncMethodCallback<markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException {
|
4296 |
public void markItemAsContentComplete(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid, org.apache.thrift.async.AsyncMethodCallback<markItemAsContentComplete_call> resultHandler) throws org.apache.thrift.TException {
|
| 4296 |
checkReady();
|
4297 |
checkReady();
|
| 4297 |
markItemAsContentComplete_call method_call = new markItemAsContentComplete_call(entityId, category, brand, modelName, modelNumber, resultHandler, this, ___protocolFactory, ___transport);
|
4298 |
markItemAsContentComplete_call method_call = new markItemAsContentComplete_call(entityId, category, brand, modelName, modelNumber, isAndroid, resultHandler, this, ___protocolFactory, ___transport);
|
| 4298 |
this.___currentMethod = method_call;
|
4299 |
this.___currentMethod = method_call;
|
| 4299 |
___manager.call(method_call);
|
4300 |
___manager.call(method_call);
|
| 4300 |
}
|
4301 |
}
|
| 4301 |
|
4302 |
|
| 4302 |
public static class markItemAsContentComplete_call extends org.apache.thrift.async.TAsyncMethodCall {
|
4303 |
public static class markItemAsContentComplete_call extends org.apache.thrift.async.TAsyncMethodCall {
|
| 4303 |
private long entityId;
|
4304 |
private long entityId;
|
| 4304 |
private long category;
|
4305 |
private long category;
|
| 4305 |
private String brand;
|
4306 |
private String brand;
|
| 4306 |
private String modelName;
|
4307 |
private String modelName;
|
| 4307 |
private String modelNumber;
|
4308 |
private String modelNumber;
|
| - |
|
4309 |
private boolean isAndroid;
|
| 4308 |
public markItemAsContentComplete_call(long entityId, long category, String brand, String modelName, String modelNumber, org.apache.thrift.async.AsyncMethodCallback<markItemAsContentComplete_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 {
|
4310 |
public markItemAsContentComplete_call(long entityId, long category, String brand, String modelName, String modelNumber, boolean isAndroid, org.apache.thrift.async.AsyncMethodCallback<markItemAsContentComplete_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 {
|
| 4309 |
super(client, protocolFactory, transport, resultHandler, false);
|
4311 |
super(client, protocolFactory, transport, resultHandler, false);
|
| 4310 |
this.entityId = entityId;
|
4312 |
this.entityId = entityId;
|
| 4311 |
this.category = category;
|
4313 |
this.category = category;
|
| 4312 |
this.brand = brand;
|
4314 |
this.brand = brand;
|
| 4313 |
this.modelName = modelName;
|
4315 |
this.modelName = modelName;
|
| 4314 |
this.modelNumber = modelNumber;
|
4316 |
this.modelNumber = modelNumber;
|
| - |
|
4317 |
this.isAndroid = isAndroid;
|
| 4315 |
}
|
4318 |
}
|
| 4316 |
|
4319 |
|
| 4317 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
4320 |
public void write_args(org.apache.thrift.protocol.TProtocol prot) throws org.apache.thrift.TException {
|
| 4318 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markItemAsContentComplete", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
4321 |
prot.writeMessageBegin(new org.apache.thrift.protocol.TMessage("markItemAsContentComplete", org.apache.thrift.protocol.TMessageType.CALL, 0));
|
| 4319 |
markItemAsContentComplete_args args = new markItemAsContentComplete_args();
|
4322 |
markItemAsContentComplete_args args = new markItemAsContentComplete_args();
|
| 4320 |
args.setEntityId(entityId);
|
4323 |
args.setEntityId(entityId);
|
| 4321 |
args.setCategory(category);
|
4324 |
args.setCategory(category);
|
| 4322 |
args.setBrand(brand);
|
4325 |
args.setBrand(brand);
|
| 4323 |
args.setModelName(modelName);
|
4326 |
args.setModelName(modelName);
|
| 4324 |
args.setModelNumber(modelNumber);
|
4327 |
args.setModelNumber(modelNumber);
|
| - |
|
4328 |
args.setIsAndroid(isAndroid);
|
| 4325 |
args.write(prot);
|
4329 |
args.write(prot);
|
| 4326 |
prot.writeMessageEnd();
|
4330 |
prot.writeMessageEnd();
|
| 4327 |
}
|
4331 |
}
|
| 4328 |
|
4332 |
|
| 4329 |
public boolean getResult() throws CatalogServiceException, org.apache.thrift.TException {
|
4333 |
public boolean getResult() throws CatalogServiceException, org.apache.thrift.TException {
|
| Line 8553... |
Line 8557... |
| 8553 |
}
|
8557 |
}
|
| 8554 |
|
8558 |
|
| 8555 |
protected markItemAsContentComplete_result getResult(I iface, markItemAsContentComplete_args args) throws org.apache.thrift.TException {
|
8559 |
protected markItemAsContentComplete_result getResult(I iface, markItemAsContentComplete_args args) throws org.apache.thrift.TException {
|
| 8556 |
markItemAsContentComplete_result result = new markItemAsContentComplete_result();
|
8560 |
markItemAsContentComplete_result result = new markItemAsContentComplete_result();
|
| 8557 |
try {
|
8561 |
try {
|
| 8558 |
result.success = iface.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber);
|
8562 |
result.success = iface.markItemAsContentComplete(args.entityId, args.category, args.brand, args.modelName, args.modelNumber, args.isAndroid);
|
| 8559 |
result.setSuccessIsSet(true);
|
8563 |
result.setSuccessIsSet(true);
|
| 8560 |
} catch (CatalogServiceException cex) {
|
8564 |
} catch (CatalogServiceException cex) {
|
| 8561 |
result.cex = cex;
|
8565 |
result.cex = cex;
|
| 8562 |
}
|
8566 |
}
|
| 8563 |
return result;
|
8567 |
return result;
|
| Line 19672... |
Line 19676... |
| 19672 |
private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.I64, (short)1);
|
19676 |
private static final org.apache.thrift.protocol.TField ENTITY_ID_FIELD_DESC = new org.apache.thrift.protocol.TField("entityId", org.apache.thrift.protocol.TType.I64, (short)1);
|
| 19673 |
private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)2);
|
19677 |
private static final org.apache.thrift.protocol.TField CATEGORY_FIELD_DESC = new org.apache.thrift.protocol.TField("category", org.apache.thrift.protocol.TType.I64, (short)2);
|
| 19674 |
private static final org.apache.thrift.protocol.TField BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)3);
|
19678 |
private static final org.apache.thrift.protocol.TField BRAND_FIELD_DESC = new org.apache.thrift.protocol.TField("brand", org.apache.thrift.protocol.TType.STRING, (short)3);
|
| 19675 |
private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("modelName", org.apache.thrift.protocol.TType.STRING, (short)4);
|
19679 |
private static final org.apache.thrift.protocol.TField MODEL_NAME_FIELD_DESC = new org.apache.thrift.protocol.TField("modelName", org.apache.thrift.protocol.TType.STRING, (short)4);
|
| 19676 |
private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("modelNumber", org.apache.thrift.protocol.TType.STRING, (short)5);
|
19680 |
private static final org.apache.thrift.protocol.TField MODEL_NUMBER_FIELD_DESC = new org.apache.thrift.protocol.TField("modelNumber", org.apache.thrift.protocol.TType.STRING, (short)5);
|
| - |
|
19681 |
private static final org.apache.thrift.protocol.TField IS_ANDROID_FIELD_DESC = new org.apache.thrift.protocol.TField("isAndroid", org.apache.thrift.protocol.TType.BOOL, (short)6);
|
| 19677 |
|
19682 |
|
| 19678 |
private long entityId; // required
|
19683 |
private long entityId; // required
|
| 19679 |
private long category; // required
|
19684 |
private long category; // required
|
| 19680 |
private String brand; // required
|
19685 |
private String brand; // required
|
| 19681 |
private String modelName; // required
|
19686 |
private String modelName; // required
|
| 19682 |
private String modelNumber; // required
|
19687 |
private String modelNumber; // required
|
| - |
|
19688 |
private boolean isAndroid; // required
|
| 19683 |
|
19689 |
|
| 19684 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
19690 |
/** The set of fields this struct contains, along with convenience methods for finding and manipulating them. */
|
| 19685 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
19691 |
public enum _Fields implements org.apache.thrift.TFieldIdEnum {
|
| 19686 |
ENTITY_ID((short)1, "entityId"),
|
19692 |
ENTITY_ID((short)1, "entityId"),
|
| 19687 |
CATEGORY((short)2, "category"),
|
19693 |
CATEGORY((short)2, "category"),
|
| 19688 |
BRAND((short)3, "brand"),
|
19694 |
BRAND((short)3, "brand"),
|
| 19689 |
MODEL_NAME((short)4, "modelName"),
|
19695 |
MODEL_NAME((short)4, "modelName"),
|
| 19690 |
MODEL_NUMBER((short)5, "modelNumber");
|
19696 |
MODEL_NUMBER((short)5, "modelNumber"),
|
| - |
|
19697 |
IS_ANDROID((short)6, "isAndroid");
|
| 19691 |
|
19698 |
|
| 19692 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
19699 |
private static final Map<String, _Fields> byName = new HashMap<String, _Fields>();
|
| 19693 |
|
19700 |
|
| 19694 |
static {
|
19701 |
static {
|
| 19695 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
19702 |
for (_Fields field : EnumSet.allOf(_Fields.class)) {
|
| Line 19710... |
Line 19717... |
| 19710 |
return BRAND;
|
19717 |
return BRAND;
|
| 19711 |
case 4: // MODEL_NAME
|
19718 |
case 4: // MODEL_NAME
|
| 19712 |
return MODEL_NAME;
|
19719 |
return MODEL_NAME;
|
| 19713 |
case 5: // MODEL_NUMBER
|
19720 |
case 5: // MODEL_NUMBER
|
| 19714 |
return MODEL_NUMBER;
|
19721 |
return MODEL_NUMBER;
|
| - |
|
19722 |
case 6: // IS_ANDROID
|
| - |
|
19723 |
return IS_ANDROID;
|
| 19715 |
default:
|
19724 |
default:
|
| 19716 |
return null;
|
19725 |
return null;
|
| 19717 |
}
|
19726 |
}
|
| 19718 |
}
|
19727 |
}
|
| 19719 |
|
19728 |
|
| Line 19752... |
Line 19761... |
| 19752 |
}
|
19761 |
}
|
| 19753 |
|
19762 |
|
| 19754 |
// isset id assignments
|
19763 |
// isset id assignments
|
| 19755 |
private static final int __ENTITYID_ISSET_ID = 0;
|
19764 |
private static final int __ENTITYID_ISSET_ID = 0;
|
| 19756 |
private static final int __CATEGORY_ISSET_ID = 1;
|
19765 |
private static final int __CATEGORY_ISSET_ID = 1;
|
| - |
|
19766 |
private static final int __ISANDROID_ISSET_ID = 2;
|
| 19757 |
private BitSet __isset_bit_vector = new BitSet(2);
|
19767 |
private BitSet __isset_bit_vector = new BitSet(3);
|
| 19758 |
|
19768 |
|
| 19759 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
19769 |
public static final Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> metaDataMap;
|
| 19760 |
static {
|
19770 |
static {
|
| 19761 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
19771 |
Map<_Fields, org.apache.thrift.meta_data.FieldMetaData> tmpMap = new EnumMap<_Fields, org.apache.thrift.meta_data.FieldMetaData>(_Fields.class);
|
| 19762 |
tmpMap.put(_Fields.ENTITY_ID, new org.apache.thrift.meta_data.FieldMetaData("entityId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19772 |
tmpMap.put(_Fields.ENTITY_ID, new org.apache.thrift.meta_data.FieldMetaData("entityId", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| Line 19767... |
Line 19777... |
| 19767 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
19777 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 19768 |
tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("modelName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19778 |
tmpMap.put(_Fields.MODEL_NAME, new org.apache.thrift.meta_data.FieldMetaData("modelName", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 19769 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
19779 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| 19770 |
tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("modelNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
19780 |
tmpMap.put(_Fields.MODEL_NUMBER, new org.apache.thrift.meta_data.FieldMetaData("modelNumber", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| 19771 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
19781 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.STRING)));
|
| - |
|
19782 |
tmpMap.put(_Fields.IS_ANDROID, new org.apache.thrift.meta_data.FieldMetaData("isAndroid", org.apache.thrift.TFieldRequirementType.DEFAULT,
|
| - |
|
19783 |
new org.apache.thrift.meta_data.FieldValueMetaData(org.apache.thrift.protocol.TType.BOOL)));
|
| 19772 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
19784 |
metaDataMap = Collections.unmodifiableMap(tmpMap);
|
| 19773 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markItemAsContentComplete_args.class, metaDataMap);
|
19785 |
org.apache.thrift.meta_data.FieldMetaData.addStructMetaDataMap(markItemAsContentComplete_args.class, metaDataMap);
|
| 19774 |
}
|
19786 |
}
|
| 19775 |
|
19787 |
|
| 19776 |
public markItemAsContentComplete_args() {
|
19788 |
public markItemAsContentComplete_args() {
|
| Line 19779... |
Line 19791... |
| 19779 |
public markItemAsContentComplete_args(
|
19791 |
public markItemAsContentComplete_args(
|
| 19780 |
long entityId,
|
19792 |
long entityId,
|
| 19781 |
long category,
|
19793 |
long category,
|
| 19782 |
String brand,
|
19794 |
String brand,
|
| 19783 |
String modelName,
|
19795 |
String modelName,
|
| 19784 |
String modelNumber)
|
19796 |
String modelNumber,
|
| - |
|
19797 |
boolean isAndroid)
|
| 19785 |
{
|
19798 |
{
|
| 19786 |
this();
|
19799 |
this();
|
| 19787 |
this.entityId = entityId;
|
19800 |
this.entityId = entityId;
|
| 19788 |
setEntityIdIsSet(true);
|
19801 |
setEntityIdIsSet(true);
|
| 19789 |
this.category = category;
|
19802 |
this.category = category;
|
| 19790 |
setCategoryIsSet(true);
|
19803 |
setCategoryIsSet(true);
|
| 19791 |
this.brand = brand;
|
19804 |
this.brand = brand;
|
| 19792 |
this.modelName = modelName;
|
19805 |
this.modelName = modelName;
|
| 19793 |
this.modelNumber = modelNumber;
|
19806 |
this.modelNumber = modelNumber;
|
| - |
|
19807 |
this.isAndroid = isAndroid;
|
| - |
|
19808 |
setIsAndroidIsSet(true);
|
| 19794 |
}
|
19809 |
}
|
| 19795 |
|
19810 |
|
| 19796 |
/**
|
19811 |
/**
|
| 19797 |
* Performs a deep copy on <i>other</i>.
|
19812 |
* Performs a deep copy on <i>other</i>.
|
| 19798 |
*/
|
19813 |
*/
|
| Line 19808... |
Line 19823... |
| 19808 |
this.modelName = other.modelName;
|
19823 |
this.modelName = other.modelName;
|
| 19809 |
}
|
19824 |
}
|
| 19810 |
if (other.isSetModelNumber()) {
|
19825 |
if (other.isSetModelNumber()) {
|
| 19811 |
this.modelNumber = other.modelNumber;
|
19826 |
this.modelNumber = other.modelNumber;
|
| 19812 |
}
|
19827 |
}
|
| - |
|
19828 |
this.isAndroid = other.isAndroid;
|
| 19813 |
}
|
19829 |
}
|
| 19814 |
|
19830 |
|
| 19815 |
public markItemAsContentComplete_args deepCopy() {
|
19831 |
public markItemAsContentComplete_args deepCopy() {
|
| 19816 |
return new markItemAsContentComplete_args(this);
|
19832 |
return new markItemAsContentComplete_args(this);
|
| 19817 |
}
|
19833 |
}
|
| Line 19823... |
Line 19839... |
| 19823 |
setCategoryIsSet(false);
|
19839 |
setCategoryIsSet(false);
|
| 19824 |
this.category = 0;
|
19840 |
this.category = 0;
|
| 19825 |
this.brand = null;
|
19841 |
this.brand = null;
|
| 19826 |
this.modelName = null;
|
19842 |
this.modelName = null;
|
| 19827 |
this.modelNumber = null;
|
19843 |
this.modelNumber = null;
|
| - |
|
19844 |
setIsAndroidIsSet(false);
|
| - |
|
19845 |
this.isAndroid = false;
|
| 19828 |
}
|
19846 |
}
|
| 19829 |
|
19847 |
|
| 19830 |
public long getEntityId() {
|
19848 |
public long getEntityId() {
|
| 19831 |
return this.entityId;
|
19849 |
return this.entityId;
|
| 19832 |
}
|
19850 |
}
|
| Line 19938... |
Line 19956... |
| 19938 |
if (!value) {
|
19956 |
if (!value) {
|
| 19939 |
this.modelNumber = null;
|
19957 |
this.modelNumber = null;
|
| 19940 |
}
|
19958 |
}
|
| 19941 |
}
|
19959 |
}
|
| 19942 |
|
19960 |
|
| - |
|
19961 |
public boolean isIsAndroid() {
|
| - |
|
19962 |
return this.isAndroid;
|
| - |
|
19963 |
}
|
| - |
|
19964 |
|
| - |
|
19965 |
public void setIsAndroid(boolean isAndroid) {
|
| - |
|
19966 |
this.isAndroid = isAndroid;
|
| - |
|
19967 |
setIsAndroidIsSet(true);
|
| - |
|
19968 |
}
|
| - |
|
19969 |
|
| - |
|
19970 |
public void unsetIsAndroid() {
|
| - |
|
19971 |
__isset_bit_vector.clear(__ISANDROID_ISSET_ID);
|
| - |
|
19972 |
}
|
| - |
|
19973 |
|
| - |
|
19974 |
/** Returns true if field isAndroid is set (has been assigned a value) and false otherwise */
|
| - |
|
19975 |
public boolean isSetIsAndroid() {
|
| - |
|
19976 |
return __isset_bit_vector.get(__ISANDROID_ISSET_ID);
|
| - |
|
19977 |
}
|
| - |
|
19978 |
|
| - |
|
19979 |
public void setIsAndroidIsSet(boolean value) {
|
| - |
|
19980 |
__isset_bit_vector.set(__ISANDROID_ISSET_ID, value);
|
| - |
|
19981 |
}
|
| - |
|
19982 |
|
| 19943 |
public void setFieldValue(_Fields field, Object value) {
|
19983 |
public void setFieldValue(_Fields field, Object value) {
|
| 19944 |
switch (field) {
|
19984 |
switch (field) {
|
| 19945 |
case ENTITY_ID:
|
19985 |
case ENTITY_ID:
|
| 19946 |
if (value == null) {
|
19986 |
if (value == null) {
|
| 19947 |
unsetEntityId();
|
19987 |
unsetEntityId();
|
| Line 19980... |
Line 20020... |
| 19980 |
} else {
|
20020 |
} else {
|
| 19981 |
setModelNumber((String)value);
|
20021 |
setModelNumber((String)value);
|
| 19982 |
}
|
20022 |
}
|
| 19983 |
break;
|
20023 |
break;
|
| 19984 |
|
20024 |
|
| - |
|
20025 |
case IS_ANDROID:
|
| - |
|
20026 |
if (value == null) {
|
| - |
|
20027 |
unsetIsAndroid();
|
| - |
|
20028 |
} else {
|
| - |
|
20029 |
setIsAndroid((Boolean)value);
|
| - |
|
20030 |
}
|
| - |
|
20031 |
break;
|
| - |
|
20032 |
|
| 19985 |
}
|
20033 |
}
|
| 19986 |
}
|
20034 |
}
|
| 19987 |
|
20035 |
|
| 19988 |
public Object getFieldValue(_Fields field) {
|
20036 |
public Object getFieldValue(_Fields field) {
|
| 19989 |
switch (field) {
|
20037 |
switch (field) {
|
| Line 20000... |
Line 20048... |
| 20000 |
return getModelName();
|
20048 |
return getModelName();
|
| 20001 |
|
20049 |
|
| 20002 |
case MODEL_NUMBER:
|
20050 |
case MODEL_NUMBER:
|
| 20003 |
return getModelNumber();
|
20051 |
return getModelNumber();
|
| 20004 |
|
20052 |
|
| - |
|
20053 |
case IS_ANDROID:
|
| - |
|
20054 |
return Boolean.valueOf(isIsAndroid());
|
| - |
|
20055 |
|
| 20005 |
}
|
20056 |
}
|
| 20006 |
throw new IllegalStateException();
|
20057 |
throw new IllegalStateException();
|
| 20007 |
}
|
20058 |
}
|
| 20008 |
|
20059 |
|
| 20009 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
20060 |
/** Returns true if field corresponding to fieldID is set (has been assigned a value) and false otherwise */
|
| Line 20021... |
Line 20072... |
| 20021 |
return isSetBrand();
|
20072 |
return isSetBrand();
|
| 20022 |
case MODEL_NAME:
|
20073 |
case MODEL_NAME:
|
| 20023 |
return isSetModelName();
|
20074 |
return isSetModelName();
|
| 20024 |
case MODEL_NUMBER:
|
20075 |
case MODEL_NUMBER:
|
| 20025 |
return isSetModelNumber();
|
20076 |
return isSetModelNumber();
|
| - |
|
20077 |
case IS_ANDROID:
|
| - |
|
20078 |
return isSetIsAndroid();
|
| 20026 |
}
|
20079 |
}
|
| 20027 |
throw new IllegalStateException();
|
20080 |
throw new IllegalStateException();
|
| 20028 |
}
|
20081 |
}
|
| 20029 |
|
20082 |
|
| 20030 |
@Override
|
20083 |
@Override
|
| Line 20083... |
Line 20136... |
| 20083 |
return false;
|
20136 |
return false;
|
| 20084 |
if (!this.modelNumber.equals(that.modelNumber))
|
20137 |
if (!this.modelNumber.equals(that.modelNumber))
|
| 20085 |
return false;
|
20138 |
return false;
|
| 20086 |
}
|
20139 |
}
|
| 20087 |
|
20140 |
|
| - |
|
20141 |
boolean this_present_isAndroid = true;
|
| - |
|
20142 |
boolean that_present_isAndroid = true;
|
| - |
|
20143 |
if (this_present_isAndroid || that_present_isAndroid) {
|
| - |
|
20144 |
if (!(this_present_isAndroid && that_present_isAndroid))
|
| - |
|
20145 |
return false;
|
| - |
|
20146 |
if (this.isAndroid != that.isAndroid)
|
| - |
|
20147 |
return false;
|
| - |
|
20148 |
}
|
| - |
|
20149 |
|
| 20088 |
return true;
|
20150 |
return true;
|
| 20089 |
}
|
20151 |
}
|
| 20090 |
|
20152 |
|
| 20091 |
@Override
|
20153 |
@Override
|
| 20092 |
public int hashCode() {
|
20154 |
public int hashCode() {
|
| Line 20149... |
Line 20211... |
| 20149 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelNumber, typedOther.modelNumber);
|
20211 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.modelNumber, typedOther.modelNumber);
|
| 20150 |
if (lastComparison != 0) {
|
20212 |
if (lastComparison != 0) {
|
| 20151 |
return lastComparison;
|
20213 |
return lastComparison;
|
| 20152 |
}
|
20214 |
}
|
| 20153 |
}
|
20215 |
}
|
| - |
|
20216 |
lastComparison = Boolean.valueOf(isSetIsAndroid()).compareTo(typedOther.isSetIsAndroid());
|
| - |
|
20217 |
if (lastComparison != 0) {
|
| - |
|
20218 |
return lastComparison;
|
| - |
|
20219 |
}
|
| - |
|
20220 |
if (isSetIsAndroid()) {
|
| - |
|
20221 |
lastComparison = org.apache.thrift.TBaseHelper.compareTo(this.isAndroid, typedOther.isAndroid);
|
| - |
|
20222 |
if (lastComparison != 0) {
|
| - |
|
20223 |
return lastComparison;
|
| - |
|
20224 |
}
|
| - |
|
20225 |
}
|
| 20154 |
return 0;
|
20226 |
return 0;
|
| 20155 |
}
|
20227 |
}
|
| 20156 |
|
20228 |
|
| 20157 |
public _Fields fieldForId(int fieldId) {
|
20229 |
public _Fields fieldForId(int fieldId) {
|
| 20158 |
return _Fields.findByThriftId(fieldId);
|
20230 |
return _Fields.findByThriftId(fieldId);
|
| Line 20203... |
Line 20275... |
| 20203 |
this.modelNumber = iprot.readString();
|
20275 |
this.modelNumber = iprot.readString();
|
| 20204 |
} else {
|
20276 |
} else {
|
| 20205 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
20277 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 20206 |
}
|
20278 |
}
|
| 20207 |
break;
|
20279 |
break;
|
| - |
|
20280 |
case 6: // IS_ANDROID
|
| - |
|
20281 |
if (field.type == org.apache.thrift.protocol.TType.BOOL) {
|
| - |
|
20282 |
this.isAndroid = iprot.readBool();
|
| - |
|
20283 |
setIsAndroidIsSet(true);
|
| - |
|
20284 |
} else {
|
| - |
|
20285 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| - |
|
20286 |
}
|
| - |
|
20287 |
break;
|
| 20208 |
default:
|
20288 |
default:
|
| 20209 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
20289 |
org.apache.thrift.protocol.TProtocolUtil.skip(iprot, field.type);
|
| 20210 |
}
|
20290 |
}
|
| 20211 |
iprot.readFieldEnd();
|
20291 |
iprot.readFieldEnd();
|
| 20212 |
}
|
20292 |
}
|
| Line 20237... |
Line 20317... |
| 20237 |
if (this.modelNumber != null) {
|
20317 |
if (this.modelNumber != null) {
|
| 20238 |
oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
|
20318 |
oprot.writeFieldBegin(MODEL_NUMBER_FIELD_DESC);
|
| 20239 |
oprot.writeString(this.modelNumber);
|
20319 |
oprot.writeString(this.modelNumber);
|
| 20240 |
oprot.writeFieldEnd();
|
20320 |
oprot.writeFieldEnd();
|
| 20241 |
}
|
20321 |
}
|
| - |
|
20322 |
oprot.writeFieldBegin(IS_ANDROID_FIELD_DESC);
|
| - |
|
20323 |
oprot.writeBool(this.isAndroid);
|
| - |
|
20324 |
oprot.writeFieldEnd();
|
| 20242 |
oprot.writeFieldStop();
|
20325 |
oprot.writeFieldStop();
|
| 20243 |
oprot.writeStructEnd();
|
20326 |
oprot.writeStructEnd();
|
| 20244 |
}
|
20327 |
}
|
| 20245 |
|
20328 |
|
| 20246 |
@Override
|
20329 |
@Override
|
| Line 20277... |
Line 20360... |
| 20277 |
sb.append("null");
|
20360 |
sb.append("null");
|
| 20278 |
} else {
|
20361 |
} else {
|
| 20279 |
sb.append(this.modelNumber);
|
20362 |
sb.append(this.modelNumber);
|
| 20280 |
}
|
20363 |
}
|
| 20281 |
first = false;
|
20364 |
first = false;
|
| - |
|
20365 |
if (!first) sb.append(", ");
|
| - |
|
20366 |
sb.append("isAndroid:");
|
| - |
|
20367 |
sb.append(this.isAndroid);
|
| - |
|
20368 |
first = false;
|
| 20282 |
sb.append(")");
|
20369 |
sb.append(")");
|
| 20283 |
return sb.toString();
|
20370 |
return sb.toString();
|
| 20284 |
}
|
20371 |
}
|
| 20285 |
|
20372 |
|
| 20286 |
public void validate() throws org.apache.thrift.TException {
|
20373 |
public void validate() throws org.apache.thrift.TException {
|