|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IEnvironment
This class provides access to the environment that a tag is executed in.
Method Summary | |
---|---|
AccessStyles |
GetAccessStyle()
This method returns the current access style (i.e. |
IXPRequest |
GetCurrentHTTPRequest()
Return the HTTP Request for the current request. |
IXPResponse |
GetCurrentHTTPResponse()
Return the HTTP Response for the current request. |
java.lang.String |
GetCurrentNormalizedBaseURL()
Return the normalized base url of the current request. |
java.lang.String |
GetCurrentRequestURL()
Return the full url of the current request. |
java.lang.String |
GetLanguage()
Gets the current language of the user. |
java.lang.String |
GetLocale()
Gets the current locale of the user. |
java.lang.String |
GetString(int _nID,
java.lang.String _strStringFile)
This method gets localized strings for an internationalized string file based on the user's locale. |
java.lang.String |
GetTimeZone()
Gets the time zone of the current user. |
java.lang.Object |
GetUserSession()
Return the user's Session. |
IVarPack |
GetVarPack(java.lang.String _strVarPack)
Deprecated. Variable packages are no longer available directly in tags. In the portal, the Environment object can be cast to an Activity Space and VarPacks can be retrieved that way. |
Method Detail |
---|
AccessStyles GetAccessStyle()
com.plumtree.uiinfrastructure.constants.AccessStyles
IXPRequest GetCurrentHTTPRequest()
IXPResponse GetCurrentHTTPResponse()
java.lang.String GetCurrentNormalizedBaseURL()
com.plumtree.uiinfrastructure.statichelpers.ConfigHelpers#GetNormalizedBaseURL(String)
java.lang.String GetCurrentRequestURL()
java.lang.String GetLanguage()
E.G. en, fr, jp
java.lang.String GetLocale()
E.G. en-us, en-gb, fr-fr, jp-jp
java.lang.String GetTimeZone()
E.G. America/Los_Angeles
java.lang.String GetString(int _nID, java.lang.String _strStringFile)
Available string files:
_nID
- The ID of the string to retrieve_strStringFile
- The name of the string file to use
Custom string files can also be added to the portal.
java.lang.Object GetUserSession()
IVarPack GetVarPack(java.lang.String _strVarPack)
String
- _strVarPack The ID of the requested VarPack
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |