Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-1194

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 1.9.0
    • 1.10.0
    • Core
    • 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

              Unassigned Unassigned
              danhaywood Daniel Keir Haywood
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: