com.ibm.portal
Interface Localized

All Known Subinterfaces:
AuthLevelConfig, CommunicationEndpoint, CommunicationSource, CommunicationTarget, ComponentRole, ContentLabel, ContentNode, ContentPage, ContentURL, Decoration, ExternalContentURL, IdentifiableNavigationNode, InternalContentURL, Language, LayoutControl, LocalizedStatus, Markup, ModifiableContentLabel, ModifiableContentNode, ModifiableContentPage, ModifiableContentURL, ModifiableExternalContentURL, ModifiableInternalContentURL, ModifiableLayoutControl, ModifiableLocalized, ModifiablePortlet, ModifiablePortletDefinition, NavigationNode, Portlet, PortletDefinition, ProcessingEventDefinition, PublishingEventDefinition, Skin, Theme, ThemeContent, ThemeInclude, ThemeItem, ThemeJspInclude, ThemeLinkItem, ThemeTextItem, Variable
All Known Implementing Classes:
AccessControlFailedException, AccessFailedException, AccessorException, ActivationFailedException, AddUIElementException, AliasNameNotFoundException, AttributeNotDefinedException, AuthenticationException, AuthenticationFailedException, BackupServiceException, CannotCloneDocumentModelException, CannotCommitException, CannotCreateDocumentException, CannotDecodeStateException, CannotDecodeStateFromStringException, CannotDeleteNodeException, CannotDemotePageException, CannotInsertNodeException, CannotInsertSelectionNodeException, CannotInstantiateAccessorException, CannotInstantiateControllerException, CannotInstantiateModifiableNodeException, CannotInterpretCodecException, CannotInterpretStateException, CannotModifyException, CannotModifyPropertyException, CannotModifySelectionException, CannotPromotePageException, CannotPublishPageException, CannotResumeControllerException, CannotRetrieveResourceUrlAccessorException, CannotRetrieveUrlException, CannotSetTargetException, CannotSuspendControllerException, ComponentException, CookieUserNotRetrievableException, CreateFailedException, CredentialSecretNotSetException, CredentialVaultException, DataException, DeactivationFailedException, DefaultThemeContent, DefaultThemeItem, DefaultThemeJspInclude, DefaultThemeLinkItem, DefaultThemeTextItem, DNDException, DNDInvalidParametersException, DNDMarkupGeneratorException, DocumentModelException, DynamicUIManagementException, EntityDeletedException, EntityNotFoundException, EventDistributionServiceException, FactoryException, IconNotFoundException, InputMediatorException, InputMediatorSAXException, InvalidConstantException, InvalidNavigationNodeIdException, InvalidPortletIdException, InvalidPortletModeException, InvalidPropertyException, InvalidResourceTypeException, InvalidSelectionException, InvalidSelectionNodeIdException, InvalidShowToolsFlagException, InvalidSoloFlagException, InvalidWindowStateException, LocalizedIOException, LocalizedSAXException, LoginException, LogoutException, MandatoryAttributeMissingException, MemberAlreadyExistsException, MemberNotFoundException, MissingAccessRightsException, MissingPropertyException, MissingSelectionException, MissingSharedStateIdException, MissingUniqueNameException, ModelException, ModifyReadOnlyAttributeException, NavigationShiftAccessorException, NoCodecInUrlException, NodeNotFoundException, ObjectIDDeletedException, ObjectIDNotFoundException, ObjectNotFoundException, OutputMediatorException, OutputMediatorSAXException, ParentNotFoundException, PasswordInvalidException, PortletAccessorException, PortletLoginDisabledException, PortletServiceInstantiationException, PortletServiceInvalidInterfaceException, PortletServiceUnavailableException, PostProcessorException, PreProcessorException, PropertyBrokerServiceException, PropertyException, PumaAttributeException, PumaException, PumaMissingAccessRightsException, PumaModelException, PumaSystemException, RemoveUIElementException, ResolutionException, ResourceDeletedException, ResourceLookupException, ResourceNotFoundException, ResourceNotFoundException, ResourceUrlException, SecurityException, SecurityFilterInitException, SelectionAccessorException, SelectionMappingInvalidException, SerializationException, ServiceNotFoundException, SessionTimeOutException, SessionValidationException, SetDefaultRedirectException, SharedStateIdException, ShowToolsAccessorException, SiblingNotFoundException, SitemanagementCommandException, SizeLimitExceedException, SoloAccessorException, StateAccessorException, StateAttributeNotInRequestException, StateException, StateManagerException, StateManagerInitException, StateManagerInstantiationException, StateNotInRequestException, StateNotWriteableException, StateParameterException, StorageException, SystemLoginException, TaskManagerDelegateFactoryServiceException, TaskUIManagerException, TemporaryNotSupportedException, ThemeExtensionInitException, UniqueNameException, UnknownAccessorTypeException, UnknownStateFormatException, UnknownUniqueNameException, UrlDoesNotContainInformationException, UrlInputMediatorException, UserAlreadyLoggedInException, UserIDInvalidException, UserSessionTimeoutException

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.

Since:
5.1

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

getTitle

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

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 description 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

getLocales

ListModel<java.util.Locale> getLocales()
Returns a list model containing the locales that are supported by this object. The presence of a locale in this list does not mean that a title and description is available, but rather that either one or both are available in that locale.

Returns:
a list of locales defined for this object, returns an empty ListModel if no locales are supported.