[MAGNOLIA-7621] DOC: JcrFunctions utility Created: 03/Sep/19 Updated: 11/Sep/19 Resolved: 11/Sep/19 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 6.2 |
| Fix Version/s: | None |
| Type: | Task | Priority: | Neutral |
| Reporter: | Ashraf Khamis | Assignee: | Ashraf Khamis |
| Resolution: | Done | Votes: | 0 |
| Labels: | jcr | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoR: |
Empty
|
||||||||
| Epic Link: | DOC: Documentation for Magnolia 6.2 | ||||||||
| Sprint: | UI Framework 5, UI Framework 6 | ||||||||
| Story Points: | 2 | ||||||||
| Description |
|
We have just introduced info.magnolia.jcr.util.JcrFunctions. The new JCR utility can be used as follows:
Set<Node> parents = getValueContext().get()
.map(JcrFunctions::getParent)
.collect(Collectors.toSet());
For more information, see TaskUpdate the following pages/sections: https://documentation.magnolia-cms.com/display/DOCS62/API#API-JCRutilities https://documentation.magnolia-cms.com/display/DOCS62/JCR+API |
| Comments |
| Comment by Ashraf Khamis [ 11/Sep/19 ] |
|
info.magnolia.jcr.util.JcrFunctions added to JCR utilities: https://documentation.magnolia-cms.com/display/DOCS62/API#API-JCRutilities Important Util classes updated with info.magnolia.jcr.util.JcrFunctions. Section on exception-free JCR operations created: https://documentation.magnolia-cms.com/display/DOCS62/JCR+API Content reviewed by Roman. |