public interface CentraSiteSession
extends java.io.Serializable
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes a session, releases all resources, and performs an implicit logout.
|
java.util.List<AboutTopic> |
getAboutTopics(ClientAboutInfo aboutClient)
Gets the topics to be displayed in the About page in BusinessUI.
|
CSOActionManager |
getActionManager()
Returns the action manager associated with this session.
|
ActivityManager |
getActivityManager()
Returns the activity manager associated with this session.
|
ActivityManager |
getActivityManager(User user)
Returns the activity manager for the given user.
|
java.lang.String |
getBaseDir()
Gets the base directory.
|
CSOSearchConditionManager |
getCentraSiteObjectConditionManager()
Returns the condition manager associated with this session.
|
CentraSiteObjectManager |
getCentraSiteObjectManager()
Returns the object manager associated with this session.
|
CSOSearchManager |
getCentraSiteObjectSearchManager()
Returns the search manager associated with this session.
|
CentraSiteObjectTypeManager |
getCentraSiteObjectTypeManager()
Returns the type manager associated with this session.
|
Configurator |
getConfigurator(Organization organization)
Returns the organization specific configurator.
|
Configurator |
getConfigurator(User user)
Returns the user specific configurator.
|
DeploymentManager |
getDeploymentManager()
Gets the deployment manager.
|
DiagnosticHandler |
getDiagnosticHandler()
Returns the session diagnostic handler.
|
java.util.Locale |
getDisplayLanguage()
Gets the display language set for this session.
|
HelpCenter |
getHelpCenter()
Return the HelpCenter which is used to access the available HelpCenterTopics.
|
User |
getOwner()
Returns the owner of this session.
|
java.util.Locale |
getOwnerLocale()
Returns the locale defined for the currently logged in user.
|
RuntimeManager |
getRuntimeManager()
Gets the runtime manager instance.
|
CSOUriGenerator |
getURIGenerator()
Returns the CSOUriGenerator for this session.
|
VirtualizationService |
getVirtualizationService()
Gets the virtualization service for this session.
|
boolean |
isClosed()
Indicates whether the current session is active or inactive.
|
void |
setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
Sets the HTTP servlet request for this session.
|
void |
setURIGenerator(CSOUriGenerator uriGenerator)
The URI format is not fixed but greatly depends on the CSO client.
|
CentraSiteObjectManager getCentraSiteObjectManager() throws CLLException
CentraSiteObjectManager
instance associated with this sessionCLLException
- In case of a failure to return the CentraSiteObjectManager
associated with CentraSiteSessionCentraSiteObjectTypeManager getCentraSiteObjectTypeManager() throws CLLException
CentraSiteObjectTypeManager
instanceCLLException
- in case of a failure to return the CentraSiteObjectTypeManager
associated with CentraSiteSessionCSOSearchManager getCentraSiteObjectSearchManager() throws CLLException
CSOSearchManager
instanceCLLException
- in case of a failure to return the CSOSearchManager
associated with CentraSiteSessionCSOSearchConditionManager getCentraSiteObjectConditionManager() throws CLLException
CSOSearchConditionManager
instanceCLLException
- in case of a failure to return the CSOSearchConditionManager
associated with CentraSiteSessionCSOActionManager getActionManager() throws CLLException
CSOActionManager
instanceCLLException
- in case of a failure to return the CSOActionManager
associated with CentraSiteSessionConfigurator getConfigurator(User user) throws CLLException
user
- User
whose configurator is requiredConfigurator
object which contains the given user-specific configuration derived from the configuration hierarchy modelCLLException
- in case of a failure to return an instance of Configurator for the given userConfigurator getConfigurator(Organization organization) throws CLLException
organization
- Organization
whose configurator is requiredConfigurator
object which contains the given organization-specific configuration derived from the configuration hierarchy modelCLLException
- in case of a failure to return an instance of Configurator for the given organizationDiagnosticHandler getDiagnosticHandler() throws CLLException
DiagnosticHandler
for the sessionCLLException
- in case of failure to return the DiagnosticsHandler for CentraSiteSessionUser getOwner() throws CLLException
User
who is currently logged in.CLLException
- in case of a failure to return the owner of CentraSiteSessionActivityManager getActivityManager() throws CLLException
ActivityManager
instanceCLLException
- in case of a failure to return the ActivityManager
associated with CentraSiteSessionActivityManager getActivityManager(User user) throws CLLException
user
- The User
whose Activity manager is requiredActivityManager
instanceCLLException
- in case of a failure to return the ActivityManager
for the specific userRuntimeManager getRuntimeManager() throws CLLException
RuntimeManager
instanceCLLException
- If an error occurs while getting the runtime manager instancejava.util.Locale getOwnerLocale() throws CLLException
Locale
for the logged in userCLLException
- in case of a failure to return the Locale
defined for the currently logged in uservoid close() throws CLLException
CLLException
- in case of a failure to release the resources held by the CentraSiteSessionboolean isClosed()
void setURIGenerator(CSOUriGenerator uriGenerator)
uriGenerator
- The CSOUriGenerator
to setCSOUriGenerator getURIGenerator()
CSOUriGenerator
instanceHelpCenter getHelpCenter() throws CLLException
HelpCenter
instanceCLLException
- In case of a failure to get the HelpCenter.java.util.List<AboutTopic> getAboutTopics(ClientAboutInfo aboutClient) throws CLLException
aboutClient
- The ClientAboutInfo
instance containing information about the logged in userList
of AboutTopic
sCLLException
- If an error occurs in getting the topicsjava.util.Locale getDisplayLanguage() throws CLLException
Locale
having the display languageCLLException
- If an error occurs while trying to get the localevoid setHttpServletRequest(javax.servlet.http.HttpServletRequest request)
request
- The HttpServletRequest
to setVirtualizationService getVirtualizationService() throws CLLException
VirtualizationService
instanceCLLException
- If an error occurs in getting the serviceDeploymentManager getDeploymentManager() throws CLLException
DeploymentManager
instanceCLLException
- If an error occurs in getting the deployment managerjava.lang.String getBaseDir() throws CLLException
CLLException
- If an error occurs while trying to get the base directory path