Interface TranslatableCMSContent
- All Superinterfaces:
IPolyglott
- All Known Implementing Classes:
CMSMediumTextContent,CMSShortTextContent
Marks a CMS content type whose primary text can be stored and retrieved in multiple locales,
extending
IPolyglott with convenience accessors for the underlying TranslatedText.-
Method Summary
Modifier and TypeMethodDescriptiongetText()default StringgetTranslation(Locale locale) booleanvoidsetText(TranslatedText text) Methods inherited from interface io.goobi.viewer.model.translations.IPolyglott
getLocales, getSelectedLocale, isComplete, isDefaultLocaleSelected, isEmpty, isSelected, isValid, setSelectedLocale, setSelectedLocale
-
Method Details
-
getText
TranslatedText getText() -
getTranslation
String getTranslation() -
getTranslation
-
setText
-
isRequired
boolean isRequired()
-