InfoObject Object Model (BOE)
The InfoObject object model is provided with the upgrade products Crystal Reports Server and BusinessObjects Enterprise.
Note
For more information, see Upgrade Options.
The InfoObject object model provides an enterprise-level object model for the SDK. InfoObject functions as a base class, in which many Enterprise objects are encapsulated in derived classes. The derived class that represents reports is the CrystalDecisions.Enterprise.Desktop.Report class.
To learn how to bind a CrystalReportViewer control to the InfoObject object model, see Binding to InfoObject Cast as Report.
The Business Objects Enterprise SDK is built around the InfoObject object class and its supporting classes.
The InfoObject class
The InfoObject class is used in the SDK to represent a wide variety of information entities. These include both physical entities, such as report files or PDF files, and network entities, such as users, servers, or FTP connections.
The InfoObject class is a base class to a variety of extended classes that correspond to those information entities in more detail. Extended classes that inherit from InfoObject include the following: Report, User, Server, Folder, Program, Ftp, Smtp, Word, Excel, and Pdf.
By manipulating these InfoObject and extended class instances, you can create a client or administrative desktop application.
Supporting classes
Two additional classes support the InfoObject class.
InfoStore class | The InfoStore class acts as a controller, or gateway, to the Central Management Server (CMS) repository (which is a database), where all instances of InfoObject are stored. The InfoStore class is used to instantiate, retrieve, and commit all InfoObject class instances that are stored in the CMS repository. |
InfoObjects indexed class | The InfoObjects indexed class holds multiple instances of InfoObject. It is used by the InfoStore to move InfoObject instances to and from the CMS repository. |
InfoObject instances cannot be managed directly by the InfoStore class. Instead, they must first be wrapped within the InfoObjects indexed class. Through this indexed class the individual instances of InfoObject can be added, retrieved, updated, or scheduled.
Note
For detailed information on the Crystal Reports Server or BusinessObjects Enterprise SDK, consult the Crystal Reports Server or BusinessObjects Enterprise SDK documentation.
InfoObject Object Model Diagram
This diagram shows the relationships of the InfoObject object model in Crystal Reports Server or BusinessObjects Enterprise.
Figure 5: InfoObject Object Model