[MGNLDAM-605] Add convenience getFolder(String) method to the Folder interface Created: 24/Jul/15 Updated: 12/Mar/21 Resolved: 12/Mar/21 |
|
| Status: | Closed |
| Project: | Magnolia DAM Module |
| Component/s: | DAM API |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Minor |
| Reporter: | Jozef Chocholacek | Assignee: | Unassigned |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Account: | Magnolia Product (PRODUCT) |
| Description |
|
While there are different ways to retrieve the subfolder of an existing folder, it would be nice to have a convenience getFolder(String name) method, to obtain the name subfolder, or null if such subfolder does not exist. No exception should be thrown! |
| Comments |
| Comment by Jozef Chocholacek [ 24/Jul/15 ] |
|
Another way would be to add getSubfolder(Folder folder, String name) method to the DamTemplatingFunctions. |