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

Remove WrappedObject interface, use instead WrappingObject as its replacement.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.5.0
    • 2.0.0-M5
    • None

    Description

      For example, WrappedObject defines save() and wrapped(). If the underlying domain object also defined these methods as actions, then it would be impossible to use the wrapper to check business rules etc.

      Therefore should remove this interface (in Isis 2.x), to replace with one that uses methods which are unlikely to cause a clash.

      (The workaround in the meantime is to rename the action methods and use @Named() if required for the UI).

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: