1 Reply Latest reply on Aug 2, 2010 2:46 PM by tomj

    When does LCDS call the getItems(...) method?

    Okeyto

      I want Flex (LCDS) to call the "getItems(List identityList)" instead of the "getItem(Map identity)" method.

       

      I implemented a custom assembler by extending "flex.data.assemblers.AbstractAssembler" class, and overrode the coarse grained "public List getItems(List identityList)" method.

       

      According to the documentation in the JavaDoc, LCDA should call the coarse grained "getItems(List identityList)"  method by default, but it never calls it.

      Instead it always calls the "getItem(Map identity)" which is not performant for a large paged collection.

       

      Has anyone encountered and solved this problem before?

       

      Thanks.

        • 1. Re: When does LCDS call the getItems(...) method?
          tomj Adobe Employee

          It turns out that LCDS 3.1 (and earlier) never calls the getItems() function defined in the Assembler interface.  Ooops, not good.

           

          This is tracked as bug 2664250 in our bug system and will be fixed in the next release of Data Services.  If you have a support contract, you can contact Adobe and reference the bug number to get faster turnaround.

           

          Sorry for the inconvenence!