Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-1194

Remove dead code, remove support for @Aggregated, for isDirty/clearDirty/markDirty.

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.9.0
    • Fix Version/s: 1.10.0
    • Component/s: Core
    • Labels:
      None

      Description

      removed ResolveState concept, instead derive state from underlying pojo

      • services and view models implicitly always persistent

      removed support for manual dirtying of objects:

      • isDirty
      • clearDirty
      • markDirty.

      removed support for @Aggregated:

      • Any @Aggregated will be picked up by the metamodel validation.
      • attempting to call DomainObjectContainer#newAggregatedInstance(...) will throw an exception.
      • ObjectAdapter#isAggregated removed
      • @Embedded annotation is no longer picked up as aggregated (is simply ignored)

      simplified Oid hierarchy

      • RootOid
      • ParentedCollectionOid

      combined OidGenerator and IdentifierGenerator

      simplified PersistenceSession, ObjectStore and other supporting components

      • removed ObjectStore, now part of PersistenceSession
      • removed PojoAdapterFactory, now part of AdapterManager
      • removed PersistAlgorithm, now part of PersistenceSession
      • removed FrameworkSynchronizer, now part of PersistenceSession
      • IsisLifecycleListener is now request-scoped and a subcomponent of PersistenceSession
      • ObjectSpecificationDefault no longer instantiates objects, instead this is done by PersistenceSession (remove CreateObjectContext and ObjectInstantiator)
      • all subcomponents call back to PersistenceSession which delegates out as necessary
      • no longer have two impementations
      • use the DataNucleus impl always (and remove unnecessary interface)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                danhaywood Dan Haywood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: