implemented getFoodItems method with criteria query usage