|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletLocalizedContext
Provides access to the LocalizedContext
implementation inside a
portlet and provides convenience methods for that portlet.
PortletLocalizedContextHome
Method Summary | |
---|---|
java.util.Map.Entry<java.util.Locale,java.lang.String> |
getLocalizedDescription()
Returns a fitting description of the portlet window based on the information the context was created with. |
java.util.Map.Entry<java.util.Locale,java.lang.String> |
getLocalizedKeywords()
Returns a fitting keywords of the portlet window based on the information the context was created with. |
java.util.Map.Entry<java.util.Locale,java.lang.String> |
getLocalizedShortTitle()
Returns a fitting short title of the portlet window based on the information the context was created with. |
java.util.Map.Entry<java.util.Locale,java.lang.String> |
getLocalizedString(java.lang.String key)
Returns the localized string from the default resource bundle of the portlet |
java.util.Map.Entry<java.util.Locale,java.lang.String> |
getLocalizedTitle()
Returns a fitting title of the portlet window based on the information the context was created with. |
ObjectID |
getObjectID()
Returns the ObjectID of the portlet window |
java.util.ResourceBundle |
getResourceBundle()
Gets the resource bundle defined by the portlet based on the information the context was created with. |
ResourceBundleProvider |
getResourceBundleProvider()
Returns the resource bundle provider for the default resource bundle for the portlet |
IterableListModel<java.util.Locale> |
getSupportedLocales()
Returns the list of locales supported by the portlet. |
Methods inherited from interface com.ibm.portal.model.LocalizedContext |
---|
getDefaultLocale, getDescription, getLocalizedComparator, getLocalizedDescription, getLocalizedString, getLocalizedTitle, getPreferredLocale, getPreferredLocale, getPreferredLocale, getPreferredLocale, getPreferredLocales, getPreferredLocales, getPreferredLocales, getPreferredLocales, getPreferredSupportedLocale, getPreferredSupportedLocales, getResourceBundle, getResourceBundle, getTitle, iterator, sort, sort, toArray |
Method Detail |
---|
java.util.Map.Entry<java.util.Locale,java.lang.String> getLocalizedDescription()
null
. Neither key nor
value are null
, but the value may be an empty stringjava.util.Map.Entry<java.util.Locale,java.lang.String> getLocalizedKeywords()
null
. Neither key nor value
are null
, but the value may be an empty stringjava.util.Map.Entry<java.util.Locale,java.lang.String> getLocalizedShortTitle()
null
. Neither key nor
value are null
, but the value may be an empty stringjava.util.Map.Entry<java.util.Locale,java.lang.String> getLocalizedString(java.lang.String key)
key
- key of the resource
null
if a localization is not
availablejava.util.Map.Entry<java.util.Locale,java.lang.String> getLocalizedTitle()
null
. Neither key nor value are
null
, but the value may be an empty stringObjectID getObjectID()
ObjectID
of the portlet window
getObjectID
in interface Identifiable
null
java.util.ResourceBundle getResourceBundle()
java.util.MissingResourceException
- if no resource bundle for the specified base name can be
foundResourceBundleProvider getResourceBundleProvider()
IterableListModel<java.util.Locale> getSupportedLocales()
getSupportedLocales
in interface LocaleCapable
getSupportedLocales
in interface LocalizedContext
null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |