com.crystaldecisions.sdk.occa.managedreports
Interface IReportAppFactory


public interface IReportAppFactory

This interface provides a common service point for accessing a ReportClientDocument. A ReportClientDocument object provides methods for modifying a report. To get the IReportAppFactory interface, you must call IEnterpriseSession getService method as follows:

IReportAppFactory reportAppFactory = (IReportAppFactory) es.getService("","RASReportFactory").

Note: This interface can only be used when the Report Application Server is running as server component within the BusinessObjects Enterprise framework.


Method Summary
 ReportClientDocument newDocument(java.util.Locale locale)
           Returns a ReportClientDocument object representing a blank report object.
 ReportClientDocument openDocument(int objID, int options, java.util.Locale locale)
          Deprecated. As of Version 10.
 

Method Detail

openDocument

ReportClientDocument openDocument(int objID,
                                  int options,
                                  java.util.Locale locale)
                                  throws SDKException
Deprecated. As of Version 10.

Returns a ReportClientDocument object representing a Report object that is open for modification.

Parameters:
objID - The Id of a report InfoObject.
options - The options for opening a report. See Report Application Server Java SDK Guide, OpenReportOptions.
locale - A Locale object specifying locale specific properties.
Returns:
A ReportClientDocument object.
Throws:
com.crystaldecisions.sdk.exception.SDKException.
SDKException

newDocument

ReportClientDocument newDocument(java.util.Locale locale)
                                 throws SDKException

Returns a ReportClientDocument object representing a blank report object.

Note: The report object is not created until you add tables to it.

Parameters:
locale - A Locale object specifying locale specific properties.
Returns:
A ReportClientDocument object.
Throws:
com.crystaldecisions.sdk.exception.SDKException.
SDKException