Subversion Repositories SmartDukaan

Rev

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

Rev 2651 Rev 2733
Line 34... Line 34...
34
	private static final String SLIDE_SCORES = "SLIDE_SCORES";
34
	private static final String SLIDE_SCORES = "SLIDE_SCORES";
35
	private static final String CONTENT_GENERATION_TIME = "CONTENT_GENERATION_TIME";
35
	private static final String CONTENT_GENERATION_TIME = "CONTENT_GENERATION_TIME";
36
	private static final String INCONSISTENT_ENTITIES = "INCONSISTENT_ENTITIES";
36
	private static final String INCONSISTENT_ENTITIES = "INCONSISTENT_ENTITIES";
37
	private static final String HELPDOC_ENTITYIDS = "HELPDOC_ENTITYIDS";
37
	private static final String HELPDOC_ENTITYIDS = "HELPDOC_ENTITYIDS";
38
	private static final String RELATED_ACCESSORIES = "RELATED_ACCESSORIES";
38
	private static final String RELATED_ACCESSORIES = "RELATED_ACCESSORIES";
-
 
39
	private static final String COMPARISON_STATS = "COMPARISON_STATS";
39
	private static long helpDocId;
40
	private static long helpDocId;
40
 
41
 
41
	/**
42
	/**
42
	 * 
43
	 * 
43
	 * @param aThrowable
44
	 * @param aThrowable
Line 126... Line 127...
126
    @SuppressWarnings("unchecked")
127
    @SuppressWarnings("unchecked")
127
    public static Map<Long, Map<Long, List<Long>>> getRelatedAccessories() throws Exception {
128
    public static Map<Long, Map<Long, List<Long>>> getRelatedAccessories() throws Exception {
128
        return (Map<Long, Map<Long, List<Long>>>) StorageManager.getStorageManager().getDataObject(CreationUtils.RELATED_ACCESSORIES);       
129
        return (Map<Long, Map<Long, List<Long>>>) StorageManager.getStorageManager().getDataObject(CreationUtils.RELATED_ACCESSORIES);       
129
    }
130
    }
130
 
131
 
-
 
132
  
-
 
133
    /**
-
 
134
     * 
-
 
135
     * @param entity
-
 
136
     * @throws Exception
-
 
137
     */
-
 
138
    public static void storeComparisonStats(Map<Long, Map<Long, Long>> comparisonStats) throws Exception {
-
 
139
        StorageManager.getStorageManager().storeDataObject(CreationUtils.COMPARISON_STATS, comparisonStats);      
-
 
140
    }
131
    
141
    
-
 
142
  
-
 
143
    /**
-
 
144
     * 
-
 
145
     * @return
-
 
146
     * @throws Exception
-
 
147
     */
-
 
148
    @SuppressWarnings("unchecked")
-
 
149
    public static Map<Long, Map<Long, Long>> getComparisonStats() throws Exception {
-
 
150
        return (Map<Long, Map<Long, Long>>) StorageManager.getStorageManager().getDataObject(CreationUtils.COMPARISON_STATS);       
-
 
151
    }
-
 
152
 
132
	/**
153
	/**
133
	 * 
154
	 * 
134
	 * @param featureDefinitionID
155
	 * @param featureDefinitionID
135
	 * @return
156
	 * @return
136
	 * @throws Exception
157
	 * @throws Exception