Subversion Repositories SmartDukaan

Rev

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

Rev 2208 Rev 2252
Line 239... Line 239...
239
                thriftItem.getOtherInfo(),
239
                thriftItem.getOtherInfo(),
240
                thriftItem.getBestDealText(),
240
                thriftItem.getBestDealText(),
241
                thriftItem.isSetBestDealValue() ? thriftItem.getBestDealValue() : -1,
241
                thriftItem.isSetBestDealValue() ? thriftItem.getBestDealValue() : -1,
242
                thriftItem.isSetBestSellingRank() ? thriftItem.getBestSellingRank() : -1,
242
                thriftItem.isSetBestSellingRank() ? thriftItem.getBestSellingRank() : -1,
243
                thriftItem.isDefaultForEntity(),
243
                thriftItem.isDefaultForEntity(),
-
 
244
                thriftItem.isRisky(),
244
                (thriftItem.getItemInventory() != null ? thriftItem.getItemInventory().getAvailability() : null),
245
                (thriftItem.getItemInventory() != null ? thriftItem.getItemInventory().getAvailability() : null),
245
                vendorPricingMap,
246
                vendorPricingMap,
246
                vItemMap
247
                vItemMap
247
                );
248
                );
248
        return item;
249
        return item;
Line 444... Line 445...
444
            tItem.setBestSellingRank(item.getBestSellingRank());
445
            tItem.setBestSellingRank(item.getBestSellingRank());
445
        } else {
446
        } else {
446
            tItem.setBestSellingRankIsSet(false);
447
            tItem.setBestSellingRankIsSet(false);
447
        }
448
        }
448
        tItem.setDefaultForEntity(item.isDefaultForEntity());
449
        tItem.setDefaultForEntity(item.isDefaultForEntity());
-
 
450
        tItem.setRisky(item.isRisky());
449
        
451
        
450
        tItem.setStartDate(item.getStartDate());
452
        tItem.setStartDate(item.getStartDate());
451
        tItem.setUpdatedOn(Calendar.getInstance().getTimeInMillis());
453
        tItem.setUpdatedOn(Calendar.getInstance().getTimeInMillis());
452
        tItem.setRetireDate(item.getRetireDate());
454
        tItem.setRetireDate(item.getRetireDate());
453
        tItem.setHotspotCategory(item.getVendorCategory());
455
        tItem.setHotspotCategory(item.getVendorCategory());