[
https://issues.apache.org/jira/browse/ISIS-826?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated ISIS-826:
-------------------------------------
Component/s: (was: Isis Core)
Isis Applib (programming model)
Fix Version/s: (was: 2.0.0-M5)
> Remove WrappedObject interface, use instead WrappingObject as its replacement.
> ------------------------------------------------------------------------------
>
> Key: ISIS-826
> URL: https://issues.apache.org/jira/browse/ISIS-826
> Project: Isis
> Issue Type: Improvement
> Components: Isis Applib (programming model)
> Affects Versions: core-1.5.0
> Reporter: Daniel Keir Haywood
> Priority: Major
>
> 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).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)