Class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle

java.lang.Object
org.flywaydb.core.api.migration.BaseJavaMigration
org.dspace.storage.rdbms.migration.V7_0_2020_10_31__CollectionCommunity_Metadata_Handle
All Implemented Interfaces:
org.flywaydb.core.api.migration.JavaMigration

public class V7_0_2020_10_31__CollectionCommunity_Metadata_Handle extends org.flywaydb.core.api.migration.BaseJavaMigration
Insert a 'dc.identifier.uri' metadata record for each Community and Collection in the database. The value is calculated concatenating the canonicalPrefix extracted from the configuration (default is "http://hdl.handle.net/) and the object's handle suffix stored inside the handle table.
Author:
Alessandro Martelli (alessandro.martelli at 4science.it)
  • Field Details

    • migration_file_size

      protected Integer migration_file_size
  • Constructor Details

    • V7_0_2020_10_31__CollectionCommunity_Metadata_Handle

      public V7_0_2020_10_31__CollectionCommunity_Metadata_Handle()
  • Method Details

    • migrate

      public void migrate(org.flywaydb.core.api.migration.Context context) throws Exception
      Throws:
      Exception
    • getChecksum

      public Integer getChecksum()
      Specified by:
      getChecksum in interface org.flywaydb.core.api.migration.JavaMigration
      Overrides:
      getChecksum in class org.flywaydb.core.api.migration.BaseJavaMigration