|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.plumtree.uiinfrastructure.web.BaseVarPack com.plumtree.portaluiinfrastructure.application.varpacks.PTSearchLocaleVarPack
public class PTSearchLocaleVarPack
This VarPack contains the localized names for all the installed locales
Field Summary | |
---|---|
static java.lang.String |
PORTAL_SEARCHLOCALES_COMPONENT_TYPE
|
static java.lang.String |
VARPACK_ID
The string ID of this variable package. |
Constructor Summary | |
---|---|
PTSearchLocaleVarPack()
|
Method Summary | |
---|---|
protected void |
ExpireContent()
You cannot expire the SearchLocales.xml content. |
java.lang.String[] |
GetAllLanguageCodes()
This method will return the All the Language Codes for a particular locale |
java.lang.String[] |
GetAllLanguageNames(java.lang.String strLocale)
This method will return the All the Localized Language names for a particular locale |
java.lang.String |
GetLanguageNameForCode(java.lang.String strCode,
java.lang.String strLanguage)
This method will return the localized language name given its code. |
java.lang.String[] |
GetPopularLanguageCodes()
This method will return the Popular Localized Language Codes for a particular locale |
java.lang.String[] |
GetPopularLanguageNames(java.lang.String strLocale)
This method will return the Popular Localized Language names for a particular locale |
protected java.lang.Object |
GetValue(java.lang.String strLocale)
This method will return the Localized Language Codes for a particular locale |
java.lang.String |
GetVarPackID()
Get the id of this var pack instance. |
IXPEnumerator |
GetVarPackKeys()
This method will return an enumeration of the top level nodes in the XML tree that is SearchLocales.xml. |
boolean |
IsPopularLanguage(java.lang.String strLocaleCode)
This method check whether this language appears in the popular list |
boolean |
IsValidLanguage(java.lang.String strLocaleCode)
This method check whether this language appears in the ALL list |
protected void |
Load()
This method loads the SearchLocales.xml file into memory. |
protected void |
Reload()
This method reloads the SearchLocales.xml file into memory. |
Methods inherited from class com.plumtree.uiinfrastructure.web.BaseVarPack |
---|
CanReloadVarPackFromUI, ExpireVarPackContent, GetConfigPath, GetExpireTimeout, GetLastAccessedTimeStamp, GetReloadInterval, GetVarPackValue, IsLoaded, LoadVarPack, ReloadVarPack, SetExpireTimeout, SetReloadInterval |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String VARPACK_ID
public static final java.lang.String PORTAL_SEARCHLOCALES_COMPONENT_TYPE
Constructor Detail |
---|
public PTSearchLocaleVarPack()
Method Detail |
---|
public java.lang.String[] GetAllLanguageCodes()
public java.lang.String[] GetAllLanguageNames(java.lang.String strLocale)
public java.lang.String GetLanguageNameForCode(java.lang.String strCode, java.lang.String strLanguage)
public java.lang.String[] GetPopularLanguageCodes()
public java.lang.String[] GetPopularLanguageNames(java.lang.String strLocale)
public java.lang.String GetVarPackID()
BaseVarPack
GetVarPackID
in interface IVarPack
GetVarPackID
in class BaseVarPack
IVarPack.GetVarPackID()
public IXPEnumerator GetVarPackKeys()
GetVarPackKeys
in interface IVarPack
GetVarPackKeys
in class BaseVarPack
IVarPack.GetVarPackKeys()
public boolean IsPopularLanguage(java.lang.String strLocaleCode)
public boolean IsValidLanguage(java.lang.String strLocaleCode)
protected void ExpireContent()
ExpireContent
in class BaseVarPack
com.plumtree.xpsupport.web.BaseVarPack#ExpireContent()
protected java.lang.Object GetValue(java.lang.String strLocale)
GetValue
in class BaseVarPack
strLocale
- The key for the lookup
com.plumtree.xpsupport.web.BaseVarPack#GetValue(String)
protected void Load()
Load
in class BaseVarPack
com.plumtree.xpsupport.web.BaseVarPack#Load()
protected void Reload()
Reload
in class BaseVarPack
com.plumtree.xpsupport.web.BaseVarPack#Reload()
|
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |