Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-412

JcrAsset, JcrFolder, AbstractJcrItem should delegate to their provider

    XMLWordPrintable

Details

    • Task
    • Resolution: Fixed
    • Neutral
    • 2.0
    • 2.0
    • DAM JCR Provider
    • None
    • 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.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                dlipp Daniel Lipp
                gjoseph Magnolia International
                Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoR