Isis
  1. Isis
  2. ISIS-220

Add "Paging" support to Objectstore API

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: core-1.0.0
    • Fix Version/s: core-1.4.0
    • Component/s: Core
    • Labels:
      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.

        Activity

          People

          • Assignee:
            Kevin Meyer
            Reporter:
            Kevin Meyer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development