Class MobileChunkedAppContext
- java.lang.Object
 - 
- com.microstrategy.web.app.transforms.MobileChunkedAppContext
 
 
- 
- All Implemented Interfaces:
 AppContext,BeanContext
public class MobileChunkedAppContext extends java.lang.Object implements AppContext
- Since:
 - MicroStrategy Web 8.1.2
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMobileChunkedAppContext.MobileElementIDMapstatic classMobileChunkedAppContext.MobileObjectRefIDMapstatic classMobileChunkedAppContext.MobilePageIndexMapstatic classMobileChunkedAppContext.MobileStyleManager 
- 
Field Summary
- 
Fields inherited from interface com.microstrategy.web.app.beans.AppContext
CONFIG_ADMIN_SERVERS, CONFIG_ADMIN_SERVLET_NAME, CONFIG_APP_BEANS_EVENTS, CONFIG_BLOCK_LIBRARY, CONFIG_CACHE_SETTINGS_FILE, CONFIG_CACHE_SETTINGS_PROP, CONFIG_CONFIG_FILES_DEFAULT_LOCATION, CONFIG_CONTROLLER_CLASS, CONFIG_DEBUG_FLAGS_MASK, CONFIG_DEFAULT_BLANK_ANALYSIS_ID, CONFIG_DEFAULT_BLANK_HTML5_DASHBOARD_ID, CONFIG_DEFAULT_BLANK_REPORT_ID, CONFIG_DEFAULT_BLANK_REPORT_WRITING_ID, CONFIG_DEFAULT_BLANK_XDA_REPORT_ID, CONFIG_DEFAULT_EVENT, CONFIG_DEFAULT_PDF_IMAGES_FOLDER, CONFIG_DISABLE_MAX_STATE_COMPRESSION, CONFIG_EXCEL_DIRECT_EXPORT, CONFIG_EXTERNAL_SECURITY_CLASS, CONFIG_FORMAT_PROPERTIES_MAPPING, CONFIG_FORMATTER_FILE, CONFIG_GLOBAL_FEATURES_CLASS, CONFIG_IFRAME_JSP, CONFIG_IFRAME_RESOURCE, CONFIG_IPAADMIN_FILE, CONFIG_IPAENV_FILE, CONFIG_ISERVER_POLLING_FREQUENCY, CONFIG_LOG_FILE_MB_SIZE_LIMIT, CONFIG_LOG_FILES_DEFAULT_LOCATION, CONFIG_LOG_PROPERTIES_FILE, CONFIG_MD_BEANS_EVENTS, CONFIG_MESSAGES, CONFIG_OBJBROWSER_FOLDERLINKS_FILE, CONFIG_PAGE_MANAGER, CONFIG_PAGE_MANAGER_RESOURCE, CONFIG_PREFERENCES, CONFIG_PREFERENCES_GROUPS, CONFIG_PREFERENCES_GROUPS_RESOURCE, CONFIG_REFINE_SSL_TRUSTSTORE, CONFIG_REFINE_SSL_TRUSTSTORE_PWD, CONFIG_RELOAD_CONFIG, CONFIG_SERVER_ADMIN_SERVLET_NAME, CONFIG_SERVER_TYPE, CONFIG_SERVLET_COMPONENT_NAME, CONFIG_SERVLET_EVENT_HANDLER_NAME, CONFIG_SERVLET_NAME, CONFIG_SERVLET_PATH, CONFIG_SSL_KEYSTORE, CONFIG_SSL_KEYSTORE_PWD, CONFIG_SSL_TRUSTSTORE, CONFIG_SSL_TRUSTSTORE_PWD, CONFIG_STYLE_CATALOG, CONFIG_STYLE_CATALOG_RESOURCE, CONFIG_SUBSCRIPTION_API_RESOURCE, CONFIG_SUBSCRIPTION_API_TEMPLATE_RESOURCE, CONFIG_SUBSCRIPTION_ENGINE_RESOURCE, CONFIG_SUBSCRIPTION_FOLDER, CONFIG_SUBSCRIPTION_PORTAL_RESOURCE, CONFIG_SYS_DEFINITONS_RESOURCE, CONFIG_SYS_PREFERENCE_DEFINITION, CONFIG_SYS_SERVER_DEFAULTS, CONFIG_SYS_SERVER_DEFAULTS_RESOURCE, CONFIG_WEB_SERVLET_NAME, CONFIG_WEBAPIERRORS_CLASSPATH, CONFIG_WEBAPIERRORS_FOLDER, CONFIG_WIDGET_LIBRARY, CONFIG_XHR_JSP, CUSTOM_HELP_RESOUCRCES_FOLDER, CUSTOM_RESOURCES_FOLDER, DEFAULT_EVENT_XML, DISPLAY_MODE_HTML, DISPLAY_MODE_JSON, HELP_RESOURCES_FOLDER, IMAGE_RESOURCES_FOLDER, JAVASCRIPT_RESOURCES_FOLDER, JSP_RESOURCES_FOLDER, RESOURCE_FOLDER_PREFIX, STYLE_DB_RESOURCES_FOLDER, STYLE_FIXED_FONT_DB_RESOURCES_FOLDER, STYLE_FIXED_FONT_RESOURCES_FOLDER, STYLE_RESOURCES_FOLDER 
 - 
 
