Package io.goobi.viewer.dao.update
Class TranslationUpdate
java.lang.Object
io.goobi.viewer.dao.update.TranslationUpdate
- All Implemented Interfaces:
IModelUpdate
Database migration step that renames the legacy
value column to
translation_value in all translation tables that still use the old column name.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanupdate(IDAO dao, CMSTemplateManager templateManager) update.
-
Constructor Details
-
TranslationUpdate
public TranslationUpdate()
-
-
Method Details
-
update
public boolean update(IDAO dao, CMSTemplateManager templateManager) throws DAOException, SQLException update.- Specified by:
updatein interfaceIModelUpdate- Parameters:
dao- aIDAOobject.templateManager- CMS template manager used during update- Returns:
- true if rows were updated; false otherwise
- Throws:
DAOException- if any.SQLException- if any.
-