Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-220

Add "Paging" support to Objectstore API

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • core-1.0.0
    • core-1.4.0
    • Core
    • 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.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            kevin-m Kevin Meyer
            kevin-m Kevin Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: