Subversion Repositories SmartDukaan

Rev

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

Rev 32 Rev 34
Line 162... Line 162...
162
	}
162
	}
163
	
163
	
164
	/**
164
	/**
165
	 * 
165
	 * 
166
	 * @param categoryID
166
	 * @param categoryID
-
 
167
	 * @return List<Category> 
-
 
168
	 * @throws Exception
-
 
169
	 */
-
 
170
	public List<Category> getChildrenCategories(long categoryID) 
-
 
171
		throws Exception {
-
 
172
		
-
 
173
		// Initialize 
-
 
174
		if(this.categories == null) {
-
 
175
			this.getCategories();
-
 
176
		}
-
 
177
		
-
 
178
		return this.categories.get(new Long(categoryID)).getChildrenCategory();
-
 
179
	}
-
 
180
	/**
-
 
181
	 * 
-
 
182
	 * @param categoryID
167
	 * @return List<CategorySlideDefinition> 
183
	 * @return List<CategorySlideDefinition> 
168
	 * @throws Exception 
184
	 * @throws Exception 
169
	 */
185
	 */
170
	public List<CategorySlideDefinition> getCategorySlideDefinitions(
186
	public List<CategorySlideDefinition> getCategorySlideDefinitions(
171
			long categoryID) throws Exception {
187
			long categoryID) throws Exception {