Item myItem = i.next();  filterItem(c, myItem);   c.commit();
applyFiltersItem(c, i.next());
    public static void applyFiltersAllItems(Context c) throws Exception    {        ItemIterator i = Item.findAll(c);        while (i.hasNext())        {            Item myItem = i.next();            filterItem(c, myItem);            // commit changes after each filtered item            c.commit();        }    }