java.lang.Object | |
↳ | com.microstrategy.webservices.MWSConnection |
Provides MSTR Web Service Connection functionality including connect, disconnect, server list and project list capabilities.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
MWSConnection(MWSConnectInfo cInfo) | |||||||||||
MWSConnection(MWSConnectInfo cInfo, ContainerServices cs) | |||||||||||
MWSConnection(MWSConnectInfo cInfo, boolean bRequiresSession) | |||||||||||
MWSConnection(MWSConnectInfo cInfo, boolean bRequiresSession, boolean bLogonToSource) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
void | changePassword(MWSConnectInfo cInfo, String newPassword) | ||||||||||
void |
closeSession()
Disconnects the current session if active.
| ||||||||||
void |
createTrustedRelationship(String webAppName)
Setup Trust relationship between MWS and I-Server.
| ||||||||||
void |
deleteTrustedRelationship()
Delete Trusted relationship between MWS and I-Server.
| ||||||||||
Locale | getClientUILocale() | ||||||||||
MWSWSDLVersion | getClientWSDLVersion() | ||||||||||
MWSConnectInfo | getConnectInfo() | ||||||||||
Locale | getDisplayLocale() | ||||||||||
WebObjectsFactory |
getFactoryInstance()
Returns the web objects factory instance created
by this object.
| ||||||||||
String |
getIServerVersion()
Returns the iServer version number contained in this object.
| ||||||||||
MWSProjectSessionInfo |
getProjectSessionInfo()
Returns project status, session, and selected project folder IDs.
| ||||||||||
ArrayOfMWSProjectInfo |
getProjectsWithoutSessions()
Returns the list of projects associated with the
current session.
| ||||||||||
String |
getSessionState()
Returns the session string contained in this object.
| ||||||||||
boolean |
isActive()
Indicates whether or not the session contained in
this object is active in the I-Server.
| ||||||||||
boolean |
isNewSession()
Indicates if the active session was created when
this connection object was constructed.
| ||||||||||
static void | main(String[] args) | ||||||||||
void |
restoreSessionState(WebIServerSession serverSession)
Main construction code for the connection class.
| ||||||||||
String |
toString()
For logging purposes, returns the session string.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
MWSException |
---|
Setup Trust relationship between MWS and I-Server. The caller should guarantee that the session is active.
webAppName | the web application name passed to Intelligence Server |
---|
MWSException |
---|
Delete Trusted relationship between MWS and I-Server. The caller should guarantee that the session is active.
MWSException |
---|
Returns the web objects factory instance created by this object.
WebObjectsException |
---|
Returns the iServer version number contained in this object.
Returns project status, session, and selected project folder IDs. Called from connectToProject.
MWSException | |
MWSException |
Returns the list of projects associated with the current session. Project sessions are not created.
MWSException | |
MWSException |
Returns the session string contained in this object.
Indicates whether or not the session contained in this object is active in the I-Server.
MWSException |
---|
Indicates if the active session was created when this connection object was constructed.
Main construction code for the connection class.
MWSException |
---|
For logging purposes, returns the session string.