[
https://issues.apache.org/jira/browse/SLING-57?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Felix Meschberger closed SLING-57.
----------------------------------
Resolution: Fixed
This has been implemented and the issue can be closed.
> Resource: retarget the data to be the mapped object and add Item for the
> addressed repository Item
> --------------------------------------------------------------------------------------------------
>
> Key: SLING-57
> URL: https://issues.apache.org/jira/browse/SLING-57
> Project: Sling
> Issue Type: Improvement
> Components: microsling
> Reporter: Felix Meschberger
> Assignee: Felix Meschberger
> Fix For: 2.0.0
>
>
> As discussed on the devlist [1] we need both the (optionally) mapped Java
> object and the JCR item in the Resource. So the getData() method should be
> redefined as returning the mapped object or null if there is no mapping of
> any kind and getItem() to return the JCR item or null if there is no JCR item
> for the resource.
> [1] http://www.mail-archive.com/[email protected]/msg00335.html
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.