Examples of loadListDomainsByType()


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

      {
        response.setAttribute("loopback", "true");
        return;
      }
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dataTypes = domaindao.loadListDomainsByType("OBJMETA_DATA_TYPE");
      response.setAttribute(OBJMETA_DATA_TYPE, dataTypes);
      response.setAttribute("modality", modalita);
      response.setAttribute("metaObj", meta);
    } catch (Exception ex) {
      logger.error("Cannot fill response container" + ex.getLocalizedMessage())

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

      } else {       
        //update metadata
        dao.modifyObjMetadata(metaNew);     
     
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dataTypes = domaindao.loadListDomainsByType("OBJMETA_DATA_TYPE");
      serviceResponse.setAttribute(OBJMETA_DATA_TYPE, dataTypes);
     
      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()

      meta.setName("");
      meta.setCreationDate(null);
      response.setAttribute("metaObj", meta);
     
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dataTypes = domaindao.loadListDomainsByType("OBJMETA_DATA_TYPE");
      response.setAttribute(OBJMETA_DATA_TYPE, dataTypes);
     
    } 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()

            "Exception occurred while deleting user attribute",
            e);
      }
    }else if(serviceType == null){
      try {
        List types = daoDomain.loadListDomainsByType(UDP_TYPES);
        getSessionContainer().setAttribute("TYPE_LIST", types);
        List families = daoDomain.loadListDomainsByType(UDP_FAMILIES);
        getSessionContainer().setAttribute("FAMILY_LIST", families);
       
      } catch (EMFUserError e) {

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

      }
    }else if(serviceType == null){
      try {
        List types = daoDomain.loadListDomainsByType(UDP_TYPES);
        getSessionContainer().setAttribute("TYPE_LIST", types);
        List families = daoDomain.loadListDomainsByType(UDP_FAMILIES);
        getSessionContainer().setAttribute("FAMILY_LIST", families);
       
      } catch (EMFUserError e) {
        logger.error(e.getMessage(), e);
        throw new SpagoBIServiceException(SERVICE_NAME,

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

  private void getDistributionList(SourceBean request, SourceBean response) throws EMFUserError {   
    try {                      
      DistributionList dl = DAOFactory.getDistributionListDAO().loadDistributionListById(new Integer((String)request.getAttribute("DL_ID")));   
      this.modalita = SpagoBIConstants.DETAIL_SELECT;
      IDomainDAO domaindao = DAOFactory.getDomainDAO();
      List dialects = domaindao.loadListDomainsByType("DIALECT_HIB");
      response.setAttribute(NAME_ATTR_LIST_DIALECTS, dialects);
      response.setAttribute("modality", modalita);
      response.setAttribute("dlObj", dl);
    } catch (Exception ex) {
      logger.error("Cannot fill response container" + ex.getLocalizedMessage())

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

     
      List defaultRoles = _config.getAttributeAsList("DEFAULT_ROLES.ROLE");
      IRoleDAO roleDAO= DAOFactory.getRoleDAO();
      roleDAO.setUserID("server_init");
      IDomainDAO domainDAO = DAOFactory.getDomainDAO();
        List<Domain> domains =domainDAO.loadListDomainsByType("ROLE_TYPE");
        HashMap<String, Integer> domainIds = new HashMap<String, Integer> ();
        for(int i=0; i< domains.size(); i++){
          domainIds.put(domains.get(i).getValueCd(), domains.get(i).getValueId());
        }
       

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("dlObj", dl);
    } catch (Exception ex) {
      logger.error("Cannot fill response container" + ex.getLocalizedMessage())

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

      } else {       
        //updates dl
        dao.modifyDistributionList(dlNew);     
     
      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()

      dl.setId(-1);
      dl.setDescr("");
      dl.setName("");
      response.setAttribute("dlObj", dl);
      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);
    }
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.