Uploaded image for project: 'NetarchiveSuite'
  1. NetarchiveSuite
  2. NAS-1833

Datamodel classes refactoring (sparse/full objects)

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Unresolved
    • Major
    • None
    • 3.14.0, 3.15.0
    • Common
    • None
    • BNF
    • Rough

    Description

      When implementing the fix for NAS-1823 "Activating and deactivating harvest definitions takes a long time", I wanted to factorize some code in the HarvestDefinitionDBDao, and it turned out to be complicated because HarvestDefinition and SparseXXXHarvest classes do not have a common interface, which is weird.

      So full and sparse objects should define a common interface so that some DAO code can be factorized.

      I would also create smaller sub-packages under dk.netarkivet.harvester.datamodel, at least to separate database code from DAO methods and model objects.

      Attachments

        Activity

          People

            ngiraud Nicolas Giraud (Inactive)
            ngiraud Nicolas Giraud (Inactive)
            Mikis Seth Sørensen Mikis Seth Sørensen (Inactive)
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 8h
                8h
                Remaining:
                Remaining Estimate - 8h
                8h
                Logged:
                Time Spent - Not Specified
                Not Specified