Examples of ReportContentLocal


Examples of com.centraview.report.ejb.entity.ReportContentLocal

  public int addAdHocReport(int userId, ReportVO reportVO)
  {
    try {
      ReportLocalHome reportHome = EntityHomeFactory.getReportLocalHome();
      ReportContentLocalHome reportContentHome = EntityHomeFactory.getReportContentLocalHome();
      ReportContentLocal reportContentLocal = null;
      ReportContentVO field = null;
      int n = 0;
      int reportId = 0;
      short seqNumber = 0;
      Byte sortSeq = null;
View Full Code Here

Examples of com.centraview.report.ejb.entity.ReportContentLocal

      ArrayList selectedTopFields = new ArrayList();

      ReportVO reportVO = getStandardReport(userId, reportId);

      ReportContentLocalHome reportContentHome = EntityHomeFactory.getReportContentLocalHome();
      ReportContentLocal reportContent = null;
      Collection reportContents = reportContentHome.findByReport(reportId, this.dataSource);
      for (Iterator iterator = reportContents.iterator(); iterator.hasNext();) {
        reportContent = (ReportContentLocal) iterator.next();
        tableId = reportContent.getTableId();
        fieldId = reportContent.getFieldId();
        fieldName = getFieldName(fieldId, tableId);
        selectedTopFields.add(new ReportContentVO(fieldId, tableId, fieldName, reportContent.getSortOrderSequence(), reportContent.getSortOrder()));
      }
      reportVO.setSelectedFields(selectedTopFields);
      return reportVO;
    } catch (Exception e) {
      throw new EJBException(e);
View Full Code Here

Examples of com.centraview.report.ejb.entity.ReportContentLocal

    try {
      int n = 0;
      int reportId = 0;
      short seqNumber = 0;
      ReportContentVO field = null;
      ReportContentLocal reportContentLocal = null;
      ReportContentLocalHome reportContentHome = EntityHomeFactory.getReportContentLocalHome();

      reportId = updateStandardReport(userId, reportVO, true);

      for (Iterator iterator = reportContentHome.findByReport(reportId, this.dataSource).iterator(); iterator.hasNext();) {
        reportContentLocal = (ReportContentLocal) iterator.next();
        reportContentLocal.remove();
      }

      ArrayList selectedFields = reportVO.getSelectedFields();
      n = selectedFields.size();
      for (int i = 0; i < n; i++) {
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.