Пример #1
0
 @Override
 public ReportDefinition<JasperReport> findReportDefinition(String id) {
   JasperReport report = registry.getActualElement(id);
   if (report != null) {
     return wrap(id, registry.getActualRanking(id), report);
   } else {
     return null;
   }
 }
Пример #2
0
 @Override
 public void unregisterJasperReport(String id, JasperReport report) {
   registry.removeElement(id, report);
 }
Пример #3
0
 @Override
 public void registerJasperReport(String id, int ranking, JasperReport report) {
   registry.addElement(id, ranking, report);
 }