Interface ILanguagePackManager
- All Superinterfaces:
IComponent
,IComponentProvider
,IInitializable
,IURIResolver
Date: Mar 26, 2004
-
Field Summary
Fields inherited from interface com.webmethods.portal.system.IComponentProvider
ATTR_APP_NAME, ATTR_BEG_QUERY, ATTR_END_QUERY, ATTR_MID_QUERY, BIZPOLICY_MANAGER, CACHE_PROVIDER, COMMAND_PROVIDER, COMPONENTS_QUERY, INSTALL_PROVIDER, MECH_PROVIDER, METACONTEXT_PROVIDER, PHASE_PROVIDER, POLICY_PROVIDER, SEARCH_PROVIDER
-
Method Summary
Modifier and TypeMethodDescriptiongetLanguagePack
(Locale locale, String componentName) This may return NULLGet a list ofILanguagePack
s that are enabled for the current PortalGet a list ofLocale
s that are registered and enabled in the system, at least for a single componentgetRegisteredLocales
(String componentName) Get a list of @{link Locale}s for a given componentMethods inherited from interface com.webmethods.portal.system.IComponent
getComponentData, getComponentName, getComponentProvider, getURI, isInitialized, setComponentData, setComponentProvider
Methods inherited from interface com.webmethods.portal.system.IComponentProvider
exists, getComponent, getComponent, getComponent, getComponentQueryString, getComponents, getDefaultComponent, getLogger, initDeferredWebAppComponents, lookup, registerComponent, reloadComponent, reloadComponent, unregisterComponent, upgradeComponentDataFromBootstrapComponentData
Methods inherited from interface com.webmethods.portal.system.init.IInitializable
init, shutdown
Methods inherited from interface com.webmethods.portal.system.IURIResolver
acquireURI, acquireURI
-
Method Details
-
getRegisteredLanguagePacks
Collection<ILanguagePack> getRegisteredLanguagePacks()Get a list ofILanguagePack
s that are enabled for the current Portal -
getRegisteredLocales
Collection<Locale> getRegisteredLocales()Get a list ofLocale
s that are registered and enabled in the system, at least for a single component- Returns:
- list of Locales
-
getRegisteredLocales
Get a list of @{link Locale}s for a given component- Parameters:
componentName
- the name of the component- Returns:
- list of Locales
-
getLanguagePack
This may return NULL- Returns:
ILanguagePack
for the given Locale, may return NULL
-