Subversion Repositories SmartDukaan

Rev

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

Rev 9280 Rev 9313
Line 253... Line 253...
253
	public static void main (String [] args) throws Exception{
253
	public static void main (String [] args) throws Exception{
254
		PojoCreator creator = new PojoCreator();
254
		PojoCreator creator = new PojoCreator();
255
		//System.out.println(creator.getShortContent(1007425l));
255
		//System.out.println(creator.getShortContent(1007425l));
256
	}
256
	}
257
	
257
	
258
	public void updateCatalogInfo(long entityId, double sellingPrice, double mrp, String offerText, Double minEmi, List<ItemPojo> items) {
258
	public void updateCatalogInfo(long entityId, String offerText, List<ItemPojo> items) {
259
		ContentPojo cp = new ContentPojo(entityId);
259
		ContentPojo cp = new ContentPojo(entityId);
260
		cp.setPrice(sellingPrice);
-
 
261
		cp.setMinEmi(minEmi);
-
 
262
		cp.setMrp(mrp);
-
 
263
		cp.setOfferText(offerText);
260
		cp.setOfferText(offerText);
264
		cp.setItems(items);
261
		cp.setItems(items);
265
		
-
 
266
		StorageManager.addById(StorageManager.views.siteContent, entityId, cp);
262
		StorageManager.addById(StorageManager.views.siteContent, entityId, cp);
267
	}
263
	}
268
}
264
}