|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Localized
Interface providing methods to obtain title and description of a portal resource. Please note that title or description are only returned if they are available in the requested locale. No fallback for locales is performed.
This interface is designed to be implemented by clients. |
Method Summary | |
---|---|
java.lang.String |
getDescription(java.util.Locale aLocale)
Returns the description of this object in the given locale. |
ListModel<java.util.Locale> |
getLocales()
Returns a list model containing the locales that are supported by this object. |
java.lang.String |
getTitle(java.util.Locale aLocale)
Returns the title of this object in the given locale. |
Method Detail |
---|
java.lang.String getTitle(java.util.Locale aLocale)
aLocale
- the locale for which to retrieve the title, must not
be null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanism.java.lang.String getDescription(java.util.Locale aLocale)
aLocale
- the locale for which to retrieve the description, must not
be null
.
null
.
It is up to the invoker of the method to implement an appropriate
fallback mechanismListModel<java.util.Locale> getLocales()
ListModel
if no locales are supported.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |