complexQueryHash.put("queryFilter", getXmlRpcQueryFilter(complexQuery.getQueryFilter()));
return complexQueryHash;
}
public static ComplexQuery getComplexQueryFromXmlRpc(Hashtable<String, Object> complexQueryHash) {
ComplexQuery complexQuery = new ComplexQuery();
complexQuery.setCriteria(getQueryFromXmlRpc(complexQueryHash).getCriteria());
if (((Vector<String>) complexQueryHash.get("reducedProductTypeNames")).size() > 0)
complexQuery.setReducedProductTypeNames((Vector<String>) complexQueryHash.get("reducedProductTypeNames"));
if (((Vector<String>) complexQueryHash.get("reducedMetadata")).size() > 0)
complexQuery.setReducedMetadata((Vector<String>) complexQueryHash.get("reducedMetadata"));
complexQuery.setSortByMetKey((String) complexQueryHash.get("sortByMetKey"));
complexQuery.setToStringResultFormat((String) complexQueryHash.get("toStringResultFormat"));
if (complexQueryHash.get("queryFilter") != null)
complexQuery.setQueryFilter(getQueryFilterFromXmlRpc((Hashtable<String, Object>) complexQueryHash.get("queryFilter")));
return complexQuery;
}