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

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

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Normal
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: General
    • Labels:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

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