com.silverpeas.util.i18n
Class AbstractBean

java.lang.Object
  extended by com.silverpeas.util.i18n.AbstractI18NBean
      extended by 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

Constructor Summary
AbstractBean()
           
 
Method Summary
 String getDescription(String language)
          Gets the description of the bean from the given language
 Iterator<String> getLanguages()
           
 String getName(String language)
          Gets the name of the bean from the given language
 
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
 

Constructor Detail

AbstractBean

public AbstractBean()
Method Detail

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.