You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Dan Haywood (JIRA)" <ji...@apache.org> on 2014/06/10 01:17:02 UTC

[jira] [Updated] (ISIS-220) Add "Paging" support to Objectstore API

     [ https://issues.apache.org/jira/browse/ISIS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dan Haywood updated ISIS-220:
-----------------------------

    Fix Version/s:     (was: core-2.0.0)
                   core-1.4.0

> Add "Paging" support to Objectstore API
> ---------------------------------------
>
>                 Key: ISIS-220
>                 URL: https://issues.apache.org/jira/browse/ISIS-220
>             Project: Isis
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: core-1.0.0
>            Reporter: Kevin Meyer
>            Assignee: Kevin Meyer
>             Fix For: core-1.4.0
>
>
> The org.apache.isis.runtimes.dflt.runtime.persistence.objectstore.ObjectStorePersistence method "boolean hasInstances(ObjectSpecification specification);" could do with a "boolean hasInstances(ObjectSpecification specification, final int start, final int count);" method to support paging through results.
> This impacts all object stores. 
> The "org.apache.isis.applib.AbstractContainedObject" and "org.apache.isis.applib.DomainObjectContainer" methods "protected <T> List<T> allInstances(final Class<T> ofType)" and all the "allMatches(*)" should also get paging equivalents. This will expose paging to services and all POJOs via the inject DomainObjectContainer container.



--
This message was sent by Atlassian JIRA
(v6.2#6252)