content API: cleanup
(MAGNOLIA-3015)
|
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core |
| Affects Version/s: | None |
| Fix Version/s: | 4.3 |
| Type: | Sub-task | Priority: | Major |
| Reporter: | Philipp Bärfuss | Assignee: | Philipp Bärfuss |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Description |
|
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) |