Class DynamicCollectionsTranslationGroupItem
java.lang.Object
io.goobi.viewer.model.translations.admin.TranslationGroupItem
io.goobi.viewer.model.translations.admin.DynamicCollectionsTranslationGroupItem
A
TranslationGroupItem backed by the database-defined dynamic collections: one entry per collection, keyed by the collection identifier,
with the collection's labels as values. Edited values are persisted to the database via TranslationGroup.saveSelectedEntry(), not to the
messages files.-
Field Summary
Fields inherited from class io.goobi.viewer.model.translations.admin.TranslationGroupItem
entries, key, regex -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDynamicCollectionsTranslationGroupItem(String key, boolean regex) Protected constructor. -
Method Summary
Modifier and TypeMethodDescriptionprotected voidPopulates the message key map by first loading the appropriate keys and then callingcreateMessageKeyStatusMap.Methods inherited from class io.goobi.viewer.model.translations.admin.TranslationGroupItem
create, createMessageKeyStatusMap, getEntries, getKey, getTranslationStatus, getTranslationStatusLanguage, isRegex
-
Constructor Details
-
DynamicCollectionsTranslationGroupItem
Protected constructor.- Parameters:
key- group key; only used for display purposes, the entries are always all dynamic collectionsregex- unused for this item type
-
-
Method Details
-
loadEntries
protected void loadEntries()Description copied from class:TranslationGroupItemPopulates the message key map by first loading the appropriate keys and then callingcreateMessageKeyStatusMap. Each subclass will have its specific data source, so each subclass must implement this method.- Specified by:
loadEntriesin classTranslationGroupItem- See Also:
-