Package org.efs.openreports.delivery

Examples of org.efs.openreports.delivery.DeliveryMethod


           
                try
                {     
                  String deliveryMethodBeanId = deliveryMethods[i] + "DeliveryMethod";
                 
                    DeliveryMethod deliveryMethod = (DeliveryMethod) appContext.getBean(deliveryMethodBeanId, DeliveryMethod.class);           
                    deliveryMethod.deliverReport(reportSchedule, reportOutput);
                   
                    deliveryLog.setEndTime(new Date());
                    deliveryLog.setStatus(ReportLog.STATUS_SUCCESS);
                }               
                catch(DeliveryException de)
View Full Code Here


       
        try
        {
            ReportUser reportUser = userProvider.getUser(user.getUserName(), user.getPassword());
       
            DeliveryMethod method = getDeliveryMethod(deliveryMethod);
           
            DeliveredReport[] reports = method.getDeliveredReports(reportUser);
            DeliveredReportInfo[] info = new DeliveredReportInfo[reports.length];          
            for(int i=0; i < reports.length; i++)
            {
                info[i] = Converter.convertToDeliveredReportInfo(reports[i]);
            }
View Full Code Here

    {
        userService.authenticate(user);      
       
        try
        {   
            DeliveryMethod method = getDeliveryMethod(info.getDeliveryMethod());
            return method.getDeliveredReport(Converter.convertToDeliveredReport(info));
        }
        catch(DeliveryException e)
        {
            throw new ServiceException(e);
        }
View Full Code Here

TOP

Related Classes of org.efs.openreports.delivery.DeliveryMethod

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.