- 
Constructor Summary
Constructors Constructor Description MobileChunkedAppContext(BeanContext bc) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddispenseFile(java.lang.String realPath, java.lang.String resourcePath)Dispenses the master copy of the a resource file located in the classpath into the file indicated in the realpathWebAppSessionManagergetAppSessionManager()This method returns the Application Session Manager associated with this application context.java.lang.StringgetBrowserHeaderLocaleId()This method will extract from request header a value corresponding to browser's locale info.java.lang.StringgetBrowserHeaderLocaleId(java.util.Locale defaultLocale)This method will extract from request header a value corresponding to browser's locale info.java.lang.StringgetBrowserLocaleId()This method returns the Locale Id defined in web preferences as Language.java.lang.StringgetBrowserServerLocaleId()This method returns the Locale associated with Date and Number format locale web preference.If default, it'll return browser's locale Id instead.BrowserSettingsgetBrowserSettings()This method returns the BrowserSettings object associated with this application context.java.lang.StringgetConfigParameter(java.lang.String param)Returns the value of a configuration parameter.java.lang.StringgetConfigServletPath()Get the full application path to the Servlet as defined in the configuration fileContainerServicesgetContainerServices()This method gets the Container Services object associated with this application context.ContextMenuManagergetContextMenuManager(java.lang.String contextMenuName)Returns an instance of aContextMenuManagerobject.PageComponentgetCurrentPage()Returns the name of the current page associated with the context.org.w3c.dom.DocumentgetDocumentFromFileResource(java.lang.String filePath)This method returns a DOM Document from a file resource.MobileChunkedAppContext.MobileElementIDMapgetElementIDMap()EventHandlersCataloggetEventHandlersCatalog()Returns the current instance ofEventHandlersCatalogassociated with the current BeanContext.ExternalSecuritygetExternalSecurity()This method returns the External Security instance associated with this application context.WebFeaturesgetFeatures()This method gets the Features object associated with this application context.java.lang.StringgetFileContentsAsString(java.lang.String filePath)Returns the contents of the resource file as string from the file path provided.java.lang.StringgetFileContentsAsString(java.lang.String filePath, java.lang.String encoding)Returns the contents of the resource file as string from the file path provided using the named character encoding.java.lang.StringgetFontName()Returns a string with the name of the fonts, or the list of fonts that a browser should use when rendering the page.java.lang.StringgetFontSize()A string with the base font size to use, the string might contain the type of size (i.e, pt, px, etc.)intgetMaxResultSize()MessagesgetMessages()Returns theMessagesinstance from this BeanContext.MessagesManagergetMessagesManager()Returns an instance ofMessagesManagerassociated with the current BeanContext.MobileChunkedAppContext.MobileStyleManagergetMobileStyleManager()MobileChunkedAppContext.MobileObjectRefIDMapgetObjectMap()PageManagergetPageManager()This method gets the PageManager object associated with this application context.MobileChunkedAppContext.MobilePageIndexMapgetPageMap()PreferencesgetPreferences()This method returns the Preferences object associated with this application context.java.lang.StringgetRealPath(java.lang.String filePath)Return the absolute path of th erelative path providedRequestKeysgetRequestKeys()This method gets the Request Keys object associated with this application context.java.lang.StringgetResourceFileAsString(java.lang.String filePath, java.lang.String resourceFileName)Returns the contents of the resource file as string from the file path provided.java.lang.StringgetResourcesFolder(java.lang.String folderType)Return the path to the resources folder indicated on the configuration file, corresponding to the type sent as parameter.java.lang.StringgetRootName()Returns the name of the root component In the case of the jsp/servlet enviroment,it will be the name of the main servlet component This corresponds to the value of the parameterAppContext.CONFIG_SERVLET_NAMEjava.lang.StringgetServletPath()Get the full application path to the Servlet.SessionManagergetSessionManager()This method returns the Session Manager associated with this application context.StyleCataloggetStyleCatalog()Returns an instance ofStyleCatalogassociated with the current BeanContext.java.lang.ExceptiongetTransformException()WebSessionManagergetWebSessionManager()This method returns the Application Session Manager associated with this application context.booleanisDoubleByte()Returns true if the locale is a double byte language like Chinese, Korean or Japenese.booleanmaxResultSizeExceeded()voidputConfigParameter(java.lang.String key, java.lang.String value)Appends a Configuration Parameter to the Configuration Parameters list.voidsetAppSessionManager(WebAppSessionManager sm)This method sets the Application Session Manager associated with this application context.voidsetBrowserSettings(BrowserSettings bs)This method sets the BrowserSettings object to be associated with this application context.voidsetConfigServletPath(java.lang.String configServletPath)Define the full application path to the Servlet as defined in the configuration file.voidsetContainerServices(ContainerServices cs)This method sets the Container Services object associated with this application context.voidsetCurrentPage(PageComponent page)Set a page as the current page of this context.voidsetDefaultEvent(int eventID)Sets the eventTD provided as the default event of the applicationvoidsetEventHandlersCatalog(EventHandlersCatalog catalog)Sets theEventHandlersCataloginstances associated with the current BeanContext.voidsetExternalSecurity(ExternalSecurity es)This method sets the External Security associated with this application context.voidsetFeatures(WebFeatures features)This method sets the Features object associated with this application context.voidsetMaxResultSize(int _maxResultSize)voidsetMaxResultSizeExceeded(boolean _maxResultSizeExceeded)voidsetMessages(Messages msgs)Sets aMessagesinstance to this BeanContext.voidsetMessagesManager(MessagesManager msgsMgr)Sets an instance ofMessagesManageron the current BeanContext.voidsetPageManager(PageManager pageManager)This method sets the PageManager object associated with this application context.voidsetPreferences(Preferences prefs)This method sets a Preferences object for use with this application context.voidsetRequestKeys(RequestKeys hrk)This method sets the Request Keys object to be associated with this application context.voidsetServletPath(java.lang.String servletPath)Define the full application path to the Servlet.voidsetSessionManager(SessionManager sm)This method sets the Session Manager associated with this application context.voidsetStyleCatalog(StyleCatalog sc)Sets an instance ofStyleCatalogon the current BeanContext.voidsetTransformException(java.lang.Exception e) 
 - 
 
