Package io.goobi.viewer.dao.update
Class CMSContentItemUpdate
java.lang.Object
io.goobi.viewer.dao.update.CMSContentItemUpdate
- All Implemented Interfaces:
IModelUpdate
Converts
cms_media_items.link_url
from the LONGBLOB datatype (URI in java) to TEXT (String in java). Extracts the link texts
from all entries and writes them into the table again as Text- Author:
- florian
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
update
(IDAO dao, CMSTemplateManager templateManager) update.
-
Constructor Details
-
CMSContentItemUpdate
public CMSContentItemUpdate()
-
-
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.
-