Openbravo Issue Tracking System - Openbravo ERP
View Issue Details
0025201Openbravo ERPA. Platformpublic2013-11-22 14:352014-01-17 15:49
caristu 
shankarb 
highminoralways
closedfixed 
5
pi 
3.0PR14Q23.0PR14Q2 
AugustoMauch
Core
No
0025201: Make public the PrintController class methods
It would be nice if some of the PrintController class methods like buildReport() or printReports() would be public. This way, they could be used directly for other custom java classes in order to render reports for example.
.
No tags attached.
diff FixIssue25201.diff (2,904) 2013-12-31 05:55
https://issues.openbravo.com/file_download.php?file_id=6595&type=bug
Issue History
2013-11-22 14:35caristuNew Issue
2013-11-22 14:35caristuAssigned To => AugustoMauch
2013-11-22 14:35caristuModules => Core
2013-11-22 14:35caristuTriggers an Emergency Pack => No
2013-11-22 14:36caristuTypefeature request => design defect
2013-11-22 14:36caristuDescription Updatedbug_revision_view_page.php?rev_id=5207#r5207
2013-11-22 14:36caristuIssue Monitored: networkb
2013-11-22 15:33caristuversion => pi
2013-11-22 15:33caristuTarget Version => 3.0MP31
2013-12-31 05:11shankarbAssigned ToAugustoMauch => shankarb
2013-12-31 05:55shankarbFile Added: FixIssue25201.diff
2013-12-31 05:56shankarbStatusnew => scheduled
2013-12-31 05:56shankarbfix_in_branch => pi
2014-01-02 12:38jonalegriaesarteTarget Version3.0MP31 => 3.0MP32
2014-01-09 04:58shankarbReview Assigned To => AugustoMauch
2014-01-09 04:58shankarbfix_in_branchpi =>
2014-01-09 05:00shankarbIssue Monitored: AugustoMauch
2014-01-09 05:00hgbotCheckin
2014-01-09 05:00hgbotNote Added: 0063320
2014-01-09 05:00hgbotStatusscheduled => resolved
2014-01-09 05:00hgbotResolutionopen => fixed
2014-01-09 05:00hgbotFixed in SCM revision => http://code.openbravo.com/erp/devel/pi/rev/d1329399138ae4b93c8832175e37bf38f67d98c6 [^]
2014-01-13 13:39AugustoMauchNote Added: 0063384
2014-01-13 13:39AugustoMauchStatusresolved => closed
2014-01-13 13:39AugustoMauchFixed in Version => 3.0MP32
2014-01-17 15:49hudsonbotCheckin
2014-01-17 15:49hudsonbotNote Added: 0063488

Notes
(0063320)
hgbot   
2014-01-09 05:00   
Repository: erp/devel/pi
Changeset: d1329399138ae4b93c8832175e37bf38f67d98c6
Author: Shankar Balachandran <shankar.balachandran <at> openbravo.com>
Date: Mon Dec 30 10:46:28 2013 +0530
URL: http://code.openbravo.com/erp/devel/pi/rev/d1329399138ae4b93c8832175e37bf38f67d98c6 [^]

Fixes Issue 0025201: Make public the PrintController class methods

The following methods are changed to public.
* printReports(HttpServletResponse response, Collection<JasperPrint> jrPrintReports,
      Collection<Report> reports)
* buildReport(HttpServletResponse response, VariablesSecureApp vars,
      String strDocumentId, final ReportManager reportManager, DocumentType documentType,
      OutputTypeEnum outputType)
* buildReport(HttpServletResponse response, VariablesSecureApp vars,
      String strDocumentId, final ReportManager reportManager, DocumentType documentType,
      OutputTypeEnum outputType, String templateId)
* buildReport(HttpServletResponse response, VariablesSecureApp vars,
      String strDocumentId, Map<String, Report> reports, final ReportManager reportManager)

---
M src/org/openbravo/erpCommon/utility/reporting/printing/PrintController.java
---
(0063384)
AugustoMauch   
2014-01-13 13:39   
Code reviewed and verified in pi@d1329399138a
(0063488)
hudsonbot   
2014-01-17 15:49   
A changeset related to this issue has been promoted main and to the
Central Repository, after passing a series of tests.

Promotion changeset: https://code.openbravo.com/erp/devel/main/rev/9669102eb541 [^]
Maturity status: Test