companyBas[i].isInsertEnabled(),
companyBas[i].isEditEnabled(),
companyBas[i].isDeleteEnabled()
);
ButtonsAuthorizations ba = new ButtonsAuthorizations();
ButtonAuthorization[] bas = bean.getButtonsAuthorizations(langId, username);
for(int i=0;i<bas.length;i++)
ba.addButtonAuthorization(
bas[i].getFunctionId(),
bas[i].isInsertEnabled(),
bas[i].isEditEnabled(),
bas[i].isDeleteEnabled()
);