[ 
http://jira.magnolia-cms.com/browse/MAGNOLIA-3023?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Grégory Joseph updated MAGNOLIA-3023:
-------------------------------------

    Component/s: core

> content API cleanup: add Content.setNodeData(name, obj) method(s)
> -----------------------------------------------------------------
>
>                 Key: MAGNOLIA-3023
>                 URL: http://jira.magnolia-cms.com/browse/MAGNOLIA-3023
>             Project: Magnolia
>          Issue Type: Sub-task
>          Components: core
>            Reporter: Philipp Bärfuss
>            Assignee: Philipp Bärfuss
>             Fix For: 4.3
>
>
> Today the Content interface only defines setNodeData(Value value) and to set 
> some other value one has for instance to use 
> createNodeData(name).setValue(string). This is confusing and leads developers 
> to create value objects manually while they shouldn't.
> A) add all setNodeData() variations (as in JCR Node interface)
> B) add a single setNodeData(name, obj)
> the correct method is then called by using instanceof statements. Similar 
> code already exists in the NodeDataUtil.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to