chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Mattsson (Commented) (JIRA)" <>
Subject [jira] [Commented] (CMIS-437) JcrRepository need not be final
Date Fri, 07 Oct 2011 15:53:32 GMT


Tobias Mattsson commented on CMIS-437:

I have attached a patch (JcrRepository.patch) which changes JcrRepository to be non-final
and changes compileRepositoryInfo, getRepositoryName, getRepositoryDescription, getJcrNode
and getRootNode to protected. Also splitFilter and gatherDescendants were moved unmodified
to the end of the file. 
> JcrRepository need not be final
> -------------------------------
>                 Key: CMIS-437
>                 URL:
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: opencmis-server-jcr
>    Affects Versions: OpenCMIS 0.6.0
>            Reporter: Tobias Mattsson
>         Attachments: JcrRepository.patch
> 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

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:!default.jspa
For more information on JIRA, see:


View raw message