[
https://issues.apache.org/jira/browse/ISIS-220?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kevin Meyer resolved ISIS-220.
------------------------------
Resolution: Fixed
Assignee: Kevin Meyer
Adding QueryFindAllPaged and PersistenceQueryFindPaged to applib.query and
runtime.persistence, respectively.
- added example usage to SqlDomainObjectRepository
- PersistenceQueryFindPaged performs manually limiting for OSs that do not
support native paging
> 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-2.0.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira