|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IConfigHelper
Method Summary | |
---|---|
java.lang.String |
GetApplicationBaseURL(AActivitySpace asSpace)
JF- Returns the Application URL according to the URL Mapping. |
java.lang.String |
GetApplicationBaseURL(java.lang.String _sNormalizedBaseURL)
JF- Returns the Application URL according to the URL Mapping. |
java.lang.String |
GetApplicationBaseURL(java.lang.String _sNormalizedBaseURL,
boolean _bSecure)
JF- Returns the Application URL according to the URL Mapping and the security. |
java.lang.String |
GetApplicationBaseURLToAS(java.lang.String _sNormalizedBaseURL,
java.lang.String _sASName,
boolean _bIsSubSpace)
JF- Returns the Application URL according to the URL Mapping and determines the security according to the space name in argument. |
java.lang.String |
GetHTTPEntryPoint()
JF- Returns the value of the HTTP Entry point from x_config.xml E.g.: server.pt |
java.lang.String |
GetImageServerBaseURL(AActivitySpace asSpace)
This method used to return the Portal Image Server Base URL. |
java.lang.String |
GetJSIncluderComponentPath(java.lang.String strJSComponentName,
java.lang.String strImageServerURL)
|
HTMLElementCollection |
GetJSIncluderJSComponentInclude(java.lang.String strJSComponentName,
AActivitySpace owner)
HTMLElement with a script blocks including the javascript files for the given jscomponent. |
HTMLElementCollection |
GetJSIncluderJSComponentInclude(java.lang.String strJSComponentName,
boolean bEnableDebug,
AActivitySpace owner,
XPLocale locale)
HTMLElement with a script blocks including the javascript files for the given jscomponent. |
java.lang.String |
GetJSIncluderVersionPrefix(java.lang.String strJSComponentName)
|
java.lang.String |
GetMainServerApplicationURL(boolean _bIsSecure)
JF- Returns the Main server URL from x_config.xml |
java.lang.String |
GetNormalizedBaseURL(java.lang.String _sURL)
DLH- Helper method to return the normalized base URL for use in determining the correct application base url. |
Method Detail |
---|
java.lang.String GetApplicationBaseURL(java.lang.String _sNormalizedBaseURL, boolean _bSecure)
_sNormalizedBaseURL
- the normalized base URL from the current request._bSecure
- HTTP or HTTPS
java.lang.String GetApplicationBaseURL(AActivitySpace asSpace)
AActivitySpace
- the current activity space.
java.lang.String GetApplicationBaseURL(java.lang.String _sNormalizedBaseURL)
_sNormalizedBaseURL
- Normalized Base URL from the AActivity Space
(or ConfigHelper.GetNormalizedBaseURL).
java.lang.String GetApplicationBaseURLToAS(java.lang.String _sNormalizedBaseURL, java.lang.String _sASName, boolean _bIsSubSpace)
_sNormalizedBaseURL
- Normalized Base URL from the AActivity Space.
(or ConfigHelper.GetNormalizedBaseURL)._sASName
- Name of the destination Activity Space_bIsSubSpace
- Is the target AS a sub space?
java.lang.String GetMainServerApplicationURL(boolean _bIsSecure)
_bIsSecure
- HTTP or HTTPS
java.lang.String GetHTTPEntryPoint()
java.lang.String GetJSIncluderVersionPrefix(java.lang.String strJSComponentName)
strJSComponentName
- JSComponent name included through JSIncluder Example: " jsxml" or "jsutil"
java.lang.String GetJSIncluderComponentPath(java.lang.String strJSComponentName, java.lang.String strImageServerURL)
strJSComponentName
- strImageServerURL
-
HTMLElementCollection GetJSIncluderJSComponentInclude(java.lang.String strJSComponentName, AActivitySpace owner)
strJSComponentName
- JSComponent name. For example "jsxml" or "jsutil", the common components have constants defined in ConfigHelper.owner
- Current activityspace
HTMLElementCollection GetJSIncluderJSComponentInclude(java.lang.String strJSComponentName, boolean bEnableDebug, AActivitySpace owner, XPLocale locale)
strJSComponentName
- JSComponent name. For example "jsxml" or "jsutil", the common components have constants defined in ConfigHelper.owner
- Current activityspace
java.lang.String GetImageServerBaseURL(AActivitySpace asSpace)
AActivitySpace
- the space that this image is in.
java.lang.String GetNormalizedBaseURL(java.lang.String _sURL)
_sURL
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |