161162163164165166167168169170171
} } else { Command cmd = null; if (actions[i] instanceof IAddFormProvider) { IAddForm form = ((IAddFormProvider)actions[i]).getAddForm(null); if (AuthorizationProvider.isObjectAuthorized(form)) cmd = new AddFormCommand(form); } else