rp.setGroup(g);
rp.setEPerson(e);
    public static void addPolicy(Context c, DSpaceObject o, int action, Group g)        throws SQLException, AuthorizeException    {        ResourcePolicy rp = ResourcePolicy.create(c);                rp.setResource(o);        rp.setAction(action);        rp.setGroup(g);                rp.update();    }