public IReportRunnable getReportRunnable( IViewerReportDesignHandle design ) throws ReportServiceException
public IReportRunnable getReportRunnable( IViewerReportDesignHandle design, Map moduleOptions ) throws ReportServiceException
	public IReportRunnable getReportRunnable( IViewerReportDesignHandle design )			throws ReportServiceException	{		IReportRunnable runnable;		if ( design.getContentType( ) == IViewerReportDesignHandle.RPT_RUNNABLE_OBJECT )		{			// IReportRunnable is specified in IViewerReportDesignHandle.			runnable = (IReportRunnable) design.getDesignObject( );		}		else		{			// report design name is specified in IViewerReportDesignHandle.			try			{				runnable = ReportEngineService.getInstance( ).openReportDesign(						design.getFileName( ) );			}			catch ( EngineException e )			{				throw new ReportServiceException( e.getLocalizedMessage( ) );			}		}		return runnable;	}