You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Peter Harrison (JIRA)" <ji...@apache.org> on 2013/11/27 21:00:35 UTC
[jira] [Updated] (OCM-67) Support for List Element counts in parent
Objects and Lists of Objects
[ https://issues.apache.org/jira/browse/OCM-67?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Harrison updated OCM-67:
------------------------------
Attachment: ocm-listcounts.patch
Patch to provide ability to count list elements in a object, and a new getChildObjects method to quickly obtain a list of objects from a parent node.
> Support for List Element counts in parent Objects and Lists of Objects
> ----------------------------------------------------------------------
>
> Key: OCM-67
> URL: https://issues.apache.org/jira/browse/OCM-67
> Project: Jackrabbit OCM
> Issue Type: Improvement
> Affects Versions: 2.0.1
> Reporter: Peter Harrison
> Priority: Minor
> Fix For: 2.0.1
>
> Attachments: ocm-listcounts.patch
>
>
> Some objects need to have visibility into the number of elements in a list, but should not return the list itself.
> However, there needs to be a way to obtain the actual list of objects when needed. Thus this ticket deals with these two improvements:
> a) Allowing a OCM integer field to be defined where there is a list node, and it will report the number of elements.
> b) Provide a method which obtains all the children of a node in one hit and converts to the proper Java type.
--
This message was sent by Atlassian JIRA
(v6.1#6144)