com.crystaldecisions.sdk.occa.managedreports
Interface IReportSourceFactory


public interface IReportSourceFactory

This interface provides a common service point for opening a ReportSource client object in the SAP BusinessObjects Enterprise environment.


Method Summary
 IReportSource openReportSource(IInfoObject object, java.util.Locale locale)
           Returns an IReportSource based on the server and the service requested.
 IReportSource openReportSource(IInfoObject object, java.util.Locale locale, java.util.Locale docLocale)
          For internal use only.
 IReportSource openReportSource(int objID, java.util.Locale locale)
          Deprecated. As of Version 10.
 IReportSource openReportSource(java.lang.String strID, java.util.Locale locale)
           Returns an IReportSource based on the server and the service requested.
 IReportSource openReportSource(java.lang.String strID, java.util.Locale locale, java.util.Locale docLocale)
          For internal use only.
 

Method Detail

openReportSource

IReportSource openReportSource(int objID,
                               java.util.Locale locale)
                               throws SDKException
Deprecated. As of Version 10.

Returns an IReportSource based on the server and the service requested.

Parameters:
objID - ID of the IInfoObject specifying the service requested.
locale - A Locale object specifying the locale specific properties that the IReportSource object will use.
Returns:
The requested IReportSource object.
Throws:
com.crystaldecisions.sdk.exception.SDKException - This is thrown if the process is unsuccessful.
SDKException

openReportSource

IReportSource openReportSource(IInfoObject object,
                               java.util.Locale locale)
                               throws SDKException

Returns an IReportSource based on the server and the service requested.

Parameters:
object - The IInfoObject specifying the service requested as an object.
locale - A Locale object specifying the locale specific properties that the IReportSource object will use.
Returns:
The requested IReportSource object.
Throws:
com.crystaldecisions.sdk.exception.SDKException - This is thrown if the process is unsuccessful.
SDKException

openReportSource

IReportSource openReportSource(java.lang.String strID,
                               java.util.Locale locale)
                               throws SDKException

Returns an IReportSource based on the server and the service requested.

Parameters:
strID - The CUID of the IInfoObject specifying the service requested. Must be in the format cecuid:///<CUID>
locale - A Locale object specifying the locale specific properties that the IReportSource object will use.
Returns:
The requested IReportSource object.
Throws:
com.crystaldecisions.sdk.exception.SDKException - This is thrown if the process is unsuccessful.
SDKException

openReportSource

IReportSource openReportSource(IInfoObject object,
                               java.util.Locale locale,
                               java.util.Locale docLocale)
                               throws SDKException
For internal use only.

Returns an IReportSource based on the server and the service requested.

Parameters:
object - The IInfoObject specifying the service requested as an object.
locale - A Locale object specifying the locale specific properties that the IReportSource object will use.
docLocale - A Locale object specifying the locale specific properties that the IReportSource object will use to open a localized report.
Returns:
The requested IReportSource object.
Throws:
com.crystaldecisions.sdk.exception.SDKException - This is thrown if the process is unsuccessful.
SDKException

openReportSource

IReportSource openReportSource(java.lang.String strID,
                               java.util.Locale locale,
                               java.util.Locale docLocale)
                               throws SDKException
For internal use only.

Returns an IReportSource based on the server and the service requested.

Parameters:
strID - The CUID of the IInfoObject specifying the service requested. Must be in the format cecuid:///<CUID>
locale - A Locale object specifying the locale specific properties that the IReportSource object will use.
docLocale - A Locale object specifying the locale specific properties that the IReportSource object will use to open a localized report.
Returns:
The requested IReportSource object.
Throws:
com.crystaldecisions.sdk.exception.SDKException - This is thrown if the process is unsuccessful.
SDKException