|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.statichelpers.ConfigHelper com.plumtree.portaluiinfrastructure.statichelpers.PTConfigHelper
public class PTConfigHelper
This class contains helper methods to get variables from the PTconfigVarPack and configVarPack.
Field Summary |
---|
Fields inherited from class com.plumtree.uiinfrastructure.statichelpers.ConfigHelper |
---|
GATEWAY_URL, HTTP_SCHEME, HTTPS_SCHEME, JSCOMPONENT_JSDATEPICKER, JSCOMPONENT_JSPORTALMENU, JSCOMPONENT_JSPORTLET, JSCOMPONENT_JSROBOHELPER, JSCOMPONENT_JSUTIL, JSCOMPONENT_JSXML |
Constructor Summary | |
---|---|
PTConfigHelper()
|
Method Summary | |
---|---|
static 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. |
static 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. |
static 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. |
static 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. |
static 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. |
static ClassTypeDescManager |
GetPTClassTypeDescrManager()
This method returns the PT class type description manager. |
static java.lang.String |
GetSSOBaseURL()
Returns the SSO base URL ending with a question mark. |
static java.lang.String |
GetSSORelativeURL()
Returns the SSO relative URL ending with a question mark. |
static boolean |
UseFriendlyURLS(int classId)
Checks whether the classId supports friendly URLs |
static boolean |
UseFriendlyURLS(int classId,
java.lang.String queryStringArgs)
Checks whether the classId supports friendly URLs |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PTConfigHelper()
Method Detail |
---|
public static int GetConfigVariableAsInt(java.lang.String strSection, java.lang.String strSubSection, java.lang.String strAttribute, AActivitySpace space)
strSection
- strSectionstrSubSection
- strSubSectionstrAttribute
- strAttributespace
- the current space
public static java.lang.String GetConfigVariableAsString(java.lang.String strSection, java.lang.String strSubSection, java.lang.String strAttribute, AActivitySpace space)
strSection
- strSectionstrSubSection
- strSubSectionstrAttribute
- strAttributespace
- the current space
public static java.lang.String GetConfigVariableAsString(java.lang.String strSection, java.lang.String strSubSection, java.lang.String strAttribute, IApplication app)
strSection
- strSectionstrSubSection
- strSubSectionstrAttribute
- strAttributeapplication
- the current IApplication
public static java.lang.Object[] GetConfigVariables(java.lang.String strSection, java.lang.String strSubSection, java.lang.String strAttribute, AActivitySpace space)
strSection
- strSectionstrSubSection
- strSubSectionstrAttribute
- strAttributespace
- the current space
public static java.lang.Object[] GetConfigVariables(java.lang.String strSection, java.lang.String strSubSection, java.lang.String strAttribute, IApplication application)
strSection
- strSectionstrSubSection
- strSubSectionstrAttribute
- strAttributespace
- the current space
public static final ClassTypeDescManager GetPTClassTypeDescrManager()
public static final java.lang.String GetSSORelativeURL()
public static final java.lang.String GetSSOBaseURL()
public static final boolean UseFriendlyURLS(int classId)
classId
-
public static final boolean UseFriendlyURLS(int classId, java.lang.String queryStringArgs)
classId
- queryStringArgs
-
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |