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

Patrice Collardez edited comment on CMIS-346 at 10/6/11 1:31 PM:
-----------------------------------------------------------------

I wrote some weeks ago an Alfresco extension that is not a patch over the 
current cmislib (0.4.1) but some sort of plugin: 
http://code.google.com/p/cmislib-alfresco-extension/

It dynamically adds aspects handling to the classes Document and Folder when 
its module is imported.

I tested it against Alfresco 3.4 and another CMIS enabled repository to ensure 
that the extension does not raise unexpected exception or has an unexpected 
behaviour if the repository is not Alfresco.

Anyway, I'm not completely satisfied by this extension because I had to 
copy/paste some code from cmislib to handle properties and because it would be 
better to be able to replace the object factory, like it has be done in 
opencmis.
The object factory should be set on the repository object, in order to replace 
the default one.

There is probably some refactoring to do around properties handling to simplify 
extensions writing.
                
      was (Author: pcollardez):
    I wrote some weeks ago an Alfresco extension that is not a patch over the 
current cmislib (0.4.1) but some sort of plugin: 
http://code.google.com/p/cmislib-alfresco-extension/

It dynamically adds aspects handling to the classes Document and Folder when 
its module is imported.

Anyway, I'm not completely satisfied by this extension because I had to 
copy/paste some code from cmislib to handle properties and because it would be 
better to be able to replace the object factory, like it has be done in 
opencmis.
The object factory should be set on the repository object, in order to replace 
the default one.

There is probably some refactoring to do around properties handling to simplify 
extensions writing.
                  
> Add alfresco extensions support to cmislib
> ------------------------------------------
>
>                 Key: CMIS-346
>                 URL: https://issues.apache.org/jira/browse/CMIS-346
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: python-cmislib
>            Reporter: Jeff Potts
>
> This enhancement is about adding "extensions" to cmislib to support things 
> such as Alfresco aspects.
> See this thread:
> http://tinyurl.com/4kapqla

--
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