You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Michael Dürig (JIRA)" <ji...@apache.org> on 2011/08/16 16:31:27 UTC

[jira] [Created] (JCR-3054) Deprecate RepositoryService.getPropertyInfo method

Deprecate RepositoryService.getPropertyInfo method
--------------------------------------------------

                 Key: JCR-3054
                 URL: https://issues.apache.org/jira/browse/JCR-3054
             Project: Jackrabbit Content Repository
          Issue Type: Improvement
          Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav, jackrabbit-spi2jcr
            Reporter: Michael Dürig
            Assignee: Michael Dürig


I would like to deprecate and ultimately remove the RepositoryService.getPropertyInfo method and extend RepositoryService.getItemInfos to take over that functionality. getItemInfos would thus change to

    /**
     * Method used to 'batch-read' from the persistent storage. It returns the
     * <code>ItemInfo</code> for the given <code>ItemId</code> as the first
     * element in the <code>Iterator</code>. In addition the iterator may contain
     * arbitrary <code>ItemInfo</code>s.
     */
    public Iterator<? extends ItemInfo> getItemInfos(SessionInfo sessionInfo, ItemId itemId) throws ItemNotFoundException, RepositoryException;



--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3054) Deprecate RepositoryService.getPropertyInfo method

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

Michael Dürig updated JCR-3054:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

Fixed at revision 1159182

> Deprecate RepositoryService.getPropertyInfo method
> --------------------------------------------------
>
>                 Key: JCR-3054
>                 URL: https://issues.apache.org/jira/browse/JCR-3054
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav, jackrabbit-spi2jcr
>    Affects Versions: 2.3.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.3.0
>
>         Attachments: JCR-3054.patch
>
>
> I would like to deprecate and ultimately remove the RepositoryService.getPropertyInfo method and extend RepositoryService.getItemInfos to take over that functionality. getItemInfos would thus change to
>     /**
>      * Method used to 'batch-read' from the persistent storage. It returns the
>      * <code>ItemInfo</code> for the given <code>ItemId</code> as the first
>      * element in the <code>Iterator</code>. In addition the iterator may contain
>      * arbitrary <code>ItemInfo</code>s.
>      */
>     public Iterator<? extends ItemInfo> getItemInfos(SessionInfo sessionInfo, ItemId itemId) throws ItemNotFoundException, RepositoryException;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3054) Deprecate RepositoryService.getPropertyInfo method

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

Michael Dürig updated JCR-3054:
-------------------------------

    Affects Version/s: 2.3.0

> Deprecate RepositoryService.getPropertyInfo method
> --------------------------------------------------
>
>                 Key: JCR-3054
>                 URL: https://issues.apache.org/jira/browse/JCR-3054
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav, jackrabbit-spi2jcr
>    Affects Versions: 2.3.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>         Attachments: JCR-3054.patch
>
>
> I would like to deprecate and ultimately remove the RepositoryService.getPropertyInfo method and extend RepositoryService.getItemInfos to take over that functionality. getItemInfos would thus change to
>     /**
>      * Method used to 'batch-read' from the persistent storage. It returns the
>      * <code>ItemInfo</code> for the given <code>ItemId</code> as the first
>      * element in the <code>Iterator</code>. In addition the iterator may contain
>      * arbitrary <code>ItemInfo</code>s.
>      */
>     public Iterator<? extends ItemInfo> getItemInfos(SessionInfo sessionInfo, ItemId itemId) throws ItemNotFoundException, RepositoryException;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3054) Deprecate RepositoryService.getPropertyInfo method

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

Michael Dürig updated JCR-3054:
-------------------------------

    Fix Version/s: 2.3.0
           Status: Patch Available  (was: Open)

tentative patch

> Deprecate RepositoryService.getPropertyInfo method
> --------------------------------------------------
>
>                 Key: JCR-3054
>                 URL: https://issues.apache.org/jira/browse/JCR-3054
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav, jackrabbit-spi2jcr
>    Affects Versions: 2.3.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.3.0
>
>         Attachments: JCR-3054.patch
>
>
> I would like to deprecate and ultimately remove the RepositoryService.getPropertyInfo method and extend RepositoryService.getItemInfos to take over that functionality. getItemInfos would thus change to
>     /**
>      * Method used to 'batch-read' from the persistent storage. It returns the
>      * <code>ItemInfo</code> for the given <code>ItemId</code> as the first
>      * element in the <code>Iterator</code>. In addition the iterator may contain
>      * arbitrary <code>ItemInfo</code>s.
>      */
>     public Iterator<? extends ItemInfo> getItemInfos(SessionInfo sessionInfo, ItemId itemId) throws ItemNotFoundException, RepositoryException;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Commented] (JCR-3054) Deprecate RepositoryService.getPropertyInfo method

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

angela commented on JCR-3054:
-----------------------------

i am fine with deprecating the method.

the only thing that i was thinking of was the question of the same-name node + property 
feature which is allowed since jcr 283. this used to be a problem in the jcr-remoting
since on the server-side there - up to now - no possibility to distinguish them path-wise.
(see JCR-1616)... but since the spi-ItemID itself is sufficient to avoid any  ambiguity,
the proposed solution should not do any harm (au contraire).


> Deprecate RepositoryService.getPropertyInfo method
> --------------------------------------------------
>
>                 Key: JCR-3054
>                 URL: https://issues.apache.org/jira/browse/JCR-3054
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav, jackrabbit-spi2jcr
>    Affects Versions: 2.3.0
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>             Fix For: 2.3.0
>
>         Attachments: JCR-3054.patch
>
>
> I would like to deprecate and ultimately remove the RepositoryService.getPropertyInfo method and extend RepositoryService.getItemInfos to take over that functionality. getItemInfos would thus change to
>     /**
>      * Method used to 'batch-read' from the persistent storage. It returns the
>      * <code>ItemInfo</code> for the given <code>ItemId</code> as the first
>      * element in the <code>Iterator</code>. In addition the iterator may contain
>      * arbitrary <code>ItemInfo</code>s.
>      */
>     public Iterator<? extends ItemInfo> getItemInfos(SessionInfo sessionInfo, ItemId itemId) throws ItemNotFoundException, RepositoryException;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] [Updated] (JCR-3054) Deprecate RepositoryService.getPropertyInfo method

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

Michael Dürig updated JCR-3054:
-------------------------------

    Attachment: JCR-3054.patch

Tentative patch

> Deprecate RepositoryService.getPropertyInfo method
> --------------------------------------------------
>
>                 Key: JCR-3054
>                 URL: https://issues.apache.org/jira/browse/JCR-3054
>             Project: Jackrabbit Content Repository
>          Issue Type: Improvement
>          Components: jackrabbit-jcr2spi, jackrabbit-spi, jackrabbit-spi2dav, jackrabbit-spi2jcr
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>         Attachments: JCR-3054.patch
>
>
> I would like to deprecate and ultimately remove the RepositoryService.getPropertyInfo method and extend RepositoryService.getItemInfos to take over that functionality. getItemInfos would thus change to
>     /**
>      * Method used to 'batch-read' from the persistent storage. It returns the
>      * <code>ItemInfo</code> for the given <code>ItemId</code> as the first
>      * element in the <code>Iterator</code>. In addition the iterator may contain
>      * arbitrary <code>ItemInfo</code>s.
>      */
>     public Iterator<? extends ItemInfo> getItemInfos(SessionInfo sessionInfo, ItemId itemId) throws ItemNotFoundException, RepositoryException;

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira