com.silverpeas.util.i18n
Class AbstractBean
java.lang.Object
com.silverpeas.util.i18n.AbstractI18NBean
com.silverpeas.util.i18n.AbstractBean
- All Implemented Interfaces:
- I18NBean, Serializable
- Direct Known Subclasses:
- AttachmentDetail, QuestionContainerHeader
public abstract class AbstractBean
- extends AbstractI18NBean
The abstraction of Silverpeas's beans.
- See Also:
- Serialized Form
Methods inherited from class com.silverpeas.util.i18n.AbstractI18NBean |
addTranslation, getClonedTranslations, getDescription, getLanguage, getLanguageToDisplay, getName, getNextTranslation, getTranslation, getTranslationId, getTranslations, isRemoveTranslation, setDescription, setLanguage, setName, setRemoveTranslation, setTranslationId, setTranslations, setTranslations, setTranslations |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractBean
public AbstractBean()
getLanguages
public final Iterator<String> getLanguages()
- Overrides:
getLanguages
in class AbstractI18NBean
getDescription
public final String getDescription(String language)
- Description copied from class:
AbstractI18NBean
- Gets the description of the bean from the given language
- Overrides:
getDescription
in class AbstractI18NBean
- Returns:
getName
public final String getName(String language)
- Description copied from class:
AbstractI18NBean
- Gets the name of the bean from the given language
- Overrides:
getName
in class AbstractI18NBean
- Returns:
Copyright © 2016 Silverpeas. All Rights Reserved.