You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Felix Meschberger (JIRA)" <ji...@apache.org> on 2007/10/17 09:26:50 UTC

[jira] Closed: (SLING-57) Resource: retarget the data to be the mapped object and add Item for the addressed repository Item

     [ 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/sling-dev@incubator.apache.org/msg00335.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.