Uiinfrastructure API Docs  
 

ConfigHelper Members

ConfigHelper overview

Public Static Fields

iconiconGATEWAY_URL JF- This is to be able to identify a gatway URL
iconiconHTTP_SCHEME JF- HTTP Scheme
iconiconHTTPS_SCHEME JF- HTTPS Scheme
iconiconJSCOMPONENT_JSDATEPICKER 
iconiconJSCOMPONENT_JSPORTALMENU 
iconiconJSCOMPONENT_JSPORTLET 
iconiconJSCOMPONENT_JSROBOHELPER 
iconiconJSCOMPONENT_JSUTIL 
iconiconJSCOMPONENT_JSXML 

Public Static Methods

iconiconGetApplicationBaseURLOverloaded. JF- Returns the Application URL according to the URL Mapping and the security. Warning: depending on the security mode, the security in argument might not make sense. E.g.: in mode 0, it doesn't make sense to request the secure URL (and it might just return an empty URL) The normalized base URL is available either cached on the AActivitySpace or by calling ConfigHelper.GetNormalizedBaseURL with the current request URL.
iconiconGetApplicationBaseURLToAS JF- Returns the Application URL according to the URL Mapping and determines the security according to the space name in argument.
iconiconGetCommonJSIncludesOverloaded.  
iconiconGetConfigVariableAsIntOverloaded. Helper method to access an int variable from portalconfig.xml.
iconiconGetConfigVariableAsStringOverloaded. Helper method to access a String variable from portalconfig.xml.
iconiconGetConfigVariablesOverloaded. Helper method to access a String variable from portalconfig.xml.
iconiconGetFullAdminSiteURL Returns full URL to the admin site without any question mark.
iconiconGetHTMLDocType This method returns the document type specification for use with the HTMLPage objects created for each DisplayPage.
iconiconGetHTTPEntryPoint JF- Retuns the value of the HTTP Entry point from x_config.xml E.g.: server.pt
iconiconGetImageServerBaseURLOverloaded. This method used to return the Image Server Base URL. Example: http://server/imageserver/plumtree
iconiconGetImageserverConnectTimeout This method returns the imageserver connection timeout integer in seconds
iconiconGetImageServerRootURLOverloaded. This method used to return the Image Server Base URL. Example: http://server/imageserver/
iconiconGetIsDotNet Returns whether or not the current platform is .NET.
iconiconGetIsJava Returns whether or not the current platform is Java.
iconiconGetIsSpaceSecure Returns the security of the Activty Space.
iconiconGetJSIncluderComponentPath 
iconiconGetJSIncluderComponentVersion 
iconiconGetJSIncluderJSComponentIncludeOverloaded. HTMLElement with a script blocks including the javascript files for the given jscomponent.
iconiconGetJSIncluderVersionPrefix 
iconiconGetMainApplicationName This method returns the main application name
iconiconGetMainServerApplicationURL JF- Returns the Main server URL from x_config.xml
iconiconGetNormalizedBaseURL DLH- Helper method to return the normalized base URL for use in determining the correct application base url.
iconiconGetPerformanceCommentsEnabled Returns whether or not the performance metrics comments displayed in the HTML source at the end of each page are enabled. This value should be false if web caching and acceleration software is being used, otherwise pages will never have static content.
iconiconGetPerformanceStacktracesEnabled Returns whether or not the performance metrics stacktraces displayed in the HTML source at the end of each page are enabled. This value should be false if web caching and acceleration software is being used, otherwise pages will never have static content.
iconiconGetPortalImageServerBaseURLOverloaded. This method used to return the Portal Image Server Base URL.
iconiconGetPortalImageServerConnectionURL This method returns the Image Server Connection URL. This URL is used anytime the Portal Server needs to talk to the Image Server. This happens when retrieving JSRegistry information, for example.
iconiconGetPortalImageServerHelpURLOverloaded. This method used to return the Portal Image Server Help URL.
iconiconGetPortalImageServerImagesURLOverloaded. This method used to return the Portal Image Server Images URL.
iconiconGetPortalImageServerJavaScriptURLOverloaded. This method used to return the Portal Image Server JavaScript URL.
iconiconGetResourceManager 
iconiconGetSecurityMode Returns the security mode value from portalconfig.xml.
iconiconGetSharedImageServerBaseURLOverloaded. This method used to return the Shared Image Server Base URL.
iconiconGetSharedImageServerImagesURLOverloaded. This method used to return the Shared Image Server Images URL.
iconiconGetSharedImageServerJavaScriptURLOverloaded. This method used to return the Shared Image Server JavaScript URL.
iconiconGetSharedImageServerStylesURLOverloaded. This method used to return the Shared Image Server Styles URL.
iconiconGetStyleSheetsBaseURLOverloaded. Returns the base URL to the style sheets on the image server.
iconiconGetTypeDescrManager This method returns the class type description manager.
iconiconIsGoingToSubSpace Helper method to know whether the Redirect is going to a sub space of the current space of no.
iconiconIsInitialized Whether or not the config helper has been initialized properly.
iconiconIsLoginTokenSecure JF- Helper method to figure out if the login cookie should be secure or not.
iconiconIsSpaceSecured Returns true if this AS shoudl be accessed through HTTPS. Note: in security mode 2 and 3, true is always returned.
iconiconStaticInit Static init method. Can only be called once.

Public Instance Constructors

icon ConfigHelper Constructor Initializes a new instance of the ConfigHelper class.

Public Instance Methods

iconEquals (inherited from Object)Determines whether the specified Object is equal to the current Object.
iconGetHashCode (inherited from Object)Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table.
iconGetType (inherited from Object)Gets the Type of the current instance.
iconToString (inherited from Object)Returns a String that represents the current Object.

Protected Instance Methods

iconFinalize (inherited from Object)Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
iconMemberwiseClone (inherited from Object)Creates a shallow copy of the current Object.

See Also

ConfigHelper Class | com.plumtree.uiinfrastructure.statichelpers Namespace