Subversion Repositories SmartDukaan

Rev

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

Rev 49 Rev 51
Line 8... Line 8...
8
 
8
 
9
import in.shop2020.metamodel.definitions.Category;
9
import in.shop2020.metamodel.definitions.Category;
10
import in.shop2020.metamodel.definitions.CategorySlideDefinition;
10
import in.shop2020.metamodel.definitions.CategorySlideDefinition;
11
 
11
 
12
/**
12
/**
-
 
13
 * Utility class that supports Category class. All related objects are fetched 
-
 
14
 * from database and aggregated here.
-
 
15
 *
13
 * @author naveen
16
 * @author naveen
14
 *
17
 *
15
 */
18
 */
16
public class ExpandedCategory extends Category {
19
public class ExpandedCategory extends Category {
17
	
20
	
18
	/**
21
	/**
19
	 * 
-
 
-
 
22
	 * Expanded from list of CategorySlideDefinition IDs
20
	 */
23
	 */
21
	private List<ExpandedCategorySlideDefinition> 
24
	private List<ExpandedCategorySlideDefinition> 
22
		expandedCategorySlideDefintions;
25
		expandedCategorySlideDefintions;
23
 
26
 
24
	/**
27
	/**
25
	 * 
28
	 * 
26
	 */
29
	 */
27
	private static final long serialVersionUID = 1L;
30
	private static final long serialVersionUID = 1L;
28
 
31
 
29
	/**
32
	/**
-
 
33
	 * Takes Category as input and converts all references into corresponding 
-
 
34
	 * detail objects
-
 
35
	 * 
30
	 * @param Category category
36
	 * @param Category category
31
	 * @throws Exception 
37
	 * @throws Exception 
32
	 */
38
	 */
33
	public ExpandedCategory(Category category) throws Exception {
39
	public ExpandedCategory(Category category) throws Exception {
34
		super(category.getID());
40
		super(category.getID());