Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Collection
    • Labels:
      None

      Description

      Sometimes you need to keep track of what was added and what was removed
      from a collection, and that is what we created TrackingCollection for.

      Additionally, since we were implementing lazy-loading of collections of
      persistent objects, we introduced a CollectionLoader that is used by the
      TrackingCollection when it has to access all of its elements. It is
      still possible however to use the TrackingCollection without a loader,
      and it will simply start empty and be considered loaded.

      Sherpa Solutions is offering the Apache Software Foundation the
      attached source code, to be distributed by the projet under the
      Apache License terms.

      1. TrackingCollectionTest.java
        5 kB
        Nicolas Marchildon
      2. TrackingCollection.java
        12 kB
        Nicolas Marchildon
      3. CollectionLoader.java
        0.4 kB
        Nicolas Marchildon

        Activity

        Thomas Neidhart made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.x [ 12313073 ]
        Resolution Won't Fix [ 2 ]
        Thomas Neidhart made changes -
        Fix Version/s 4.x [ 12313073 ]
        Mark Thomas made changes -
        Workflow jira [ 12401908 ] Default workflow, editable Closed status [ 12607001 ]
        Nicolas Marchildon made changes -
        Attachment TrackingCollectionTest.java [ 12355612 ]
        Nicolas Marchildon made changes -
        Attachment TrackingCollection.java [ 12355611 ]
        Nicolas Marchildon made changes -
        Field Original Value New Value
        Attachment CollectionLoader.java [ 12355610 ]
        Nicolas Marchildon created issue -

          People

          • Assignee:
            Unassigned
            Reporter:
            Nicolas Marchildon
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development