- 
- 
Constructor Detail
- 
MobileChunkedAppContext
public MobileChunkedAppContext(BeanContext bc)
 
 - 
 
- 
Method Detail
- 
dispenseFile
public void dispenseFile(java.lang.String realPath, java.lang.String resourcePath)Description copied from interface:AppContextDispenses the master copy of the a resource file located in the classpath into the file indicated in the realpath- Specified by:
 dispenseFilein interfaceAppContext- Parameters:
 realPath- the destination of the resource file to dispenseresourcePath- the resource file to dispense.
 
- 
getAppSessionManager
public WebAppSessionManager getAppSessionManager()
Description copied from interface:AppContextThis method returns the Application Session Manager associated with this application context. If not explicitly set through theAppContext.setAppSessionManager(com.microstrategy.web.app.WebAppSessionManager)method, a new one is automatically created.
Note that this method fully replaces the getSessionManager method.- Specified by:
 getAppSessionManagerin interfaceAppContext- Returns:
 - A 
WebAppSessionManager, representing the session manager associated with the AppContext object. 
 
- 
getBrowserHeaderLocaleId
public java.lang.String getBrowserHeaderLocaleId()
Description copied from interface:AppContextThis method will extract from request header a value corresponding to browser's locale info. This info will be resolved in order to return current browser's LCID. This is equivalent toLocaleInfo.findBestSupportedLocale(Locale, Locale[])with available display locales fromWebLocalizationManager.getAvailableLocales(int)forEnumLocalizationType.TYPE_WEB_SUPPORTED. Defaults to LCID of 1033.- Specified by:
 getBrowserHeaderLocaleIdin interfaceAppContext- Returns:
 - a 
