jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] Commented: (JCR-1797) SPI: RepositoryService.getItemInfos should be allowed to return entries outside of the requested tree.
Date Mon, 13 Oct 2008 08:42:46 GMT

    [ https://issues.apache.org/jira/browse/JCR-1797?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12638973#action_12638973
] 

Michael Dürig commented on JCR-1797:
------------------------------------

Specifically I'd like to be able to return items for getItemInfos(sessionInfo, nodeId) which
are not in the sub tree rooted at nodeId.

This is useful in the case where an underlying data store returns such items anyway. For example
an underlying data store might always return the parent and all grand-parents of a requested
item and probably even some of its siblings (i.e. MS Sharepoint). 
While traversing a repository from the root node to the leaves, there wont be any gain. However,
there is quite some impact on random access. For example when iterating over the result set
from a search. 

> SPI: RepositoryService.getItemInfos should be allowed to return entries outside of the
requested tree.
> ------------------------------------------------------------------------------------------------------
>
>                 Key: JCR-1797
>                 URL: https://issues.apache.org/jira/browse/JCR-1797
>             Project: Jackrabbit
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi
>            Reporter: angela
>
> michael duerig asked for for that extension of the semantic of RepositoryService.getItemInfos.
> currently this doesn't work and leads to an inconsistent hierarchy.

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


Mime
View raw message