private List<Product> getProductsOverDateRange(String elementName, String productType,
String startOfQuery, String endOfQuery) throws CacheException {
List<Product> products = new Vector<Product>();
try {
Query query = new Query();
query.addCriterion(new RangeQueryCriteria(elementName,
startOfQuery, endOfQuery));
if(this.uniqueElementProductTypeNames != null &&
this.uniqueElementProductTypeNames.size() > 0){
for(Iterator<String> i = this.uniqueElementProductTypeNames.iterator(); i.hasNext(); ){
String productTypeName = i.next();