Class AdminServersHelper
- java.lang.Object
-
- com.microstrategy.web.admin.beans.AdminServersHelper
-
public final class AdminServersHelper extends java.lang.ObjectAdminServersHelper Provides utility functions used in connecting/disconnecting admin servers- Since:
- MicroStrategy Web 7.3.1 or earlier
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringAUTO_START_MODEstatic java.lang.StringDEFAULT_START_MODEstatic java.lang.StringMANUAL_START_MODEstatic java.lang.StringMIN_ISERVER_VERSIONDenotes the complete minimal iServer's version supported by this application:static java.lang.StringPROPERTY_ALLOW_ADMIN_APPLY_ALL_PROJECTSstatic java.lang.StringPROPERTY_ALLOW_AUTOCOMPLETEstatic java.lang.StringPROPERTY_ALLOW_CHANGE_Pstatic java.lang.StringPROPERTY_ALLOW_CHANGE_PASSWORDDeprecated.static java.lang.StringPROPERTY_ALLOW_HTML_ON_METRIC_VALUESstatic java.lang.StringPROPERTY_ALLOW_HTML_ON_NO_DATA_RETURNED_DESCstatic java.lang.StringPROPERTY_ALLOW_HTML_ON_OBJECT_DESCstatic java.lang.StringPROPERTY_ALLOW_HTML_ON_PRINT_HEADERstatic java.lang.StringPROPERTY_ALLOW_HTML_ON_PROJECT_DESCstatic java.lang.StringPROPERTY_ALLOW_HTML_ON_PROMPT_DESCstatic java.lang.StringPROPERTY_ALLOW_JS_ON_RS_HYPERLINKSstatic java.lang.StringPROPERTY_ALLOW_LEGACY_ISERVERSstatic java.lang.StringPROPERTY_ALLOW_LOGIN_BY_URLProperty to control whether bypass the uid/pwd in URL or notstatic java.lang.StringPROPERTY_ALLOW_SEAMLESS_LOGINstatic java.lang.StringPROPERTY_APPEND_LOCALE_PATHstatic java.lang.StringPROPERTY_AUTO_EXPAND_HIERARCHY_PREORION_BEHAVIORDetermines whether aunto expand hierarchy in prompt should use orion behavior or should compatible with 8.0 behaviorstatic java.lang.StringPROPERTY_BUSY_TIMEOUTstatic java.lang.StringPROPERTY_CONNECTION_FAILURE_TOLERANCEstatic java.lang.StringPROPERTY_CONNECTION_USE_FLASH_PROFILERwhether to Profile Analysis and Documents in Flash Mode.static java.lang.StringPROPERTY_CONNECTMODEstatic java.lang.StringPROPERTY_CREATE_NEW_SESSIONProperty to control whether need create new http session or not when loginstatic java.lang.StringPROPERTY_CUSTOM_ERROR_MESSAGEDetermines the custom error message which needs to be displayed on errorstatic java.lang.StringPROPERTY_CUSTOM_ERROR_MESSAGE_DESC_IDDetermines the error message which needs to be displayed on error.static java.lang.StringPROPERTY_CUSTOMIZATION_MODEstatic java.lang.StringPROPERTY_DEFAULT_LOGIN_MODEstatic java.lang.StringPROPERTY_DEFAULT_WEB_LOGIN_MODEstatic java.lang.StringPROPERTY_DIAGNOSTIC_FILE_LOCATIONstatic java.lang.StringPROPERTY_DIAGNOSTIC_TYPEstatic java.lang.StringPROPERTY_DISABLE_ONDEMAND_DRILLINGProperty to disable ondemand drilling.static java.lang.StringPROPERTY_ENABLE_FACEBOOK_LOGINstatic java.lang.StringPROPERTY_ENABLE_FENCINGstatic java.lang.StringPROPERTY_ENABLE_FRAME_BREAKINGstatic java.lang.StringPROPERTY_ENABLE_HTTP_PROXYstatic java.lang.StringPROPERTY_ENABLE_PROXYstatic java.lang.StringPROPERTY_ENABLED_LOGIN_MODEstatic java.lang.StringPROPERTY_ENABLED_WEB_LOGIN_MODEstatic java.lang.StringPROPERTY_ENCODE_EXPORT_RESULTSstatic java.lang.StringPROPERTY_ENCODE_TOOLTIPSstatic java.lang.StringPROPERTY_EXCLUDE_TIMESTAMP_IN_ERRORstatic java.lang.StringPROPERTY_FORCE_CONTENT_TYPE_VALIDATIONstatic java.lang.StringPROPERTY_FORCE_PARAMETER_VALIDATIONstatic java.lang.StringPROPERTY_HELP_LOCATIONProperty to indicate whether the help system entry point should be local or a URLstatic java.lang.StringPROPERTY_HELP_URLProperty to indicate the url of the help system when help location is not localstatic java.lang.StringPROPERTY_HIDE_EMBED_IMAGES_OPTIONstatic java.lang.StringPROPERTY_HTTP_PROXY_PORTstatic java.lang.StringPROPERTY_HTTP_PROXY_SERVER_ADDRESSstatic java.lang.StringPROPERTY_IDENTITY_TOKEN_SECRET_KEYstatic java.lang.StringPROPERTY_IFRAMEstatic java.lang.StringPROPERTY_INCLUDE_SESSION_URLstatic java.lang.StringPROPERTY_INCLUDE_TIMESTAMPDetermines whether to show time stamp in the I server error messagestatic java.lang.StringPROPERTY_INCLUDE_TIMESTAMP_IN_ERRORstatic java.lang.StringPROPERTY_INI_POOLstatic java.lang.StringPROPERTY_KEEP_ALIVEstatic java.lang.StringPROPERTY_LOAD_BALANCE_FACTORstatic java.lang.StringPROPERTY_MAX_MESSAGES_IDS_IN_COOKIEstatic java.lang.StringPROPERTY_MAX_POOLstatic java.lang.StringPROPERTY_MINIMUM_ISERVER_VERSIONstatic java.lang.StringPROPERTY_OFFICE_LOCATIONstatic java.lang.StringPROPERTY_OVERRIDE_ISEREVER_ERRORSstatic java.lang.StringPROPERTY_OVERRIDE_ISERVER_ERROR_MESSAGEDetermines if the preference is set to override the message generated by Iserverstatic java.lang.StringPROPERTY_PORTstatic java.lang.StringPROPERTY_PREVENT_BROWSER_CACHINGstatic java.lang.StringPROPERTY_PROJECT_LIST_LOGIN_REQUIREDstatic java.lang.StringPROPERTY_PROJECT_SORTINGstatic java.lang.StringPROPERTY_RECORD_LOGGING_LEVELstatic java.lang.StringPROPERTY_RENDER_EXCEPTION_INFOstatic java.lang.StringPROPERTY_RENDER_REQUEST_INFOstatic java.lang.StringPROPERTY_REQUEST_TIMEOUTstatic java.lang.StringPROPERTY_SALESFORCE_CLIENT_IDstatic java.lang.StringPROPERTY_SALESFORCE_CLIENT_SECRETstatic java.lang.StringPROPERTY_SALESFORCE_REDIRECT_URLstatic java.lang.StringPROPERTY_SAVE_TEMP_SETTINGS_IN_COOKIESstatic java.lang.StringPROPERTY_SERVER_SORTINGstatic java.lang.StringPROPERTY_SHOW_ABOUT_PAGE_INFODeprecated.In MicroStrategy Web 11.0 The support for this preference no longer existsstatic java.lang.StringPROPERTY_SHOW_BACKWARDS_COMPATIBILITY_SWITCH_IN_PROMPT_EDITORstatic java.lang.StringPROPERTY_SHOW_FILTER_ON_SELECTIONS_CHECKSProperty to enable check boxes on filter on selectionsstatic java.lang.StringPROPERTY_SHOW_LOGIN_PAGE_AFTER_LOGOUTstatic java.lang.StringPROPERTY_SHOW_OFFICE_LINKstatic java.lang.StringPROPERTY_SSL_VALIDATEstatic java.lang.StringPROPERTY_STATISTICS_ADVANCED_LOGGERstatic java.lang.StringPROPERTY_STATISTICS_FILEstatic java.lang.StringPROPERTY_STATISTICS_MODEstatic java.lang.StringPROPERTY_STATISTICS_USERstatic java.lang.StringPROPERTY_TRUSTED_AUTH_PROVIDERstatic java.lang.StringPROPERTY_USE_COOKIESstatic java.lang.StringPROPERTY_USE_DEPRECATED_FEATURESstatic java.lang.StringPROPERTY_USE_ENCRYPTIONstatic java.lang.StringPROPERTY_USE_IE_EDGE_MODEstatic java.lang.StringPROPERTY_USE_OIVMProperty to control whether use optimized-interactive-view-mode or notstatic java.lang.StringPROPERTY_USE_SESSION_COOKIEstatic java.lang.StringPROPERTY_USER_HELP_PAGEstatic java.lang.StringPROPERTY_VALUE_DENYstatic intPROPERTY_VALUE_DISABLE_COOKIESDeprecated.cookieless mode is not secure and should not be used.static intPROPERTY_VALUE_FIXED_COOKIESstatic java.lang.StringPROPERTY_VALUE_LOCATION_LOCALstatic java.lang.StringPROPERTY_VALUE_LOCATION_REMOTEstatic java.lang.StringPROPERTY_VALUE_NOstatic java.lang.StringPROPERTY_VALUE_SAMEORIGINstatic java.lang.StringPROPERTY_VALUE_SORTING_DEFAULTstatic java.lang.StringPROPERTY_VALUE_SORTING_DESCRIPTIONstatic java.lang.StringPROPERTY_VALUE_SORTING_NAMEstatic java.lang.StringPROPERTY_VALUE_SORTING_NONEstatic java.lang.StringPROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_DISABLEDstatic java.lang.StringPROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_OTHERstatic java.lang.StringPROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_SESSIONstatic java.lang.StringPROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_XMLAPIstatic intPROPERTY_VALUE_TEMP_COOKIESDeprecated.this choice is deprecated.static java.lang.StringPROPERTY_VALUE_YESstatic java.lang.StringPROPERTY_VIEW_LOGGING_LEVELstatic java.lang.StringPROPERTY_X_FRAME_OPTIONS
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidcheckIServerName(java.lang.String name)Checks if the version of an iServer can be used with the current version of Web.static voidcheckIServerVersion(WebIServerSession session)static voidcheckIServerVersion(java.lang.String name, int port)Checks if the version of an iServer can be used with the current version of Web.static voidconnectIServers(AdminServersList adminServersList)This method will go through all the Intelligent Servers present on the web server and will automatically connect to all those servers which are set to be in AUTO connect mode.static voidconnectIServers(AppContext context)This method will go through all the Intelligent Servers present on the web server and will automatically connect to all those servers which are set to be in AUTO connect mode.static voidensureServersAreConnected()static HashList<java.lang.String,java.lang.String>getApplyOptions(java.lang.String serverName, java.lang.String projectName, AbstractAppTransform transform)Convenience method that returns the options use by the preferences transforms to indicate whether the changes will apply to the current project, or to all the projects in the current Intelligent Server.static AdminServersHelpergetInstance()static java.lang.StringgetMinimumIServerVersion()Try to retrieve the minimum IServer version from the sys_defaults.xml config file, if not set, return the default IServer version #MIN_ISERVER_VERSIONstatic java.lang.StringgetRequestServerName(AppContext app)Retrieves the name of the web server which hosts this application.static java.lang.String[][]getUserPrefApplyOptions(java.lang.String serverName, java.lang.String projectName, AbstractAppTransform transform)voidscheduleIServerConnect(java.lang.String pollingFrequency, AppContext context)This method will schedule a task which will automatically look for the Intelligent servers present on this web server, and if they are in AUTO mode, it will connect to those Intelligent servers.voidscheduleIServerConnect(java.lang.String pollingFrequency, org.w3c.dom.Document serverList)Deprecated.replaced byscheduleIServerConnect(String, AppContext)static voidsetIServerConnectionFailureTolerance(java.lang.String tolerance)static voidsetIServerProperties(java.lang.String serverName)Set the values for some Intelligent server properties like max pool size, keep alive connection and load balacne factor.static voidsetIServerTimeouts(java.lang.String requestTimeOut, java.lang.String serverBusyTimeOut)Set the Intelligent server timeouts on the webapi instance.voidupdateConnectedServersList(AdminServersList adminServersList)
-
-
-
Field Detail
-
MANUAL_START_MODE
public static final java.lang.String MANUAL_START_MODE
- See Also:
- Constant Field Values
-
AUTO_START_MODE
public static final java.lang.String AUTO_START_MODE
- See Also:
- Constant Field Values
-
DEFAULT_START_MODE
public static final java.lang.String DEFAULT_START_MODE
- See Also:
- Constant Field Values
-
MIN_ISERVER_VERSION
public static final java.lang.String MIN_ISERVER_VERSION
Denotes the complete minimal iServer's version supported by this application:- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_CONNECTMODE
public static final java.lang.String PROPERTY_CONNECTMODE
- See Also:
- Constant Field Values
-
PROPERTY_INI_POOL
public static final java.lang.String PROPERTY_INI_POOL
- See Also:
- Constant Field Values
-
PROPERTY_KEEP_ALIVE
public static final java.lang.String PROPERTY_KEEP_ALIVE
- See Also:
- Constant Field Values
-
PROPERTY_LOAD_BALANCE_FACTOR
public static final java.lang.String PROPERTY_LOAD_BALANCE_FACTOR
- See Also:
- Constant Field Values
-
PROPERTY_MAX_POOL
public static final java.lang.String PROPERTY_MAX_POOL
- See Also:
- Constant Field Values
-
PROPERTY_PORT
public static final java.lang.String PROPERTY_PORT
- See Also:
- Constant Field Values
-
PROPERTY_REQUEST_TIMEOUT
public static final java.lang.String PROPERTY_REQUEST_TIMEOUT
- See Also:
- Constant Field Values
-
PROPERTY_BUSY_TIMEOUT
public static final java.lang.String PROPERTY_BUSY_TIMEOUT
- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_LOGIN_MODE
public static final java.lang.String PROPERTY_DEFAULT_LOGIN_MODE
- See Also:
- Constant Field Values
-
PROPERTY_DEFAULT_WEB_LOGIN_MODE
public static final java.lang.String PROPERTY_DEFAULT_WEB_LOGIN_MODE
- See Also:
- Constant Field Values
-
PROPERTY_ENABLED_LOGIN_MODE
public static final java.lang.String PROPERTY_ENABLED_LOGIN_MODE
- See Also:
- Constant Field Values
-
PROPERTY_ENABLED_WEB_LOGIN_MODE
public static final java.lang.String PROPERTY_ENABLED_WEB_LOGIN_MODE
- See Also:
- Constant Field Values
-
PROPERTY_PROJECT_LIST_LOGIN_REQUIRED
public static final java.lang.String PROPERTY_PROJECT_LIST_LOGIN_REQUIRED
- See Also:
- Constant Field Values
-
PROPERTY_USE_ENCRYPTION
public static final java.lang.String PROPERTY_USE_ENCRYPTION
- See Also:
- Constant Field Values
-
PROPERTY_SSL_VALIDATE
public static final java.lang.String PROPERTY_SSL_VALIDATE
- See Also:
- Constant Field Values
-
PROPERTY_CUSTOMIZATION_MODE
public static final java.lang.String PROPERTY_CUSTOMIZATION_MODE
- See Also:
- Constant Field Values
-
PROPERTY_CONNECTION_FAILURE_TOLERANCE
public static final java.lang.String PROPERTY_CONNECTION_FAILURE_TOLERANCE
- See Also:
- Constant Field Values
-
PROPERTY_MINIMUM_ISERVER_VERSION
public static final java.lang.String PROPERTY_MINIMUM_ISERVER_VERSION
- See Also:
- Constant Field Values
-
PROPERTY_CONNECTION_USE_FLASH_PROFILER
public static final java.lang.String PROPERTY_CONNECTION_USE_FLASH_PROFILER
whether to Profile Analysis and Documents in Flash Mode. Used for debugging.- See Also:
- Constant Field Values
-
PROPERTY_SHOW_LOGIN_PAGE_AFTER_LOGOUT
public static final java.lang.String PROPERTY_SHOW_LOGIN_PAGE_AFTER_LOGOUT
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_TRUSTED_AUTH_PROVIDER
public static final java.lang.String PROPERTY_TRUSTED_AUTH_PROVIDER
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_OFFICE_LOCATION
public static final java.lang.String PROPERTY_OFFICE_LOCATION
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_APPEND_LOCALE_PATH
public static final java.lang.String PROPERTY_APPEND_LOCALE_PATH
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_OFFICE_LINK
public static final java.lang.String PROPERTY_SHOW_OFFICE_LINK
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_USE_IE_EDGE_MODE
public static final java.lang.String PROPERTY_USE_IE_EDGE_MODE
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_PREVENT_BROWSER_CACHING
public static final java.lang.String PROPERTY_PREVENT_BROWSER_CACHING
- See Also:
- Constant Field Values
-
PROPERTY_USE_COOKIES
public static final java.lang.String PROPERTY_USE_COOKIES
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_HTML_ON_PRINT_HEADER
public static final java.lang.String PROPERTY_ALLOW_HTML_ON_PRINT_HEADER
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_HTML_ON_OBJECT_DESC
public static final java.lang.String PROPERTY_ALLOW_HTML_ON_OBJECT_DESC
- Since:
- MicroStrategy Web 7.5.1
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_HTML_ON_METRIC_VALUES
public static final java.lang.String PROPERTY_ALLOW_HTML_ON_METRIC_VALUES
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_HTML_ON_PROJECT_DESC
public static final java.lang.String PROPERTY_ALLOW_HTML_ON_PROJECT_DESC
- Since:
- MicroStrategy Web 8.0.1
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_JS_ON_RS_HYPERLINKS
public static final java.lang.String PROPERTY_ALLOW_JS_ON_RS_HYPERLINKS
- Since:
- MicroStrategy Web 8.1.0
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_HTML_ON_PROMPT_DESC
public static final java.lang.String PROPERTY_ALLOW_HTML_ON_PROMPT_DESC
- Since:
- MicroStrategy Web 8.0.1
- See Also:
- Constant Field Values
-
PROPERTY_ENCODE_EXPORT_RESULTS
public static final java.lang.String PROPERTY_ENCODE_EXPORT_RESULTS
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_USE_SESSION_COOKIE
public static final java.lang.String PROPERTY_USE_SESSION_COOKIE
- See Also:
- Constant Field Values
-
PROPERTY_INCLUDE_SESSION_URL
public static final java.lang.String PROPERTY_INCLUDE_SESSION_URL
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_SEAMLESS_LOGIN
public static final java.lang.String PROPERTY_ALLOW_SEAMLESS_LOGIN
- See Also:
- Constant Field Values
-
PROPERTY_DIAGNOSTIC_TYPE
public static final java.lang.String PROPERTY_DIAGNOSTIC_TYPE
- See Also:
- Constant Field Values
-
PROPERTY_DIAGNOSTIC_FILE_LOCATION
public static final java.lang.String PROPERTY_DIAGNOSTIC_FILE_LOCATION
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_CHANGE_P
public static final java.lang.String PROPERTY_ALLOW_CHANGE_P
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_CHANGE_PASSWORD
@Deprecated public static final java.lang.String PROPERTY_ALLOW_CHANGE_PASSWORD
Deprecated.- See Also:
- Constant Field Values
-
PROPERTY_IFRAME
public static final java.lang.String PROPERTY_IFRAME
- See Also:
- Constant Field Values
-
PROPERTY_RECORD_LOGGING_LEVEL
public static final java.lang.String PROPERTY_RECORD_LOGGING_LEVEL
- See Also:
- Constant Field Values
-
PROPERTY_VIEW_LOGGING_LEVEL
public static final java.lang.String PROPERTY_VIEW_LOGGING_LEVEL
- See Also:
- Constant Field Values
-
PROPERTY_STATISTICS_MODE
public static final java.lang.String PROPERTY_STATISTICS_MODE
- See Also:
- Constant Field Values
-
PROPERTY_STATISTICS_FILE
public static final java.lang.String PROPERTY_STATISTICS_FILE
- See Also:
- Constant Field Values
-
PROPERTY_ENCODE_TOOLTIPS
public static final java.lang.String PROPERTY_ENCODE_TOOLTIPS
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_HTML_ON_NO_DATA_RETURNED_DESC
public static final java.lang.String PROPERTY_ALLOW_HTML_ON_NO_DATA_RETURNED_DESC
- See Also:
- Constant Field Values
-
PROPERTY_RENDER_EXCEPTION_INFO
public static final java.lang.String PROPERTY_RENDER_EXCEPTION_INFO
- Since:
- MicroStrategy Web 8.1.1
- See Also:
- Constant Field Values
-
PROPERTY_RENDER_REQUEST_INFO
public static final java.lang.String PROPERTY_RENDER_REQUEST_INFO
- Since:
- MicroStrategy Web 8.1.1
- See Also:
- Constant Field Values
-
PROPERTY_STATISTICS_USER
public static final java.lang.String PROPERTY_STATISTICS_USER
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_AUTO_EXPAND_HIERARCHY_PREORION_BEHAVIOR
public static final java.lang.String PROPERTY_AUTO_EXPAND_HIERARCHY_PREORION_BEHAVIOR
Determines whether aunto expand hierarchy in prompt should use orion behavior or should compatible with 8.0 behavior- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_BACKWARDS_COMPATIBILITY_SWITCH_IN_PROMPT_EDITOR
public static final java.lang.String PROPERTY_SHOW_BACKWARDS_COMPATIBILITY_SWITCH_IN_PROMPT_EDITOR
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_LEGACY_ISERVERS
public static final java.lang.String PROPERTY_ALLOW_LEGACY_ISERVERS
- Since:
- MicroStrategy Web 8.0.0
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_AUTOCOMPLETE
public static final java.lang.String PROPERTY_ALLOW_AUTOCOMPLETE
- Since:
- MicroStrategy Web 7.5.3
- See Also:
- Constant Field Values
-
PROPERTY_STATISTICS_ADVANCED_LOGGER
public static final java.lang.String PROPERTY_STATISTICS_ADVANCED_LOGGER
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_ADMIN_APPLY_ALL_PROJECTS
public static final java.lang.String PROPERTY_ALLOW_ADMIN_APPLY_ALL_PROJECTS
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_YES
public static final java.lang.String PROPERTY_VALUE_YES
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_NO
public static final java.lang.String PROPERTY_VALUE_NO
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_DISABLE_COOKIES
@Deprecated public static final int PROPERTY_VALUE_DISABLE_COOKIES
Deprecated.cookieless mode is not secure and should not be used.- See Also:
- Constant Field Values
-
PROPERTY_VALUE_TEMP_COOKIES
public static final int PROPERTY_VALUE_TEMP_COOKIES
Deprecated.this choice is deprecated. Always use permanent cookies for permanent settings in cookie mode.- See Also:
- Constant Field Values
-
PROPERTY_VALUE_FIXED_COOKIES
public static final int PROPERTY_VALUE_FIXED_COOKIES
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_DISABLED
public static final java.lang.String PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_DISABLED
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_XMLAPI
public static final java.lang.String PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_XMLAPI
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_OTHER
public static final java.lang.String PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_OTHER
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_SESSION
public static final java.lang.String PROPERTY_VALUE_STATISTICS_ADVANCED_LOGGER_SESSION
- Since:
- MicroStrategy Web 10.8.0
- See Also:
- Constant Field Values
-
PROPERTY_SAVE_TEMP_SETTINGS_IN_COOKIES
public static final java.lang.String PROPERTY_SAVE_TEMP_SETTINGS_IN_COOKIES
- Since:
- MicroStrategy Web 8.0.2
- See Also:
- Constant Field Values
-
PROPERTY_PROJECT_SORTING
public static final java.lang.String PROPERTY_PROJECT_SORTING
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_SERVER_SORTING
public static final java.lang.String PROPERTY_SERVER_SORTING
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_ABOUT_PAGE_INFO
@Deprecated public static final java.lang.String PROPERTY_SHOW_ABOUT_PAGE_INFO
Deprecated.In MicroStrategy Web 11.0 The support for this preference no longer exists- Since:
- MicroStrategy Web 9.0.2
- See Also:
- Constant Field Values
-
PROPERTY_ALLOW_LOGIN_BY_URL
public static final java.lang.String PROPERTY_ALLOW_LOGIN_BY_URL
Property to control whether bypass the uid/pwd in URL or not- Since:
- MicroStrategy Web 9.0.2
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_SORTING_NONE
public static final java.lang.String PROPERTY_VALUE_SORTING_NONE
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_SORTING_DEFAULT
public static final java.lang.String PROPERTY_VALUE_SORTING_DEFAULT
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_SORTING_NAME
public static final java.lang.String PROPERTY_VALUE_SORTING_NAME
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_SORTING_DESCRIPTION
public static final java.lang.String PROPERTY_VALUE_SORTING_DESCRIPTION
- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_DISABLE_ONDEMAND_DRILLING
public static final java.lang.String PROPERTY_DISABLE_ONDEMAND_DRILLING
Property to disable ondemand drilling.- Since:
- MicroStrategy Web 9.0.0
- See Also:
- Constant Field Values
-
PROPERTY_SHOW_FILTER_ON_SELECTIONS_CHECKS
public static final java.lang.String PROPERTY_SHOW_FILTER_ON_SELECTIONS_CHECKS
Property to enable check boxes on filter on selections- Since:
- MicroStrategy Web 9.0.1
- See Also:
- Constant Field Values
-
PROPERTY_CREATE_NEW_SESSION
public static final java.lang.String PROPERTY_CREATE_NEW_SESSION
Property to control whether need create new http session or not when login- Since:
- MicroStrategy Web 9.0.3
- See Also:
- Constant Field Values
-
PROPERTY_USE_OIVM
public static final java.lang.String PROPERTY_USE_OIVM
Property to control whether use optimized-interactive-view-mode or not- Since:
- MicroStrategy Web 9.0.3
- See Also:
- Constant Field Values
-
PROPERTY_OVERRIDE_ISEREVER_ERRORS
public static final java.lang.String PROPERTY_OVERRIDE_ISEREVER_ERRORS
- Since:
- MicroStrategy Web 9.4.0
- See Also:
- Constant Field Values
-
PROPERTY_INCLUDE_TIMESTAMP_IN_ERROR
public static final java.lang.String PROPERTY_INCLUDE_TIMESTAMP_IN_ERROR
- Since:
- MicroStrategy Web 9.4.0
- See Also:
- Constant Field Values
-
PROPERTY_EXCLUDE_TIMESTAMP_IN_ERROR
public static final java.lang.String PROPERTY_EXCLUDE_TIMESTAMP_IN_ERROR
- Since:
- MicroStrategy Web 9.4.0
- See Also:
- Constant Field Values
-
PROPERTY_HELP_URL
public static final java.lang.String PROPERTY_HELP_URL
Property to indicate the url of the help system when help location is not local- See Also:
- Constant Field Values
-
PROPERTY_USER_HELP_PAGE
public static final java.lang.String PROPERTY_USER_HELP_PAGE
- See Also:
- Constant Field Values
-
PROPERTY_HELP_LOCATION
public static final java.lang.String PROPERTY_HELP_LOCATION
Property to indicate whether the help system entry point should be local or a URL- See Also:
- Constant Field Values
-
PROPERTY_VALUE_LOCATION_LOCAL
public static final java.lang.String PROPERTY_VALUE_LOCATION_LOCAL
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_LOCATION_REMOTE
public static final java.lang.String PROPERTY_VALUE_LOCATION_REMOTE
- See Also:
- Constant Field Values
-
PROPERTY_SALESFORCE_CLIENT_ID
public static final java.lang.String PROPERTY_SALESFORCE_CLIENT_ID
- See Also:
- Constant Field Values
-
PROPERTY_SALESFORCE_CLIENT_SECRET
public static final java.lang.String PROPERTY_SALESFORCE_CLIENT_SECRET
- See Also:
- Constant Field Values
-
PROPERTY_SALESFORCE_REDIRECT_URL
public static final java.lang.String PROPERTY_SALESFORCE_REDIRECT_URL
- See Also:
- Constant Field Values
-
PROPERTY_ENABLE_FACEBOOK_LOGIN
public static final java.lang.String PROPERTY_ENABLE_FACEBOOK_LOGIN
- See Also:
- Constant Field Values
-
PROPERTY_FORCE_PARAMETER_VALIDATION
public static final java.lang.String PROPERTY_FORCE_PARAMETER_VALIDATION
- See Also:
- Constant Field Values
-
PROPERTY_FORCE_CONTENT_TYPE_VALIDATION
public static final java.lang.String PROPERTY_FORCE_CONTENT_TYPE_VALIDATION
- See Also:
- Constant Field Values
-
PROPERTY_ENABLE_PROXY
public static final java.lang.String PROPERTY_ENABLE_PROXY
- Since:
- MicroStrategy Web 9.3.0
- See Also:
- Constant Field Values
-
PROPERTY_X_FRAME_OPTIONS
public static final java.lang.String PROPERTY_X_FRAME_OPTIONS
- See Also:
- Constant Field Values
-
PROPERTY_ENABLE_FRAME_BREAKING
public static final java.lang.String PROPERTY_ENABLE_FRAME_BREAKING
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_DENY
public static final java.lang.String PROPERTY_VALUE_DENY
- See Also:
- Constant Field Values
-
PROPERTY_VALUE_SAMEORIGIN
public static final java.lang.String PROPERTY_VALUE_SAMEORIGIN
- See Also:
- Constant Field Values
-
PROPERTY_ENABLE_HTTP_PROXY
public static final java.lang.String PROPERTY_ENABLE_HTTP_PROXY
- See Also:
- Constant Field Values
-
PROPERTY_HTTP_PROXY_SERVER_ADDRESS
public static final java.lang.String PROPERTY_HTTP_PROXY_SERVER_ADDRESS
- See Also:
- Constant Field Values
-
PROPERTY_HTTP_PROXY_PORT
public static final java.lang.String PROPERTY_HTTP_PROXY_PORT
- See Also:
- Constant Field Values
-
PROPERTY_INCLUDE_TIMESTAMP
public static final java.lang.String PROPERTY_INCLUDE_TIMESTAMP
Determines whether to show time stamp in the I server error message- Since:
- MicroStrategy Web 9.3.1
- See Also:
- Constant Field Values
-
PROPERTY_CUSTOM_ERROR_MESSAGE
public static final java.lang.String PROPERTY_CUSTOM_ERROR_MESSAGE
Determines the custom error message which needs to be displayed on error- See Also:
- Constant Field Values
-
PROPERTY_CUSTOM_ERROR_MESSAGE_DESC_ID
public static final java.lang.String PROPERTY_CUSTOM_ERROR_MESSAGE_DESC_ID
Determines the error message which needs to be displayed on error. Currently, the code corresponds to descriptor "A server error was encountered. Please contact your system administrator."- See Also:
- Constant Field Values
-
PROPERTY_OVERRIDE_ISERVER_ERROR_MESSAGE
public static final java.lang.String PROPERTY_OVERRIDE_ISERVER_ERROR_MESSAGE
Determines if the preference is set to override the message generated by Iserver- See Also:
- Constant Field Values
-
PROPERTY_MAX_MESSAGES_IDS_IN_COOKIE
public static final java.lang.String PROPERTY_MAX_MESSAGES_IDS_IN_COOKIE
- See Also:
- Constant Field Values
-
PROPERTY_ENABLE_FENCING
public static final java.lang.String PROPERTY_ENABLE_FENCING
- Since:
- MicroStrategy Web 10.9.0
- See Also:
- Constant Field Values
-
PROPERTY_USE_DEPRECATED_FEATURES
public static final java.lang.String PROPERTY_USE_DEPRECATED_FEATURES
- Since:
- MicroStrategy Web 11.0.0
- See Also:
- Constant Field Values
-
PROPERTY_IDENTITY_TOKEN_SECRET_KEY
public static final java.lang.String PROPERTY_IDENTITY_TOKEN_SECRET_KEY
- Since:
- MicroStrategy Web 11.0.0
- See Also:
- Constant Field Values
-
PROPERTY_HIDE_EMBED_IMAGES_OPTION
public static final java.lang.String PROPERTY_HIDE_EMBED_IMAGES_OPTION
- Since:
- MicroStrategy Web 11.3.0
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static AdminServersHelper getInstance()
- Since:
- MicroStrategy Web 8.0.1
-
connectIServers
public static void connectIServers(AdminServersList adminServersList)
This method will go through all the Intelligent Servers present on the web server and will automatically connect to all those servers which are set to be in AUTO connect mode.- Parameters:
adminServersList- The list of all the Intelligent Servers present on the web server.
-
connectIServers
public static void connectIServers(AppContext context)
This method will go through all the Intelligent Servers present on the web server and will automatically connect to all those servers which are set to be in AUTO connect mode.- Parameters:
context- The list of all the Intelligent Servers present on the web server are obtained via theAppContext.- Since:
- MicroStrategy Web 9.0.0
-
setIServerTimeouts
public static void setIServerTimeouts(java.lang.String requestTimeOut, java.lang.String serverBusyTimeOut)Set the Intelligent server timeouts on the webapi instance. This includes the request time out and the server busy time out.- Parameters:
requestTimeOut- The request time outserverBusyTimeOut- The server busy time out.
-
setIServerConnectionFailureTolerance
public static void setIServerConnectionFailureTolerance(java.lang.String tolerance)
-
checkIServerVersion
public static void checkIServerVersion(java.lang.String name, int port) throws WebAppException, WebObjectsExceptionChecks if the version of an iServer can be used with the current version of Web. In case it won't, it throws an WebAppException. This version requires an iServer version 8 or higher.- Parameters:
name- server's nameport- server's port- Throws:
WebAppExceptionWebObjectsException- Since:
- MicroStrategy Web 8.0.0
-
checkIServerVersion
public static void checkIServerVersion(WebIServerSession session) throws WebAppException, WebObjectsException
- Throws:
WebAppExceptionWebObjectsException- Since:
- MicroStrategy Web 9.0.1
-
checkIServerName
public static void checkIServerName(java.lang.String name) throws WebAppExceptionChecks if the version of an iServer can be used with the current version of Web. In case it won't, it throws an WebAppException. This versin requires an iServer version 8 or higher.- Parameters:
name- server's name- Throws:
WebAppException- Since:
- MicroStrategy Web 8.0.0
-
setIServerProperties
public static void setIServerProperties(java.lang.String serverName)
Set the values for some Intelligent server properties like max pool size, keep alive connection and load balacne factor. These values are set on the Intelligent server connection and are read from the preferences for that Intelligent server.- Parameters:
serverName- The Intelligent server on which we are supposed to set the properties.
-
getRequestServerName
public static java.lang.String getRequestServerName(AppContext app)
Retrieves the name of the web server which hosts this application. The name is retrived from the servlet request object.- Parameters:
app- The application context for this application.- Returns:
- the name of the web server hosting the application.
-
getMinimumIServerVersion
public static java.lang.String getMinimumIServerVersion()
Try to retrieve the minimum IServer version from the sys_defaults.xml config file, if not set, return the default IServer version #MIN_ISERVER_VERSION- Returns:
- the minimum IServer version
-
updateConnectedServersList
public void updateConnectedServersList(AdminServersList adminServersList)
- Since:
- MicroStrategy Web 8.0.1
-
scheduleIServerConnect
public void scheduleIServerConnect(java.lang.String pollingFrequency, org.w3c.dom.Document serverList)Deprecated.replaced byscheduleIServerConnect(String, AppContext)This method will schedule a task which will automatically look for the Intelligent servers present on this web server, and if they are in AUTO mode, it will connect to those Intelligent servers. This task will keep recurring after a fixed interval of time.- Parameters:
pollingFrequency- The frequency at which the task will look for all the AUTO mode Intelligent servers. This value is specified in milli seconds.serverList- The list of all the Intelligent servers present on this web server is obtained from theAppContext.
-
scheduleIServerConnect
public void scheduleIServerConnect(java.lang.String pollingFrequency, AppContext context)This method will schedule a task which will automatically look for the Intelligent servers present on this web server, and if they are in AUTO mode, it will connect to those Intelligent servers. This task will keep recurring after a fixed interval of time.- Parameters:
pollingFrequency- The frequency at which the task will look for all the AUTO mode Intelligent servers. This value is specified in milli seconds.context- The list of all the Intelligent servers present on this web server is obtained from theAppContext.- Since:
- MicroStrategy Web 9.0.0
-
getUserPrefApplyOptions
public static java.lang.String[][] getUserPrefApplyOptions(java.lang.String serverName, java.lang.String projectName, AbstractAppTransform transform)- Since:
- MicroStrategy Web 8.0.2
-
getApplyOptions
public static HashList<java.lang.String,java.lang.String> getApplyOptions(java.lang.String serverName, java.lang.String projectName, AbstractAppTransform transform)
Convenience method that returns the options use by the preferences transforms to indicate whether the changes will apply to the current project, or to all the projects in the current Intelligent Server.
-
ensureServersAreConnected
public static void ensureServersAreConnected()
- Since:
- MicroStrategy Web 8.0.2
-
-