[MAGNOLIA-4446] Implement isNew for MockNode Created: 18/Jun/12 Updated: 23/Jan/13 Resolved: 18/Jun/12 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | core, testing |
| Affects Version/s: | None |
| Fix Version/s: | 5.0 |
| Type: | Task | Priority: | Major |
| Reporter: | Federico Grilli | Assignee: | Federico Grilli |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoR: |
Empty
|
| Description |
|
So far there was no need to implement the isNew() method of the javax.jcr.Node interface. However, the need has arisen now with the NodeAdapter object we are going to use in 5.0 as a bridge between Vaadin Item and jcr Item. This is especially important when retrieving a new node being created which has not yet been saved and thus lives in the transient storage of the jcr session. |