com.plumtree.portaluiinfrastructure.helpers
Interface IPTConfigHelper

All Superinterfaces:
IConfigHelper
All Known Implementing Classes:
PTConfigService

public interface IPTConfigHelper
extends IConfigHelper


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
 boolean UseFriendlyURLS(int classId, java.lang.String queryStringArgs)
          Checks whether the classId supports friendly URLs
 
Methods inherited from interface com.plumtree.uiinfrastructure.helpers.IConfigHelper
GetApplicationBaseURL, GetApplicationBaseURL, GetApplicationBaseURL, GetApplicationBaseURLToAS, GetHTTPEntryPoint, GetImageServerBaseURL, GetJSIncluderComponentPath, GetJSIncluderJSComponentInclude, GetJSIncluderJSComponentInclude, GetJSIncluderVersionPrefix, GetMainServerApplicationURL, GetNormalizedBaseURL
 

Method Detail

GetConfigVariableAsInt

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.

Parameters:
strSection - strSection
strSubSection - strSubSection
strAttribute - strAttribute
space - the current space
Returns:
int the requested variable

GetConfigVariableAsString

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.

Parameters:
strSection - strSection
strSubSection - strSubSection
strAttribute - strAttribute
space - the current space
Returns:
String the requested variable

GetConfigVariableAsString

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.

Parameters:
strSection - strSection
strSubSection - strSubSection
strAttribute - strAttribute
application - the current IApplication
Returns:
String the requested variable

GetConfigVariables

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.

Parameters:
strSection - strSection
strSubSection - strSubSection
strAttribute - strAttribute
space - the current space
Returns:
String the requested variable

GetConfigVariables

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.

Parameters:
strSection - strSection
strSubSection - strSubSection
strAttribute - strAttribute
space - the current space
Returns:
String the requested variable

GetPTClassTypeDescrManager

IPTClassTypeDescManager GetPTClassTypeDescrManager()
Helper method to retrieve the ClassTypeDescrManager from the cache

Returns:
IPTClassTypeDescManager

GetAbsoluteImageServerRootURL

java.lang.String GetAbsoluteImageServerRootURL(AActivitySpace _space,
                                               java.lang.String _strRequestURL)
Parameters:
_space - The current Activity Space.
_strRequestURL - The current request URL.
Returns:
the absolute image server root URL.

GetAbsoluteImageServerBaseURL

java.lang.String GetAbsoluteImageServerBaseURL(AActivitySpace _space,
                                               java.lang.String _strRequestURL)
Parameters:
_space - The current Activity Space.
_strRequestURL - The current request URL.
Returns:
the absolute image server base URL.

UseFriendlyURLS

boolean UseFriendlyURLS(int classId,
                        java.lang.String queryStringArgs)
Checks whether the classId supports friendly URLs

Parameters:
classId -
queryStringArgs -
Returns:



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.