Stringwith the LCID 
 
- 
getBrowserLocaleId
public java.lang.String getBrowserLocaleId()
Description copied from interface:AppContextThis method returns the Locale Id defined in web preferences as Language. If default, it'll return browser's locale Id instead.- Specified by:
 getBrowserLocaleIdin interfaceAppContext- Returns:
 - a 
Stringwith the Locale ID. 
 
- 
getBrowserServerLocaleId
public java.lang.String getBrowserServerLocaleId()
Description copied from interface:AppContextThis method returns the Locale associated with Date and Number format locale web preference.If default, it'll return browser's locale Id instead.- Specified by:
 getBrowserServerLocaleIdin interfaceAppContext- Returns:
 - a 
Stringwith the Locale ID. 
 
- 
getBrowserSettings
public BrowserSettings getBrowserSettings()
Description copied from interface:AppContextThis method returns the BrowserSettings object associated with this application context.- Specified by:
 getBrowserSettingsin interfaceAppContext- Returns:
 BrowserSettings
 
- 
getConfigParameter
public java.lang.String getConfigParameter(java.lang.String param)
Description copied from interface:AppContextReturns the value of a configuration parameter. Configuration parameters are defined in the web.xml file using the context-param and init-param tags.- Specified by:
 getConfigParameterin interfaceAppContext- Parameters:
 param- name of the parameter to retrieve- Returns:
 - the value of the parameter
 
 
- 
getConfigServletPath
public java.lang.String getConfigServletPath()
Description copied from interface:AppContextGet the full application path to the Servlet as defined in the configuration file- Specified by:
 getConfigServletPathin interfaceAppContext- Returns:
 - a 
Stringwith the servlet path 
 
- 
getContainerServices
public ContainerServices getContainerServices()
Description copied from interface:BeanContextThis method gets the Container Services object associated with this application context.- Specified by:
 getContainerServicesin interfaceBeanContext- Returns:
 ContainerServices
 
- 
getContextMenuManager
public ContextMenuManager getContextMenuManager(java.lang.String contextMenuName)
Description copied from interface:AppContextReturns an instance of aContextMenuManagerobject. Referenced ny name- Specified by:
 getContextMenuManagerin interfaceAppContext- Parameters:
 contextMenuName- name of theContextMenuManagerobject to retrieve- Returns:
 - an instance of the 
ContextMenuManagerobject 
 
- 
getDocumentFromFileResource
public org.w3c.dom.Document getDocumentFromFileResource(java.lang.String filePath)
Description copied from interface:AppContextThis method returns a DOM Document from a file resource. The method works by attempting the following operations, in order:- Try to call the same method on BeanContext first. If that succeeds, return.
 - Next, it tries to get the real path to this file relative to the web application. If it retrieves a valid path, it again calls the BeanContext's version of this method. If it succeeds, it returns.
 - At this point, we cannot resolve the reference as a physical file. We then try to use the ServletContext's getResourceAsInput method to retrieve the contents of the file as resource that may be embedded within a WAR file. If this succeeeds, we load the contents into a DOM document and return it.THIS IS ONLY POSSIBLE WITHIN A JAVA ENVIRONMENT.
 - If we get to this step, then we return an Exception.
 
- Specified by:
 getDocumentFromFileResourcein interfaceAppContext- Parameters:
 filePath- The absolute or relative path to the file resource.- Returns:
 - the 
Documentnode that contains the file contents. 
 
- 
getExternalSecurity
public ExternalSecurity getExternalSecurity()
Description copied from interface:AppContextThis method returns the External Security instance associated with this application context.- Specified by:
 getExternalSecurityin interfaceAppContext- Returns:
 ExternalSecurity
 
- 
getFileContentsAsString
public java.lang.String getFileContentsAsString(java.lang.String filePath)
Description copied from interface:AppContextReturns the contents of the resource file as string from the file path provided. it does not dispense the file- Specified by:
 getFileContentsAsStringin interfaceAppContext- Parameters:
 filePath- location of the resource file (relative path)- Returns:
 - the contents of the resource file.
 
 
- 
getFileContentsAsString
public java.lang.String getFileContentsAsString(java.lang.String filePath, java.lang.String encoding)Description copied from interface:AppContextReturns the contents of the resource file as string from the file path provided using the named character encoding. it does not dispense the file- Specified by:
 getFileContentsAsStringin interfaceAppContext- Parameters:
 filePath- location of the resource file (relative path)encoding- The name of a supported character encoding.- Returns:
 - the contents of the resource file.
 
 
- 
getFontName
public java.lang.String getFontName()
Description copied from interface:AppContextReturns a string with the name of the fonts, or the list of fonts that a browser should use when rendering the page. This is usually retrieved from user Preferences- Specified by:
 getFontNamein interfaceAppContext- Returns:
 - a String with a comma separated list of the fonts to use in this page.
 
 
- 
getFontSize
public java.lang.String getFontSize()
Description copied from interface:AppContextA string with the base font size to use, the string might contain the type of size (i.e, pt, px, etc.)- Specified by:
 getFontSizein interfaceAppContext- Returns:
 - a string with size of the font to use
 
 
- 
getPageManager
public PageManager getPageManager()
Description copied from interface:AppContextThis method gets the PageManager object associated with this application context.- Specified by:
 getPageManagerin interfaceAppContext- Returns:
 - the (@link PageManager) object associates with this application context.
 
 
- 
getPreferences
public Preferences getPreferences()
Description copied from interface:AppContextThis method returns the Preferences object associated with this application context.- Specified by:
 getPreferencesin interfaceAppContext- Returns:
 Preferences
 
- 
getRealPath
public java.lang.String getRealPath(java.lang.String filePath)
Description copied from interface:AppContextReturn the absolute path of th erelative path provided- Specified by:
 getRealPathin interfaceAppContext- Parameters:
 filePath- relative path to get the relative path from- Returns:
 - the absolute path
 
 
- 
getRequestKeys
public RequestKeys getRequestKeys()
Description copied from interface:BeanContextThis method gets the Request Keys object associated with this application context.- Specified by:
 getRequestKeysin interfaceBeanContext- Returns:
 RequestKeys
 
