You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Christoph Kiehl (JIRA)" <ji...@apache.org> on 2006/08/21 11:39:15 UTC

[jira] Created: (JCR-545) New method on NodeTypeManagerImpl to reregister nodetypes

New method on NodeTypeManagerImpl to reregister nodetypes
---------------------------------------------------------

                 Key: JCR-545
                 URL: http://issues.apache.org/jira/browse/JCR-545
             Project: Jackrabbit
          Issue Type: Improvement
          Components: nodetype
            Reporter: Christoph Kiehl


Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

-- 
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-545) New method on NodeTypeManagerImpl to reregister nodetypes

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

Jukka Zitting updated JCR-545:
------------------------------

    Fix Version/s: 1.2
                       (was: 1.1.1)

Targetting 1.2 instead of 1.1.1 since this is a new feature.

> New method on NodeTypeManagerImpl to reregister nodetypes
> ---------------------------------------------------------
>
>                 Key: JCR-545
>                 URL: http://issues.apache.org/jira/browse/JCR-545
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Christoph Kiehl
>         Assigned To: Stefan Guggisberg
>             Fix For: 1.2
>
>         Attachments: NodeTypeManagerImpl.java.patch
>
>
> Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

-- 
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-545) New method on NodeTypeManagerImpl to reregister nodetypes

Posted by "Stefan Guggisberg (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-545?page=comments#action_12446296 ] 
            
Stefan Guggisberg commented on JCR-545:
---------------------------------------

fixed in svn rev. 469959

> New method on NodeTypeManagerImpl to reregister nodetypes
> ---------------------------------------------------------
>
>                 Key: JCR-545
>                 URL: http://issues.apache.org/jira/browse/JCR-545
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Christoph Kiehl
>         Assigned To: Stefan Guggisberg
>             Fix For: 1.1.1
>
>         Attachments: NodeTypeManagerImpl.java.patch
>
>
> Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

-- 
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-545) New method on NodeTypeManagerImpl to reregister nodetypes

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

Stefan Guggisberg resolved JCR-545.
-----------------------------------

    Fix Version/s: 1.1.1
       Resolution: Fixed

applied patch with some trivial cosmetic modifications.

thanks for providing the patch!

> New method on NodeTypeManagerImpl to reregister nodetypes
> ---------------------------------------------------------
>
>                 Key: JCR-545
>                 URL: http://issues.apache.org/jira/browse/JCR-545
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Christoph Kiehl
>         Assigned To: Stefan Guggisberg
>             Fix For: 1.1.1
>
>         Attachments: NodeTypeManagerImpl.java.patch
>
>
> Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

-- 
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-545) New method on NodeTypeManagerImpl to reregister nodetypes

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

Christoph Kiehl updated JCR-545:
--------------------------------

    Attachment: NodeTypeManagerImpl.java.patch

This is a patch which adds the following method:

public NodeType[] registerNodeTypes(InputStream in, String contentType, boolean reregisterExisting)



> New method on NodeTypeManagerImpl to reregister nodetypes
> ---------------------------------------------------------
>
>                 Key: JCR-545
>                 URL: http://issues.apache.org/jira/browse/JCR-545
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Christoph Kiehl
>         Attachments: NodeTypeManagerImpl.java.patch
>
>
> Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

-- 
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-545) New method on NodeTypeManagerImpl to reregister nodetypes

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

Stefan Guggisberg reassigned JCR-545:
-------------------------------------

    Assignee: Stefan Guggisberg

> New method on NodeTypeManagerImpl to reregister nodetypes
> ---------------------------------------------------------
>
>                 Key: JCR-545
>                 URL: http://issues.apache.org/jira/browse/JCR-545
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Christoph Kiehl
>         Assigned To: Stefan Guggisberg
>         Attachments: NodeTypeManagerImpl.java.patch
>
>
> Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

-- 
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-545) New method on NodeTypeManagerImpl to reregister nodetypes

Posted by "Tobias Bocanegra (JIRA)" <ji...@apache.org>.
    [ http://issues.apache.org/jira/browse/JCR-545?page=comments#action_12446194 ] 
            
Tobias Bocanegra commented on JCR-545:
--------------------------------------

i don't like this method, because the (re)registering of the nodetypes is not atomic, i.e. they are not registered at once. if would rather have the internal registerNodeTypes(NodeType[] nodetypes) by extended to handle regegistering smoothly.

but for the time beeing.... +1 for applying this patch



> New method on NodeTypeManagerImpl to reregister nodetypes
> ---------------------------------------------------------
>
>                 Key: JCR-545
>                 URL: http://issues.apache.org/jira/browse/JCR-545
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: nodetype
>            Reporter: Christoph Kiehl
>         Attachments: NodeTypeManagerImpl.java.patch
>
>
> Add a method to NodeTypeManagerImpl to allow reregistering of existing nodetypes. The method takes an inputstream in either XML or CND format and registers all new nodetypes and reregisters existing nodetypes.

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