Subversion Repositories SmartDukaan

Rev

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

Rev 8905 Rev 22647
Line 694... Line 694...
694
     * @throws Exception
694
     * @throws Exception
695
     */
695
     */
696
    public static void storeSynonyms(Map<String, Map<String, String>> synonyms) throws Exception {
696
    public static void storeSynonyms(Map<String, Map<String, String>> synonyms) throws Exception {
697
    	StorageManager.getStorageManager().storeDataObject(CreationUtils.SYNONYMS, synonyms);      
697
    	StorageManager.getStorageManager().storeDataObject(CreationUtils.SYNONYMS, synonyms);      
698
    }
698
    }
-
 
699
    
-
 
700
    public static List<Entity> getEntitiesMarkedReady(long time) throws Exception {
-
 
701
    	List<Long> entityIds = StorageManager.getStorageManager().getEntityIdsAfter(time);
-
 
702
    	List<Entity> returnEntities = new ArrayList<Entity>();
-
 
703
    	for (Long entityId: entityIds) {
-
 
704
    		returnEntities.add(CreationUtils.getEntity(entityId));
-
 
705
    	}
-
 
706
    	return returnEntities;
-
 
707
    }
699
  
708
  
700
}
709
}