- 
getResourceFileAsString
public java.lang.String getResourceFileAsString(java.lang.String filePath, java.lang.String resourceFileName)Description copied from interface:AppContextReturns the contents of the resource file as string from the file path provided. If the resource cannot be found in the location, it will be dispensed- Specified by:
 getResourceFileAsStringin interfaceAppContext- Parameters:
 filePath- location of the resource file (relative path)resourceFileName- resource file- Returns:
 - the contents of the resource file.
 
 
- 
getResourcesFolder
public java.lang.String getResourcesFolder(java.lang.String folderType)
Description copied from interface:AppContextReturn the path to the resources folder indicated on the configuration file, corresponding to the type sent as parameter.
This is actually a convenience method for the getConfigParameter. This method returns all configuration parameters that starts withRESOURCE_FOLDER_PREFIXand folderType is whatever goes after that. This method also makes sure that the name of the folder has always a backslash "/" at the end.- Specified by:
 getResourcesFolderin interfaceAppContext- Parameters:
 folderType- integer constant that specifies the type of resource folder to return- Returns:
 - the path of the base folder for the folder type requested
 
 
- 
getServletPath
public java.lang.String getServletPath()
Description copied from interface:BeanContextGet the full application path to the Servlet. This value is read form the configuration file and if is not set it will be automatically generated from the request.- Specified by:
 getServletPathin interfaceBeanContext- Returns:
 - a 
Stringwith the servlet path 
 
- 
getSessionManager
public SessionManager getSessionManager()
Description copied from interface:AppContextThis method returns the Session Manager associated with this application context.- Specified by:
 getSessionManagerin interfaceAppContext- Returns:
 SessionManager
 
- 
isDoubleByte
public boolean isDoubleByte()
Description copied from interface:AppContextReturns true if the locale is a double byte language like Chinese, Korean or Japenese.- Specified by:
 isDoubleBytein interfaceAppContext- Returns:
 - true if the locale is a double byte language like Chinese, Korean or Japenese.
 
 
- 
putConfigParameter
public void putConfigParameter(java.lang.String key, java.lang.String value)Description copied from interface:AppContextAppends a Configuration Parameter to the Configuration Parameters list. Configuration parameters are defined in the web.xml file using the context-param and init-param tags.- Specified by:
 putConfigParameterin interfaceAppContext- Parameters:
 key- name of the configuration parametervalue- value of the configuration parameter
 
- 
setBrowserSettings
public void setBrowserSettings(BrowserSettings bs)
Description copied from interface:AppContextThis method sets the BrowserSettings object to be associated with this application context.- Specified by:
 setBrowserSettingsin interfaceAppContext- Parameters:
 bs- An instance of anBrowserSettingsobject.
 
- 
setConfigServletPath
public void setConfigServletPath(java.lang.String configServletPath)
Description copied from interface:AppContextDefine the full application path to the Servlet as defined in the configuration file.- Specified by:
 setConfigServletPathin interfaceAppContext- Parameters:
 configServletPath- aStringwith the servlet path
 
- 
setContainerServices
public void setContainerServices(ContainerServices cs)
Description copied from interface:BeanContextThis method sets the Container Services object associated with this application context.- Specified by:
 setContainerServicesin interfaceBeanContext- Parameters:
 cs- AContainerServicesobject.
 
- 
setDefaultEvent
public void setDefaultEvent(int eventID)
Description copied from interface:AppContextSets the eventTD provided as the default event of the application- Specified by:
 setDefaultEventin interfaceAppContext- Parameters:
 eventID- eventID of the application's default event
 
- 
setExternalSecurity
public void setExternalSecurity(ExternalSecurity es)
Description copied from interface:AppContextThis method sets the External Security associated with this application context.- Specified by:
 setExternalSecurityin interfaceAppContext- Parameters:
 es- AnExternalSecurityinstance.
 
