[MGNLDAM-412] JcrAsset, JcrFolder, AbstractJcrItem should delegate to their provider Created: 03/Mar/14  Updated: 18/Mar/14  Resolved: 04/Mar/14

Status: Closed
Project: Magnolia DAM Module
Component/s: DAM JCR Provider
Affects Version/s: 2.0
Fix Version/s: 2.0

Type: Task Priority: Neutral
Reporter: Magnolia International Assignee: Daniel Lipp
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
dependency
is depended upon by MGNLDAM-408 JcrAssetProvider should handle/provid... Closed
Template:
Acceptance criteria:
Empty
Task DoR:
Empty
Epic Link: DAM / CMIS
Sprint: 5.3 Sprint 3, 5.3 Sprint 4

 Description   

These classes should be as shallow as possible. Some progress has been done in this area, but there's potential for more. For example, info.magnolia.dam.jcr.JcrFolder#createAssetOrFolder should not be implemented on JcrFolder, but rather just delegate to the provider. In fact, the whole getChildren() method should be delegated to the provider.

I'd even argue than exception handling should be done by the provider.


Generated at Mon Feb 12 04:59:35 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.