Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4710

Add a database-friendly ListModel.getElementsAtRange(int, int) method

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • None
    • General

      Current Result

      ListModel.getElementAt(int) gets the element one by one.
      Lots of DB queries are needed in a concrete implementation.

      Expected Result

      It's good to have a getElementsAtRange(int start, int limit) method to get the elements.
      Only a DB query is needed in a concrete implementation.

      Workaround

      Implement a cache.

            rudyhuang rudyhuang
            rudyhuang rudyhuang
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 hour
                1h