Subversion Repositories SmartDukaan

Rev

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

Rev 31497 Rev 31498
Line 254... Line 254...
254
			Double category = (Double) mobileBrand.get("categoryId");
254
			Double category = (Double) mobileBrand.get("categoryId");
255
 
255
 
256
			Double rank = (Double) mobileBrand.get("rank");
256
			Double rank = (Double) mobileBrand.get("rank");
257
 
257
 
258
			BrandCategory brandCategory = new BrandCategory();
258
			BrandCategory brandCategory = new BrandCategory();
259
			brandCategory.setActive((Boolean) mobileBrand.get("active"));
259
			brandCategory.setActive((boolean) mobileBrand.get("active"));
260
			brandCategory.setCategoryId(category.intValue());
260
			brandCategory.setCategoryId(category.intValue());
261
			brandCategory.setBrandId(brand.getId());
261
			brandCategory.setBrandId(brand.getId());
262
			brandCategory.setRank(rank.intValue());
262
			brandCategory.setRank(rank.intValue());
263
			brandCategoryRepository.persist(brandCategory);
263
			brandCategoryRepository.persist(brandCategory);
264
 
264