Subversion Repositories SmartDukaan

Rev

Rev 832 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 832 Rev 942
Line 69... Line 69...
69
	 * 
69
	 * 
70
	 */
70
	 */
71
    public HttpHeaders show() throws SecurityException, IOException {
71
    public HttpHeaders show() throws SecurityException, IOException {
72
    	log.info("id=" + id);
72
    	log.info("id=" + id);
73
    	this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(Long.parseLong(id));
73
    	this.categoryName = CategoryManager.getCategoryManager().getCategoryLabel(Long.parseLong(id));
74
    	
-
 
75
		htmlSnippets.put("CATEGORY_HEADER", pageLoader.getCategoryHeaderSnippet());
-
 
76
 
74
 
77
		String[] facetDefIDs = new String[] {"Category","F_50002","F_50001",  "F_50006", "F_50007" };
75
		String[] facetDefIDs = new String[] {"Category","F_50002","F_50001",  "F_50006", "F_50007" };
78
    	
76
    	
79
    	String[] facetLabels = new String[] {"Category","Price", "Brand", "Data Connectivity", "Camera Resolution" 	};
77
    	String[] facetLabels = new String[] {"Category","Price", "Brand", "Data Connectivity", "Camera Resolution" 	};
80
 
78
 
Line 201... Line 199...
201
    	return this.id;
199
    	return this.id;
202
    }
200
    }
203
    
201
    
204
    public String getCategoryName() {
202
    public String getCategoryName() {
205
    	return this.categoryName;
203
    	return this.categoryName;
206
    }
204
    }	
207
    
-
 
208
    
-
 
209
    public String getSearchHeaderSnippet(){
-
 
210
		return htmlSnippets.get("SEARCH_HEADER");
-
 
211
	}
-
 
212
	
-
 
213
	public String getSearchDetailsSnippet(){
-
 
214
		return htmlSnippets.get("SEARCH_DETAILS");
-
 
215
	}
-
 
216
	
-
 
217
	
205
	
218
	public String getQuery() {
206
	public String getQuery() {
219
    	return this.query;
207
    	return this.query;
220
    }
208
    }
221
    
209