Class MigrationPageTemplateDao

All Implemented Interfaces:
PageTemplateDao, org.springframework.beans.factory.InitializingBean

public class MigrationPageTemplateDao extends HibernatePageTemplateDao
Overrides the default behaviour to prevent the last modified user being changed when migrating.
  • Constructor Details

    • MigrationPageTemplateDao

      public MigrationPageTemplateDao()
  • Method Details

    • updateModificationData

      protected void updateModificationData(PageTemplate objectToSave)
      Description copied from class: HibernateObjectDao
      Perform any modifications that need to be done to an object every time it is saved. The default implementation updates the last-modified timestamp, and sets the creation timestamp if it has not yet been set.
      Overrides:
      updateModificationData in class ConfluenceHibernateObjectDao<PageTemplate>
      Parameters:
      objectToSave - the object that is about to be saved