|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface IDestination
This object is used to specify the output destination of a scheduled job. If you do not specify a destination, scheduled report instances will only be saved on the File Repository Server (FRS),
Four types of destinations are supported by SAP BusinessObjects Enterprise:
FTP, SMTP, Managed and DiskUnmanaged are generic destinations that can be used with other object types. However, Printer is a report format specific destination and can only be used when the report object is a Crystal Report. While FTP, SMTP, Managed and DiskUnmanaged scheduling options are provided through the SchedulingInfo object when you schedule a report, the Printer options are set using the Report object.
The options for each destination, with the exception of the printer, are provided
through the appropriate destination plugin. Each plugin must be enabled through
the IJobServerDestination object or the Crystal
Management Console's Job Server properties. Printer options are set with the Report
plugin instead of a destination plugin.
As well as providing a way to enable each destination plugin, the IJobServerDestination
object allows you to retrieve the destination plugin and set the global options for that
particular Job Server. These are the Job Server's default destination settings. When you
set the destination for a particular report, you can keep the Job Server's defaults, or
you can specify scheduling options for the plugin. If scheduling options are specified,
then these settings will override the Job Server's global options. Once the plugin's
properties are specified, they can be set on the object being scheduled using the
setFromPlugin method.
ISchedulingInfo,
IJobServerDestination| Method Summary | |
|---|---|
void |
clear()
Clears all destination properties except destination name. |
void |
copyToPlugin(IDestinationPlugin plugin)
Copies destination properties to the destination plugin. |
IDestinationFormats |
getDestinationFormats()
Returns a IDestinationFormats that indicates the collection of formats for this destination. |
IDestinationPluginArtifactFormats |
getDestinationPluginArtifactFormats()
Returns a IDestinationPluginArtifactFormats that indicates the collection of plugin-generated artifact formats for this destination. |
IDestinationStaticDocuments |
getDestinationStaticDocuments()
Returns a IDestinationStaticDocuments that indicates the collection of static documents to be delivered with the document
|
java.lang.String |
getName()
Returns the name of the destination. |
boolean |
isCleanup()
Deprecated. Use the isCleanup method defined in IDestinations instead |
boolean |
isDeliverPerUser()
Returns a boolean that indicates whether the publication output will be delivered to each user. |
boolean |
isSystemDefaultOptionsUsed()
Returns a boolean that indicates whether the job server default destination options are used. |
IProperties |
properties()
Returns the IProperties object for the Destination plugin. |
void |
setCleanup(boolean cleanup)
Deprecated. Use the setCleanup method defined in IDestinations instead |
void |
setDeliverPerUser(boolean perUser)
Sets the flag indicating whether the publication output will be delivered to each user |
void |
setFromPlugin(IDestinationPlugin plugin)
Sets destination properties from the destination plugin to the current IDestination object. |
void |
setName(java.lang.String Name)
Sets the name of the destination. |
| Method Detail |
|---|
java.lang.String getName()
Returns the name of the destination.
String containing the name of the destination of the
scheduled job.void setName(java.lang.String Name)
Sets the name of the destination. In order to disable
IReportAlert
notification for a report, use this method and set the destination name to an empty
String.
Name - The name of the destination as a String.IProperties properties()
Returns the IProperties object for the Destination plugin.
IProperties object for the Destination plugin.
void copyToPlugin(IDestinationPlugin plugin)
throws SDKException
Copies destination properties to the destination plugin.
plugin - The IDestinationPlugin that you want to copy the destination properties
to.
SDKException - This is thrown if the process is unsuccessful.
void setFromPlugin(IDestinationPlugin plugin)
throws SDKException
Sets destination properties from the destination plugin to the current IDestination object.
plugin - The IDestinationPlugin whose properties you want to use to set
properties in the current IDestination object.
SDKException - This is thrown if the process is unsuccessful.void clear()
Clears all destination properties except destination name.
boolean isSystemDefaultOptionsUsed()
Returns a boolean that indicates whether the job server default destination options are used.
true if the job server default destination options are used, and false otherwise.
boolean isCleanup()
throws SDKException
IDestinations instead
Retuns a boolean that indicates whether the instance is cleaned up after the object has been scheduled and processed.
true if the instance is cleaned up after the object has been scheduled and processed, and false otherwise.
SDKException
void setCleanup(boolean cleanup)
throws SDKException
IDestinations instead
Sets a boolean that indicates whether the instance is cleaned up after the object has been scheduled and processed.
cleanup - A boolean that specifies whether the instance is cleaned up after the object has been scheduled and processed.
SDKExceptionvoid setDeliverPerUser(boolean perUser)
Sets the flag indicating whether the publication output will be delivered to each user
perUser - boolean indicating whether the publication output will be delivered to each userboolean isDeliverPerUser()
Returns a boolean that indicates whether the publication output will be delivered to each user.
true if the publication output will be delivered to each user, false otherwise.IDestinationFormats getDestinationFormats()
Returns a IDestinationFormats that indicates the collection of formats for this destination.
IDestinationFormats the collection of formats(indexes of processingInfo's formats).IDestinationPluginArtifactFormats getDestinationPluginArtifactFormats()
Returns a IDestinationPluginArtifactFormats that indicates the collection of plugin-generated artifact formats for this destination.
IDestinationPluginArtifactFormats the collection of plugin-generated artifact formats for the destination.IDestinationStaticDocuments getDestinationStaticDocuments()
Returns a IDestinationStaticDocuments that indicates the collection of static documents to be delivered with the document
IDestinationStaticDocuments the collection of static documents delived to the destination
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||