Subversion Repositories SmartDukaan

Rev

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

Rev 41 Rev 45
Line 2... Line 2...
2
 * 
2
 * 
3
 */
3
 */
4
package in.shop2020.metamodel.definitions;
4
package in.shop2020.metamodel.definitions;
5
 
5
 
6
import in.shop2020.metamodel.util.DBUtils;
6
import in.shop2020.metamodel.util.DBUtils;
-
 
7
import in.shop2020.metamodel.util.ExpandedCategory;
7
import in.shop2020.metamodel.util.MM;
8
import in.shop2020.metamodel.util.MM;
8
 
9
 
9
import java.io.Serializable;
10
import java.io.Serializable;
10
import java.util.ArrayList;
11
import java.util.ArrayList;
11
import java.util.Iterator;
12
import java.util.Iterator;
Line 162... Line 163...
162
	}
163
	}
163
	
164
	
164
	/**
165
	/**
165
	 * 
166
	 * 
166
	 * @param categoryID
167
	 * @param categoryID
-
 
168
	 * @return ExpandedCategory
-
 
169
	 * @throws Exception
-
 
170
	 */
-
 
171
	public ExpandedCategory getExpandedCategory(long categoryID) 
-
 
172
		throws Exception {
-
 
173
		Category category = this.getCategory(categoryID);
-
 
174
		
-
 
175
		ExpandedCategory expCategory = new ExpandedCategory(category);
-
 
176
		
-
 
177
		return expCategory;
-
 
178
	}
-
 
179
	
-
 
180
	/**
-
 
181
	 * 
-
 
182
	 * @param categoryID
167
	 * @return List<Category> 
183
	 * @return List<Category> 
168
	 * @throws Exception
184
	 * @throws Exception
169
	 */
185
	 */
170
	public List<Category> getChildrenCategories(long categoryID) 
186
	public List<Category> getChildrenCategories(long categoryID) 
171
		throws Exception {
187
		throws Exception {