- 
setPageManager
public void setPageManager(PageManager pageManager)
Description copied from interface:AppContextThis method sets the PageManager object associated with this application context.- Specified by:
 setPageManagerin interfaceAppContext- Parameters:
 pageManager- APageManagerobject.
 
- 
setPreferences
public void setPreferences(Preferences prefs)
Description copied from interface:AppContextThis method sets a Preferences object for use with this application context.- Specified by:
 setPreferencesin interfaceAppContext- Parameters:
 prefs- APreferencesobject.
 
- 
setRequestKeys
public void setRequestKeys(RequestKeys hrk)
Description copied from interface:BeanContextThis method sets the Request Keys object to be associated with this application context.- Specified by:
 setRequestKeysin interfaceBeanContext- Parameters:
 hrk- An instance of anRequestKeysobject.
 
- 
setServletPath
public void setServletPath(java.lang.String servletPath)
Description copied from interface:AppContextDefine the full application path to the Servlet. This value is read form the configuration file and if is not set it will be automatically generated from the request.- Specified by:
 setServletPathin interfaceAppContext- Parameters:
 servletPath- aStringwith the servlet path
 
- 
setSessionManager
public void setSessionManager(SessionManager sm)
Description copied from interface:AppContextThis method sets the Session Manager associated with this application context.- Specified by:
 setSessionManagerin interfaceAppContext- Parameters:
 sm- ASessionManagerinstance.
 
- 
getFeatures
public WebFeatures getFeatures()
Description copied from interface:BeanContextThis method gets the Features object associated with this application context.- Specified by:
 getFeaturesin interfaceBeanContext- Returns:
 - a 
WebFeaturesobject 
 
- 
getMessages
public Messages getMessages()
Description copied from interface:BeanContextReturns theMessagesinstance from this BeanContext.- Specified by:
 getMessagesin interfaceBeanContext- Returns:
 - the Messages instance.
 
 
- 
getMessagesManager
public MessagesManager getMessagesManager()
Description copied from interface:BeanContextReturns an instance ofMessagesManagerassociated with the current BeanContext.- Specified by:
 getMessagesManagerin interfaceBeanContext- Returns:
 - an instance of MessagesManager.
 
 
- 
getStyleCatalog
public StyleCatalog getStyleCatalog()
Description copied from interface:BeanContextReturns an instance ofStyleCatalogassociated with the current BeanContext.- Specified by:
 getStyleCatalogin interfaceBeanContext- Returns:
 - an instance of StyleCatalog.
 
 
- 
setFeatures
public void setFeatures(WebFeatures features)
Description copied from interface:BeanContextThis method sets the Features object associated with this application context.- Specified by:
 setFeaturesin interfaceBeanContext- Parameters:
 features- AWebFeaturesobject.
 
- 
setMessages
public void setMessages(Messages msgs)
Description copied from interface:BeanContextSets aMessagesinstance to this BeanContext.- Specified by:
 setMessagesin interfaceBeanContext- Parameters:
 msgs- the Messages instance to set.
 
- 
setMessagesManager
public void setMessagesManager(MessagesManager msgsMgr)
Description copied from interface:BeanContextSets an instance ofMessagesManageron the current BeanContext.- Specified by:
 setMessagesManagerin interfaceBeanContext- Parameters:
 msgsMgr- an instance of MessagesManager to set.
 
- 
setStyleCatalog
public void setStyleCatalog(StyleCatalog sc)
Description copied from interface:BeanContextSets an instance ofStyleCatalogon the current BeanContext.- Specified by:
 setStyleCatalogin interfaceBeanContext- Parameters:
 sc- an instance of StyleCatalog to set.
 
- 
getElementIDMap
public MobileChunkedAppContext.MobileElementIDMap getElementIDMap()
 
- 
getPageMap
public MobileChunkedAppContext.MobilePageIndexMap getPageMap()
 
- 
getObjectMap
public MobileChunkedAppContext.MobileObjectRefIDMap getObjectMap()
 
