|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||
See:
Description
| Interface Summary | |
| CeEnterpriseContext | This interface specifies the system properties that BusinessObjects Enterprise expects to be set. |
| IEnterpriseSession |
IEnterpriseSession is the first object to be acquired. |
| IEnterpriseSession.CeEnterpriseVersion | Constants for the BusinessObjects Enterprise Version |
| ISessionMgr | This is the basic, top level client side object. |
| Class Summary | |
| CrystalEnterprise |
The CrystalEnterprise class is the starting point for BusinessObjects Enterprise. |
This package implements the highest object model that branches off to the individual library
implementations. It also contains the client-side security proxy code to deal with the CMS. This package is hierarchically
the highest-level package in the BusinessObjects Enterprise SDK. It provides you with the primary entry point into BusinessObjects Enterprise.
The CrystalEnterprise class is the starting point, allowing you to get a session and log on to the system.
All the methods throw an exception if they fail. See com.crystaldecisions.sdk.exception for a list of errors and their descriptions.
View the Object Model Diagram.
Note: The only object that can be created dynamically is the ISessionMgr. This is done through calling the
CrystalEnterprise object's static method getSessionMgr(). All other objects must be accessed
through another object's methods or properties. In other words, the ISessionMgr is the source from which all
other objects are eventually created.
Before anything can be done within BusinessObjects Enterprise, you must first log on and retrieve an
Enterprise session. The following example demonstrates how to log on to an CMS using preset
properties using the secEnterprise authentication method:
String user = "Administrator";
String password = "";
String cmsName = "CMS";
String cmsAuthType = "secEnterprise";
SDKException failure = null;
try
{
es = CrystalEnterprise.getSessionMgr().logon(
user,
password,
cmsName,
cmsAuthType);
}
catch (SDKException error)
{
failure = error;
}
if (failure != null)
{
out.println(failure);
}
else
{
session.setAttribute("CE_Session", es);
}
IInfoStore iStore = (IInfoStore) es.getService("", "InfoStore");
|
||||||||||
| PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES | |||||||||