Subversion Repositories SmartDukaan

Rev

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

Rev 4802 Rev 5930
Line 88... Line 88...
88
			// Skip categories with value as -1 or categories except mobile phones and tablets
88
			// Skip categories with value as -1 or categories except mobile phones and tablets
89
			long categoryId = entity.getCategoryID();
89
			long categoryId = entity.getCategoryID();
90
			if(categoryId == -1){
90
			if(categoryId == -1){
91
				continue;
91
				continue;
92
			}
92
			}
93
			Category parentCategory = Catalog.getInstance().getDefinitionsContainer().getCategory(categoryId).getParentCategory();
93
			Category category = Catalog.getInstance().getDefinitionsContainer().getCategory(categoryId);
94
			
94
			
95
            if(parentCategory.isComparable()) {
95
            if(category.isComparable()) {
96
            	ExpandedEntity expEntity = new ExpandedEntity(entity);
96
            	ExpandedEntity expEntity = new ExpandedEntity(entity);
97
 
97
 
98
            	Map<Long, Double> slideScores = this.getSlideScores(expEntity);
98
            	Map<Long, Double> slideScores = this.getSlideScores(expEntity);
99
            	slideScoresByEntityID.put(entity.getID(), slideScores);
99
            	slideScoresByEntityID.put(entity.getID(), slideScores);
100
			}
100
			}