Query q = queryFactory.lookup( "ome.servics.query.GetImagesQueryDefinition", PojosQP.options(po.map()));
Query q = queryFactory.lookup(" select i from Image i " + "where i.details.owner.id = :id ", PojosQP.Long("id",po.getExperimenter()));
	public Set getUserImages(Map options) {				PojoOptions po = new PojoOptions(options);				if (!po.isExperimenter() ) { // FIXME && !po.isGroup()){			throw new IllegalArgumentException(					"experimenter or group option " +                    "is required for getUserImages().");		}	        Query q = queryFactory.lookup(                "ome.servics.query.GetImagesQueryDefinition",                PojosQP.options(po.map()));        List l = (List) iQuery.execute(q);        collectCounts(l,po);		return new HashSet(l);			}