You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2007/07/05 09:58:05 UTC

[jira] Created: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

SPI: Add RepositoryService.getQNodeTypeDefinition
-------------------------------------------------

                 Key: JCR-1004
                 URL: https://issues.apache.org/jira/browse/JCR-1004
             Project: Jackrabbit
          Issue Type: Improvement
          Components: SPI
            Reporter: angela
            Assignee: angela


Finding of the F2F (2/3 July)

similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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


[jira] Commented: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

Posted by "Julian Reschke (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/JCR-1004?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12511119 ] 

Julian Reschke commented on JCR-1004:
-------------------------------------

While doing this, should we rename

  getNodeTypeDefinitions()

to

  getQNodeTypeDefinitions()

?

I would think so...

> SPI: Add RepositoryService.getQNodeTypeDefinition
> -------------------------------------------------
>
>                 Key: JCR-1004
>                 URL: https://issues.apache.org/jira/browse/JCR-1004
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: angela
>            Assignee: Julian Reschke
>
> Finding of the F2F (2/3 July)
> similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
> To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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


[jira] Assigned: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

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

Julian Reschke reassigned JCR-1004:
-----------------------------------

    Assignee: Julian Reschke  (was: angela)

> SPI: Add RepositoryService.getQNodeTypeDefinition
> -------------------------------------------------
>
>                 Key: JCR-1004
>                 URL: https://issues.apache.org/jira/browse/JCR-1004
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: angela
>            Assignee: Julian Reschke
>
> Finding of the F2F (2/3 July)
> similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
> To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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


[jira] Updated: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

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

Jukka Zitting updated JCR-1004:
-------------------------------

    Fix Version/s: 1.4

> SPI: Add RepositoryService.getQNodeTypeDefinition
> -------------------------------------------------
>
>                 Key: JCR-1004
>                 URL: https://issues.apache.org/jira/browse/JCR-1004
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: angela
>            Assignee: angela
>             Fix For: 1.4
>
>
> Finding of the F2F (2/3 July)
> similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
> To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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


[jira] Commented: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

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

angela commented on JCR-1004:
-----------------------------

rev. 554866 : added implementations to spi2jcr, spi-rmi and spi2dav

next step: change jcr2spi in order to make use of the new method instead of retrieving all node type definitions once.


> SPI: Add RepositoryService.getQNodeTypeDefinition
> -------------------------------------------------
>
>                 Key: JCR-1004
>                 URL: https://issues.apache.org/jira/browse/JCR-1004
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: angela
>            Assignee: angela
>
> Finding of the F2F (2/3 July)
> similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
> To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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


[jira] Resolved: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

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

angela resolved JCR-1004.
-------------------------

    Resolution: Fixed

in order to let the SPI implementation decide whether the dependencies of a node type definition should be returned as well, i changed the method to be:

Iterator RepositoryService.getQNodeTypeDefinitions(SessionInfo, QName[])

with rev. 555209

- SPI implementations got adjusted accordingly
- JCR2SPI has been changed to load node type definitions on demand.
   the only usage for retrieving all definitions at once is a call to NodeTypeManager.getAllNodeTypes, 
   NodeTypeManager.getPrimaryNodeTypes, NodeTypeManager.getMixinNodeTypes

> SPI: Add RepositoryService.getQNodeTypeDefinition
> -------------------------------------------------
>
>                 Key: JCR-1004
>                 URL: https://issues.apache.org/jira/browse/JCR-1004
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: angela
>            Assignee: angela
>
> Finding of the F2F (2/3 July)
> similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
> To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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


[jira] Assigned: (JCR-1004) SPI: Add RepositoryService.getQNodeTypeDefinition

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

Julian Reschke reassigned JCR-1004:
-----------------------------------

    Assignee: angela  (was: Julian Reschke)

Revision r554676: added the interface, and dummy impls in the various SPI impls (throwing RTEs).

Angela, can you take over to complete the implementations, and to make use of it in JCR2SPI?


> SPI: Add RepositoryService.getQNodeTypeDefinition
> -------------------------------------------------
>
>                 Key: JCR-1004
>                 URL: https://issues.apache.org/jira/browse/JCR-1004
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: SPI
>            Reporter: angela
>            Assignee: angela
>
> Finding of the F2F (2/3 July)
> similar to recent modifications to the retrieval of name spaces the node type management should be changed in order to only retrieve the complete set of node types on demand. Otherwise single node type definitions should be retrieved as required.
> To achieve this we agreed to add RepositoryService.getQNodeTypeDefinition

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