Package br.com.caelum.vraptor.jasperreports

Examples of br.com.caelum.vraptor.jasperreports.Report


    return Report.class.isAssignableFrom(method.getMethod().getReturnType());
  }

  public void intercept(InterceptorStack stack, ResourceMethod method, Object instance) throws InterceptionException {

    Report report = (Report) methodInfo.getResult();

    if (report == null) {
      if (result.used()) {
        stack.next(method, instance);
        return;
View Full Code Here


 
  @Override
  public Download resolveDownload(Object result) throws IOException {
   
    if(result instanceof Report) {
      Report report = (Report) result;
      ReportDownload download = new ReportDownload(report, resolver.getExportFormat(), resolver.doDownload());
      download.setExporter(exporter);
      return download;
    }
   
View Full Code Here

TOP

Related Classes of br.com.caelum.vraptor.jasperreports.Report

Copyright © 2018 www.massapicom. 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.