Package io.goobi.viewer.dao.update
Class CMSRecordNoteUpdate
java.lang.Object
io.goobi.viewer.dao.update.CMSRecordNoteUpdate
- All Implemented Interfaces:
IModelUpdate
extends cms_record_notes table by row 'note_type' which discriminates between the implementing classes. Existing notes are set to note_type =
'SINGLE' Also adds default values to columns which only exist for one implementing class and sets columntype if neccessary
- Author:
- florian
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
update
(IDAO dao, CMSTemplateManager templateManager) update.
-
Constructor Details
-
CMSRecordNoteUpdate
public CMSRecordNoteUpdate()
-
-
Method Details
-
update
public boolean update(IDAO dao, CMSTemplateManager templateManager) throws DAOException, SQLException Description copied from interface:IModelUpdate
update.
- Specified by:
update
in interfaceIModelUpdate
- Parameters:
dao
- aIDAO
object.- Returns:
- true if rows were updated; false otherwise
- Throws:
DAOException
- if any.SQLException
- if any.
-