- 
getMobileStyleManager
public MobileChunkedAppContext.MobileStyleManager getMobileStyleManager()
 
- 
getMaxResultSize
public int getMaxResultSize()
 
- 
setMaxResultSize
public void setMaxResultSize(int _maxResultSize)
 
- 
maxResultSizeExceeded
public boolean maxResultSizeExceeded()
 
- 
setMaxResultSizeExceeded
public void setMaxResultSizeExceeded(boolean _maxResultSizeExceeded)
 
- 
getCurrentPage
public PageComponent getCurrentPage()
Description copied from interface:AppContextReturns the name of the current page associated with the context. It returnsnullif there no current page.- Specified by:
 getCurrentPagein interfaceAppContext- Returns:
 PageComponentwhich is set on this object.- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 AppContext.setCurrentPage(PageComponent)
 
- 
getRootName
public java.lang.String getRootName()
Description copied from interface:AppContextReturns the name of the root component In the case of the jsp/servlet enviroment,it will be the name of the main servlet component This corresponds to the value of the parameterAppContext.CONFIG_SERVLET_NAME- Specified by:
 getRootNamein interfaceAppContext- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setAppSessionManager
public void setAppSessionManager(WebAppSessionManager sm)
Description copied from interface:AppContextThis method sets the Application Session Manager associated with this application context.- Specified by:
 setAppSessionManagerin interfaceAppContext- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setCurrentPage
public void setCurrentPage(PageComponent page)
Description copied from interface:AppContextSet a page as the current page of this context.- Specified by:
 setCurrentPagein interfaceAppContext- Parameters:
 page-PageComponentinstance.- Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 AppContext.getCurrentPage()
 
- 
getEventHandlersCatalog
public EventHandlersCatalog getEventHandlersCatalog()
Description copied from interface:BeanContextReturns the current instance ofEventHandlersCatalogassociated with the current BeanContext.- Specified by:
 getEventHandlersCatalogin interfaceBeanContext- Returns:
 - an instance of EventHandlersCatalog.
 - Since:
 - MicroStrategy Web 9.0.0
 - See Also:
 BeanContext.setEventHandlersCatalog(com.microstrategy.web.beans.EventHandlersCatalog)
 
- 
setEventHandlersCatalog
public void setEventHandlersCatalog(EventHandlersCatalog catalog)
Description copied from interface:BeanContextSets theEventHandlersCataloginstances associated with the current BeanContext. This catalog is then used by event-handlers to populate their events list and arguments. It includes for each event-handler, what are the events, and for each event, what are the argument and the name of the arguments used. ThisEventHandlersCatalogis typically configured through the "/WEB-INF/xml/config/events.xml" file.- Specified by:
 setEventHandlersCatalogin interfaceBeanContext- Parameters:
 catalog- an instance of EventHandlersCatalog to set.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getTransformException
public java.lang.Exception getTransformException()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
setTransformException
public void setTransformException(java.lang.Exception e)
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getBrowserHeaderLocaleId
public java.lang.String getBrowserHeaderLocaleId(java.util.Locale defaultLocale)
Description copied from interface:AppContextThis method will extract from request header a value corresponding to browser's locale info. This info will be resolved in order to return current browser's LCID. This is equivalent toLocaleInfo.findBestSupportedLocale(Locale, Locale[])with available display locales fromWebLocalizationManager.getAvailableLocales(int)forEnumLocalizationType.TYPE_WEB_SUPPORTED.- Specified by:
 getBrowserHeaderLocaleIdin interfaceAppContext- Returns:
 - a 
Stringwith the LCID 
 
- 
getWebSessionManager
public WebSessionManager getWebSessionManager()
Description copied from interface:BeanContextThis method returns the Application Session Manager associated with this application context. If not explicitly set through the#setAppSessionManagermethod, a new one is automatically created.- Specified by:
 getWebSessionManagerin interfaceBeanContext- Returns:
 WebSessionManager
 
 - 
 
 -