 
 package eu.stefaner.elasticlists.data {	
 	import eu.stefaner.elasticlists.App;
+
 	import org.osflash.thunderbolt.Logger;
+
 	import flash.events.EventDispatcher;
 	import flash.utils.Dictionary;
+
 	/**
 	 *  Model
 	 *	

			}
			applyFilters();
		};
		// gets selected filters from facets, stores them in activeFilters dict
		public function updateActiveFilters() : void {
			activeFilters = new Dictionary();

			}
			return null;				
		}

		public function updateGlobalFacetStats() : void {
			for each (var facet:Facet in facets) {
				facet.calcGlobalStats();
			}
		}

		public function updateLocalFacetStats() : void {
			for each (var facet:Facet in facets) {
				facet.calcLocalStats();
			}
		}

		//---------------------------------------
		// CONTENTITEMS
		//---------------------------------------
		public function createContentItem(id : String) : ContentItem {
			return getContentItemById(id) || addContentItem(app.createContentItem(id));
		};

		public function getContentItemById(id : String) : ContentItem {
			return contentItemsById[id];
		}

		// REVISIT: lookup should be moved to Facet object?
		public function getAllContentItemsForFacetValue(f : FacetValue) : Array {
			if(allContentItemsForFacetValue[f] == undefined) {
