Package io.goobi.viewer.dao.update
Class CommentGroupUpdate
java.lang.Object
io.goobi.viewer.dao.update.CommentGroupUpdate
- All Implemented Interfaces:
IModelUpdate
Database migration step that ensures the static "all comments"
CommentGroup exists in
the database, creating it if it is missing.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanupdate(IDAO dao, CMSTemplateManager templateManager) update.
-
Constructor Details
-
CommentGroupUpdate
public CommentGroupUpdate()
-
-
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.
-