Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-694

Add inner class for metadata to Item, delay metadata loading until required, reduce impact of changes

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.7.0
    • Component/s: None
    • Labels:
      None
    • Attachments:
      1
    • Comments:
      0
    • Documentation Status:
      Not Required

      Description

      Use an inner class in Item to cache the metadata entries. This allows us to delay metadata loading until it is required, instead of when the Item is instantiated.

      Further, the writing can be restructured to better determine if the metadata has actually changed - or if the other properties have been modified - reducing the number of database accesses, and in particular avoiding 'false' updates to the modification date for the item.

        Attachments

          Activity

            People

            • Assignee:
              grahamtriggs Graham Triggs
              Reporter:
              grahamtriggs Graham Triggs
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: