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

Remove WrappedObject interface, use instead WrappingObject as its replacement.

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: core-1.5.0
    • Fix Version/s: 2.4.0
    • Component/s: Core
    • Labels:
      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

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

              Dates

              • Created:
                Updated: