Subversion Repositories SmartDukaan

Rev

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

Rev 22647 Rev 22648
Line 695... Line 695...
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
    
699
    
700
    public static List<Entity> getEntitiesMarkedReady(long time) throws Exception {
700
    public static List<Long> getEntitiesMarkedReady(long time) throws Exception {
701
    	List<Long> entityIds = StorageManager.getStorageManager().getEntityIdsAfter(time);
701
    	List<Long> entityIds = StorageManager.getStorageManager().getEntityIdsAfter(time);
702
    	List<Entity> returnEntities = new ArrayList<Entity>();
702
    	/*List<Entity> returnEntities = new ArrayList<Entity>();
703
    	for (Long entityId: entityIds) {
703
    	for (Long entityId: entityIds) {
704
    		returnEntities.add(CreationUtils.getEntity(entityId));
704
    		returnEntities.add(CreationUtils.getEntity(entityId));
705
    	}
705
    	}
706
    	return returnEntities;
706
    	return returnEntities;*/
-
 
707
    	return entityIds;
707
    }
708
    }
708
  
709
  
709
}
710
}