protected ActionCommand[] doGetPopUpCommands() { if (BookingFactory.getInstance().getApplicationFacade().isInRole(IRoleDefinitions.SUPERUSER)) { return new ActionCommand[] {newCommand, editCommand, copyCommand, deleteCommand}; } else { return new ActionCommand[] {}; } }
protected Map getSelectableItems() { // return bean.getSelectableItems(); return BookingFactory.getInstance().getDataProvider().getSelectableItems(); }