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: Runtimes: Dflt: Objectstores: Dflt
Affects Versions: 0.3.0-incubating
Reporter: Kevin Meyer
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:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira