|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
IEnterpriseSession is the first object to be acquired. It precedes the creation of any other
Enterprise components. It combines both the name service and the client-side security objects,
and also provides the Service property that makes it possible for users to retrieve the object
that gives them access to services on the CMS machine.
| Nested Class Summary | |
static interface |
IEnterpriseSession.CeEnterpriseVersion
Constants for the BusinessObjects Enterprise Version |
| Field Summary | |
static int |
CE_APS_VERSION_850
Deprecated. should use IEnterpriseSession.CeEnterpriseVersion.VERSION11_0 instead. |
static int |
CE_SERVICE_ADMIN_SERVICES
Return only administration services. |
static int |
CE_SERVICE_ALL_SERVICES
Return all available services. |
| Method Summary | |
java.lang.String |
getAPSName()
Deprecated. should use getCMSName() instead. |
int |
getAPSVersion()
Deprecated. should use getEnterpriseVersion() instead. |
java.lang.String[] |
getClusterMembers()
Returns a list of CMS machines in the cluster. |
java.lang.String |
getClusterName()
Name of the cluster to which the user is connected. |
java.lang.String |
getCMSName()
Returns the name of the CMS machine to which a connection is currently made. |
int |
getEnterpriseVersion()
Returns the version number of the BusinessObjects Enterprise system to which a connection is currently made. |
ILogonTokenMgr |
getLogonTokenMgr()
Retrieves the LogonTokenMgr object. |
IPluginMgr |
getPluginManager()
Retrieves the PluginManager object. |
java.lang.String |
getSerializedSession()
Gets a string of a serialized session. |
java.lang.String[] |
getServerNames()
Returns a list of available servers. |
java.lang.Object |
getService(java.lang.String ServiceName)
Returns an object to use a specific service exposed by the enterprise framework. |
java.lang.Object |
getService(java.lang.String ServerName,
java.lang.String ServiceName)
Returns an object to use a specific service exposed by a server. |
java.lang.String[] |
getServiceNames(java.lang.String ServerName,
int type)
Returns a list of available services on a particular server. |
IProperties |
getSystemInfoProperties()
Returns a list of properties that describe the capabilities of the system you have installed. |
IUserInfo |
getUserInfo()
Retrieves the UserInfo object, which has information about the user who created the session. |
void |
logoff()
Logs the user off this current session. |
| Field Detail |
public static final int CE_SERVICE_ALL_SERVICES
Return all available services.
public static final int CE_SERVICE_ADMIN_SERVICES
Return only administration services.
public static final int CE_APS_VERSION_850
IEnterpriseSession.CeEnterpriseVersion.VERSION11_0 instead.
CMS Version 8.5.
| Method Detail |
public java.lang.String getAPSName()
getCMSName() instead.
Returns the name of the CMS machine to which a connection is currently made.
String containing the CMS name.public java.lang.String getCMSName()
Returns the name of the CMS machine to which a connection is currently made.
String containing the CMS name.
public int getEnterpriseVersion()
throws SDKException
Returns the version number of the BusinessObjects Enterprise system to which a connection is currently made.
int containing the Enterprise version.
SDKException
public int getAPSVersion()
throws SDKException
getEnterpriseVersion() instead.
Returns the version number of the CMS machine to which a connection is currently made.
int containing the CMS version.
SDKException
public java.lang.String[] getClusterMembers()
throws SDKException
Returns a list of CMS machines in the cluster.
String objects containing the CMS machines in the cluster.
SDKExceptionpublic java.lang.String getClusterName()
Name of the cluster to which the user is connected.
String containing the name of the cluster to which the user is
connected.
public ILogonTokenMgr getLogonTokenMgr()
throws SDKException
Retrieves the LogonTokenMgr object.
ILogonTokenMgr object.
SDKException - This is thrown if the process is unsuccessful.
public IPluginMgr getPluginManager()
throws SDKException
Retrieves the PluginManager object.
IPluginMgr object.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String[] getServerNames()
throws SDKException
Returns a list of available servers.
String objects containing a list of available servers.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.String[] getServiceNames(java.lang.String ServerName,
int type)
throws SDKException
Returns a list of available services on a particular server.
ServerName - A String containing the name of the server to retrieve
the information from.type - This value should be either 0 or 1. 0 denotes that all available services
will be returned, while 1 denotes that only administrative services will be returned.
String objects containing a list of available services.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.Object getService(java.lang.String ServerName,
java.lang.String ServiceName)
throws SDKException
Returns an object to use a specific service exposed by a server.
If ServerName is empty, the current CMS will be used.
This is currently implemented only for InfoStore service.
ServerName - A String specifying the name of the CMS server to connect
to.ServiceName - A String specifying the type of service to retrieve. Currently
this can only be "InfoStore".
Object containing the requested service. Currently this object
can only be of type IInfoStore.
SDKException - This is thrown if the process is unsuccessful.
public java.lang.Object getService(java.lang.String ServiceName)
throws SDKException
Returns an object to use a specific service exposed by the enterprise framework. The services that can be retrieved by this overload are the ones exposed by the CMS server or available as global services.
ServiceName - A String specifying the type of service to retrieve. Currently
this can only be "InfoStore".
Object containing the requested service. Currently this object
can only be of type IInfoStore.
SDKException - This is thrown if the process is unsuccessful.
public IProperties getSystemInfoProperties()
throws SDKException
Returns a list of properties that describe the capabilities of the system you have installed.
IProperties object containing a list of properties that describe
the capabilities of the system you have installed.
SDKException - This is thrown if the process is unsuccessful.
public IUserInfo getUserInfo()
throws SDKException
Retrieves the UserInfo object, which has information about the user who created the session.
IUserInfo object.
SDKException - This is thrown if the process is unsuccessful.public void logoff()
Logs the user off this current session. This must be called once the session will no longer be used, otherwise, system resources will stay in use and the license use count on the CMS cluster will not be updated properly.
public java.lang.String getSerializedSession()
throws SDKException
Gets a string of a serialized session.
SDKException - This is thrown if the process is unsuccessful.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||