Query q = queryFactory.lookup(
Query<List<IObject>> q = queryFactory.lookup(
	public Set getImages(@NotNull Class rootNodeType,             @NotNull @Validate(Long.class) Set rootNodeIds, Map options) {				if (rootNodeIds.size()==0){			return new HashSet();		}		PojoOptions po = new PojoOptions(options);        Query q = queryFactory.lookup(                PojosGetImagesQueryDefinition.class.getName(),                new Parameters()                    .addIds(rootNodeIds)                    .addClass(rootNodeType)                    .addOptions(po.map()));        List l = (List) iQuery.execute(q);        collectCounts(l,po);        return new HashSet(l);			}