biobj.setFunctionalities(storeInFunctionalities);
biobj.setStateCode(stateCode);
biobj.setStateID(stateId);
biobj.setVisible((visible? new Integer(1): new Integer(0)));
IBIObjectDAO objectDAO = DAOFactory.getBIObjectDAO();
objectDAO.setUserProfile(profile);
objectDAO.insertBIObject(biobj, templ);
// put data into response
response.setAttribute(SpagoBIConstants.FUNCTIONALITIES_LIST, functionalities);
response.setAttribute(DossierConstants.PUBLISHER_NAME, "publishPresentation");
response.setAttribute("label", "");
response.setAttribute("name", "");