incubator-graffito-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christophe Lombart (JIRA)" <j...@apache.org>
Subject [jira] Commented: (GRFT-67) Definition of Nodetype Management API
Date Tue, 08 Nov 2005 15:21:20 GMT
    [ http://issues.apache.org/jira/browse/GRFT-67?page=comments#action_12357040 ] 

Christophe Lombart commented on GRFT-67:
----------------------------------------

Following last Oliver comment : 

1. If you find a solution to merge our jcr mapping file and the Jackrabbit custom_nodetypes.xml
: you will be make a great job :-). That's very painful to add more and more attributes in
the jcr mapping file. If needed, I'm agree to refactor the peristence manager implementation
(mapper, class descriptor, ... ). Otherwise we have to add more info in the jcr xml mapping
file with,  as you suggested,  some default values. 

Another idea is to import from the Jackrabbit custom_nodetypes.xml and not from our jcr mapping
file. It will simplify the import process because this custom_nodetypes file is more appropriate.
Furthermore, it uses by other projects (at least Jeceira).  In such case, the most complex
issue is to map our jcr mapping file to custom_nodetypes.xml (or merge both file). 

I see 3 use cases : 
A.Import from our jcr mapping file (Graffito use case)
    1. Convert the jcr mapping file into custom_nodetypes.xml. That is certainly the big deal.

    2. Use the right API to import this custom_nodettypes.xml file.

B. Import from custom_nodetypes.xml (Jackrabbit use case) 
   Use the right API to import this custome nodettype file (same as A.2)

C. Support for other JCR implementation (Exo, Jeceira, ...) . In theory, it should be possible
to use their own API with the custom_nodetypes.xml (same as B). 

What do you think about that  ? I just a suggestion which certainly need more analysis. 


2. It is quite difficult to give a good anwser now. Maybe focus on Jackrabbit but I think
later I will be interesting to support other solutions of course. 

> Definition of Nodetype Management API
> -------------------------------------
>
>          Key: GRFT-67
>          URL: http://issues.apache.org/jira/browse/GRFT-67
>      Project: Graffito
>         Type: Task
>   Components: JCR-Nodemanagement
>     Versions: 1.0-a1-dev
>     Reporter: Oliver Kießler
>     Assignee: Oliver Kießler
>      Fix For: 1.0-a1-dev

>
> Definition of the "nodemanagement API" in the org.apache.portals.graffito.jcr.nodemanagement.NodeTypeManager
interface.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message