com.ibm.portal

Interface Localized

All Superinterfaces:
java.io.Serializable

  1. public interface Localized
  2. extends java.io.Serializable
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. Currently this interface is not supported.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getDescription(java.util.Locale aLocale)
Returns the description of this object in the given locale.
  1. java.lang.String
getTitle(java.util.Locale aLocale)
Returns the title of this object in the given locale.

Method Detail

getTitle

  1. java.lang.String getTitle(java.util.Locale aLocale)
Returns the title of this object in the given locale.
Parameters:
aLocale - the locale for which to retrieve the title, must not be null.
Returns:
the title of this node in the given locale. If a title is not available in the given locale, this method will return null. It is up to the invoker of the method to implement an appropriate fallback mechanism.

getDescription

  1. java.lang.String getDescription( java.util.Locale aLocale)
Returns the description of this object in the given locale.
Parameters:
aLocale - the locale for which to retrieve the description, must not be null.
Returns:
the description of this node in the given locale. If a title is not available in the given locale, this method will return null. It is up to the invoker of the method to implement an appropriate fallback mechanism