c.addWantedField("images.default_pixels", "ImageServerID"); c.addWantedField("images.default_pixels", "Repository"); c.addWantedField("images.default_pixels.Repository", "ImageServerURL");
PixelsMapper.fieldsForPixels(c, "images.default_pixels");
	public static Criteria buildImagesCriteria(List datasetIDs, Map filters,                                    Map complexFilters)	{		Criteria c = new Criteria();				//Specify which fields we want for the images.		c.addWantedField("images");		c.addWantedField("images", "name");        c.addWantedField("images", "created");		c.addWantedField("images", "default_pixels");				//Specify which fields we want for the pixels		c.addWantedField("images.default_pixels", "ImageServerID");        c.addWantedField("images.default_pixels", "Repository");        c.addWantedField("images.default_pixels.Repository", "ImageServerURL");        if (datasetIDs != null) c.addFilter("id", "IN", datasetIDs);        UserMapper.setFilters(c, filters, complexFilters);		return c;	}