Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-437

JcrRepository need not be final

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • OpenCMIS 0.6.0
    • OpenCMIS 0.6.0
    • opencmis-server-jcr
    • None

    Description

      In my use case I want to expose only one of several workspaces but since JcrRepository is final I'm unable to override getRespositoryInfos() to achieve this. Instead I've inherited JcrService to filter out the RepositoryInfos I want to hide.

      It would also help if org.apache.chemistry.opencmis.jcr.JcrRepository#compileRepositoryInfo was protected instead of private so it can be overridden to make small adjustments after calling super.compileRepositoryInfo().

      Attachments

        1. JcrRepository.patch
          6 kB
          Tobias Mattsson

        Activity

          People

            mduerig Michael Dürig
            sigget Tobias Mattsson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: