|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.plumtree.uiinfrastructure.helpers.ConfigService
com.plumtree.portaluiinfrastructure.helpers.PTConfigService
public class PTConfigService
A service that provides access to the pt config helper object.
| Method Summary | |
|---|---|
java.lang.String |
GetAbsoluteImageServerBaseURL(AActivitySpace _space,
java.lang.String _strRequestURL)
|
java.lang.String |
GetAbsoluteImageServerRootURL(AActivitySpace _space,
java.lang.String _strRequestURL)
|
int |
GetConfigVariableAsInt(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
AActivitySpace space)
Helper method to access an int variable from x_config.xml. |
java.lang.String |
GetConfigVariableAsString(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
AActivitySpace space)
Helper method to access a String variable from x_config.xml. |
java.lang.String |
GetConfigVariableAsString(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
IApplication app)
Helper method to access a String variable from x_config.xml. |
java.lang.Object[] |
GetConfigVariables(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
AActivitySpace space)
Helper method to access a String variable from x_config.xml. |
java.lang.Object[] |
GetConfigVariables(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
IApplication application)
Helper method to access a String variable from x_config.xml. |
IPTClassTypeDescManager |
GetPTClassTypeDescrManager()
Helper method to retrieve the ClassTypeDescrManager from the cache |
static IPTConfigHelper |
getPTInstance()
|
static void |
setTestPTInstance(IPTConfigHelper testHelper)
Unit tests should use this method to overwrite/teardown existing helper singleton. |
boolean |
UseFriendlyURLS(int classId,
java.lang.String queryStringArgs)
Checks whether the classId supports friendly URLs |
| Methods inherited from class com.plumtree.uiinfrastructure.helpers.ConfigService |
|---|
GetApplicationBaseURL, GetApplicationBaseURL, GetApplicationBaseURL, GetApplicationBaseURLToAS, GetHTTPEntryPoint, GetImageServerBaseURL, getInstance, GetJSIncluderComponentPath, GetJSIncluderJSComponentInclude, GetJSIncluderJSComponentInclude, GetJSIncluderVersionPrefix, GetMainServerApplicationURL, GetNormalizedBaseURL, setTestInstance |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.plumtree.uiinfrastructure.helpers.IConfigHelper |
|---|
GetApplicationBaseURL, GetApplicationBaseURL, GetApplicationBaseURL, GetApplicationBaseURLToAS, GetHTTPEntryPoint, GetImageServerBaseURL, GetJSIncluderComponentPath, GetJSIncluderJSComponentInclude, GetJSIncluderJSComponentInclude, GetJSIncluderVersionPrefix, GetMainServerApplicationURL, GetNormalizedBaseURL |
| Method Detail |
|---|
public static IPTConfigHelper getPTInstance()
public static void setTestPTInstance(IPTConfigHelper testHelper)
public int GetConfigVariableAsInt(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
AActivitySpace space)
IPTConfigHelper
GetConfigVariableAsInt in interface IPTConfigHelperstrSection - strSectionstrSubSection - strSubSectionstrAttribute - strAttributespace - the current space
public java.lang.String GetConfigVariableAsString(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
AActivitySpace space)
IPTConfigHelper
GetConfigVariableAsString in interface IPTConfigHelperstrSection - strSectionstrSubSection - strSubSectionstrAttribute - strAttributespace - the current space
public java.lang.String GetConfigVariableAsString(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
IApplication app)
IPTConfigHelper
GetConfigVariableAsString in interface IPTConfigHelperstrSection - strSectionstrSubSection - strSubSectionstrAttribute - strAttribute
public java.lang.Object[] GetConfigVariables(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
AActivitySpace space)
IPTConfigHelper
GetConfigVariables in interface IPTConfigHelperstrSection - strSectionstrSubSection - strSubSectionstrAttribute - strAttributespace - the current space
public java.lang.Object[] GetConfigVariables(java.lang.String strSection,
java.lang.String strSubSection,
java.lang.String strAttribute,
IApplication application)
IPTConfigHelper
GetConfigVariables in interface IPTConfigHelperstrSection - strSectionstrSubSection - strSubSectionstrAttribute - strAttribute
public IPTClassTypeDescManager GetPTClassTypeDescrManager()
IPTConfigHelper
GetPTClassTypeDescrManager in interface IPTConfigHelper
public java.lang.String GetAbsoluteImageServerBaseURL(AActivitySpace _space,
java.lang.String _strRequestURL)
GetAbsoluteImageServerBaseURL in interface IPTConfigHelper_space - The current Activity Space._strRequestURL - The current request URL.
public java.lang.String GetAbsoluteImageServerRootURL(AActivitySpace _space,
java.lang.String _strRequestURL)
GetAbsoluteImageServerRootURL in interface IPTConfigHelper_space - The current Activity Space._strRequestURL - The current request URL.
public boolean UseFriendlyURLS(int classId,
java.lang.String queryStringArgs)
IPTConfigHelper
UseFriendlyURLS in interface IPTConfigHelper
|
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||