Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
core-1.0.0
-
None
Description
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.