[ 
https://issues.apache.org/jira/browse/CMIS-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13122899#comment-13122899
 ] 

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: https://issues.apache.org/jira/browse/CMIS-437
>             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 super.compileRepositoryInfo().

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to