You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Dan Connelly (JIRA)" <ji...@apache.org> on 2006/09/25 18:14:50 UTC

[jira] Created: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Should be public:   NodeType[] registerNodeTypes(List defs)
-----------------------------------------------------------

                 Key: JCR-580
                 URL: http://issues.apache.org/jira/browse/JCR-580
             Project: Jackrabbit
          Issue Type: Improvement
          Components: nodetype
    Affects Versions: 1.0.1
            Reporter: Dan Connelly


Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.

Alternatively, but less desirably, add support for the following method in  SchemaConverter class:

public InputSource getNodeTypeInputSource();    

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

        

[jira] Commented: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "Nicolas Toper (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-580?page=comments#action_12437614 ] 
            
Nicolas Toper commented on JCR-580:
-----------------------------------

Hi,

Which class are you writing about please?

> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: http://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

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

        

[jira] Assigned: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-580?page=all ]

Stefan Guggisberg reassigned JCR-580:
-------------------------------------

    Assignee: Stefan Guggisberg

> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: http://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>         Assigned To: Stefan Guggisberg
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

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

        

[jira] Updated: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "Jukka Zitting (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jukka Zitting updated JCR-580:
------------------------------

    Fix Version/s:     (was: 1.5.1)

> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: https://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>            Assignee: Stefan Guggisberg
>            Priority: Minor
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
     [ http://issues.apache.org/jira/browse/JCR-580?page=all ]

Stefan Guggisberg updated JCR-580:
----------------------------------

    Priority: Minor  (was: Major)

not a major issue

> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: http://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

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

        

[jira] Commented: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "Dan Connelly (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-580?page=comments#action_12437639 ] 
            
Dan Connelly commented on JCR-580:
----------------------------------

The class where the registerNodeTypes methods are defined is  org.apache.jackrabbit.core.nodetype.NodeTypeManagerImpl.

This issue is major with respect to the scenario I outlined.

I assume it is easily fixed since there seems to be no reason to have this method private.

> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: http://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

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

        

[jira] Commented: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "Dan Connelly (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-580?page=comments#action_12437699 ] 
            
Dan Connelly commented on JCR-580:
----------------------------------

Ok, Stefan, it is minor.   But still deserves a JIRA.

I have just noticed that registerNodeTypes(List defs) calls the following method in the NodeTypeRegistry for the actual registration step.:

 public synchronized void registerNodeTypes(Collection ntDefs)

That method is public.   So my scenario is not blocked in the current code.



> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: http://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>         Assigned To: Stefan Guggisberg
>            Priority: Minor
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

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

        

[jira] Resolved: (JCR-580) Should be public: NodeType[] registerNodeTypes(List defs)

Posted by "angela (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/JCR-580?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

angela resolved JCR-580.
------------------------

       Resolution: Won't Fix
    Fix Version/s: 1.5.1

with the node type management extension present with JSR 283 this issue is from my point of view obsolete.

please use the new JSR 283 methods:

- NodeTypeManager#registerNodeType(NodeTypeDefinition ntd, boolean allowUpdate)
- NodeTypeManager#registerNodeTypes(Collection definitions, boolean allowUpdate)

etc.



> Should be public:   NodeType[] registerNodeTypes(List defs)
> -----------------------------------------------------------
>
>                 Key: JCR-580
>                 URL: https://issues.apache.org/jira/browse/JCR-580
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>    Affects Versions: 1.0.1
>            Reporter: Dan Connelly
>            Assignee: Stefan Guggisberg
>            Priority: Minor
>             Fix For: 1.5.1
>
>
> Allow XSD schema file to be the direct souce of custom NodeTypes for a Level 2 application.
> Alternatively, but less desirably, add support for the following method in  SchemaConverter class:
> public InputSource getNodeTypeInputSource();    

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.