Package it.eng.spagobi.analiticalmodel.document.dao

Examples of it.eng.spagobi.analiticalmodel.document.dao.ISubreportDAO.loadSubreportsByMasterRptId()


           
      subreportDAO = DAOFactory.getSubreportDAO();
        bobjectDAO = DAOFactory.getBIObjectDAO();
        templateDAO = DAOFactory.getObjTemplateDAO();
 
        subreports = subreportDAO.loadSubreportsByMasterRptId( reportBObject.getId() );
        for (int i = 0; i < subreports.size(); i++) {
          subreport = subreports.get(i);
        subreportBObject = bobjectDAO.loadBIObjectForDetail(subreport.getSub_rpt_id());
        subreportTemplate = templateDAO.getBIObjectActiveTemplate(subreportBObject.getId());
       
View Full Code Here


            // the required master document is exactly the current document
            return false;
          }
          logger.debug("Jasper master report id: " + masterReportIdStr + ". Looking for subreports...");
          ISubreportDAO subrptdao = DAOFactory.getSubreportDAO();
          List subreportList = subrptdao.loadSubreportsByMasterRptId(masterReportId);
          boolean subreportFound = false;
            for (int i = 0; i < subreportList.size(); i++) {
            Subreport subreport = (Subreport) subreportList.get(i);
            if (subreport.getSub_rpt_id().equals(biobj.getId())) {
              subreportFound = true;
View Full Code Here

      // export parameters dependecies
      exporter.insertBiParamDepend(biparams, session);

      // export subReport relation
      ISubreportDAO subRepDao = DAOFactory.getSubreportDAO();
      List subList = subRepDao.loadSubreportsByMasterRptId(biobj.getId());
      Iterator itersub = subList.iterator();
      while (itersub.hasNext()) {
        Subreport subRep = (Subreport) itersub.next();
        exporter.insertSubReportAssociation(subRep, session);
        exportSingleObj(subRep.getSub_rpt_id().toString());
View Full Code Here

    try {
      ISubreportDAO subrptdao = DAOFactory.getSubreportDAO();
      IBIObjectDAO biobjectdao = DAOFactory.getBIObjectDAO();

      List subreportList = subrptdao
      .loadSubreportsByMasterRptId(masterReportId);
      for (int i = 0; i < subreportList.size(); i++) {
        Subreport subreport = (Subreport) subreportList.get(i);
        BIObject subrptbiobj = biobjectdao
        .loadBIObjectForDetail(subreport.getSub_rpt_id());
View Full Code Here

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.