Examples of loadListDomainsByType()


Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

      {
        response.setAttribute("loopback", "true");
        return;
      }
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dialects = domaindao.loadListDomainsByType("DIALECT_HIB");
      response.setAttribute(NAME_ATTR_LIST_DIALECTS, dialects);
      response.setAttribute("modality", modalita);
      response.setAttribute("dsObj", ds);
    } catch (Exception ex) {
      logger.error("Cannot fill response container" + ex.getLocalizedMessage())

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

      } else {       
        //update ds
        dao.modifyDataSource(dsNew);     
     
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dialects = domaindao.loadListDomainsByType("DIALECT_HIB");
      serviceResponse.setAttribute(NAME_ATTR_LIST_DIALECTS, dialects);
     
      if (serviceRequest.getAttribute("SUBMESSAGEDET") != null &&
        ((String)serviceRequest.getAttribute("SUBMESSAGEDET")).equalsIgnoreCase(MOD_SAVE)) { 
        serviceResponse.setAttribute("modality", mod);

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

      ds.setDriver("");
      ds.setMultiSchema(false);
      ds.setSchemaAttribute("");
      response.setAttribute("dsObj", ds);
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dialects = domaindao.loadListDomainsByType("DIALECT_HIB");
      response.setAttribute(NAME_ATTR_LIST_DIALECTS, dialects);
    } catch (Exception ex) {
      logger.error("Cannot prepare page for the insertion" , ex);   
      throw new EMFUserError(EMFErrorSeverity.ERROR, 100);
    }

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

   * @throws Exception
   */
  public void fillResponse(String initialPath) throws EMFUserError {
    try {
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
          List types = domaindao.loadListDomainsByType("BIOBJ_TYPE");        
          // load list of states and engines
          List states = domaindao.loadListDomainsByType("STATE");
          List engines =  DAOFactory.getEngineDAO().loadAllEngines();
          List datasource =  DAOFactory.getDataSourceDAO().loadAllDataSources();
         List dataset=DAOFactory.getDataSetDAO().loadAllActiveDataSets();

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

  public void fillResponse(String initialPath) throws EMFUserError {
    try {
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
          List types = domaindao.loadListDomainsByType("BIOBJ_TYPE");        
          // load list of states and engines
          List states = domaindao.loadListDomainsByType("STATE");
          List engines =  DAOFactory.getEngineDAO().loadAllEngines();
          List datasource =  DAOFactory.getDataSourceDAO().loadAllDataSources();
         List dataset=DAOFactory.getDataSetDAO().loadAllActiveDataSets();
          // List languages = ConfigSingleton.getInstance().getFilteredSourceBeanAttributeAsList("LANGUAGE_SUPPORTED", "LANGUAGE", "language");
        response.setAttribute(DetailBIObjectModule.NAME_ATTR_LIST_ENGINES, engines);

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

        response.setAttribute("name", "");
        response.setAttribute("description", "");
       
        // load list of states and engines
        IDomainDAO domaindao = DAOFactory.getDomainDAO();
        List states = domaindao.loadListDomainsByType("STATE");
          response.setAttribute(DossierConstants.DOSSIER_PRESENTATION_LIST_STATES, states);
       
        response.setAttribute("PublishMessage", msgBuilder.getMessage("dossier.presPublished", "component_dossier_messages"));
        response.setAttribute(DossierConstants.DOSSIER_ID, dossierIdStr);
        response.setAttribute(DossierConstants.VERSION_ID, versionIdStr);

Examples of it.eng.spagobi.commons.dao.IDomainDAO.loadListDomainsByType()

      response.setAttribute(DossierConstants.PUBLISHER_NAME, "publishPresentation");
      response.setAttribute(DossierConstants.DOSSIER_ID, dossierIdStr);
      response.setAttribute(DossierConstants.VERSION_ID, versionIdStr);
       // load list of states and engines
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List states = domaindao.loadListDomainsByType("STATE");
        response.setAttribute(DossierConstants.DOSSIER_PRESENTATION_LIST_STATES, states);
    } catch(Exception e){
      logger.error("Error while preparing page for publishing", e);
    } finally {
      logger.debug("OUT");
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.