0 Replies Latest reply on May 23, 2007 11:04 AM by jovox

    How to use "multiple" getItem(Map map)?

    jovox
      I have an assembler called MemberAssembler. I implemented a simple fill method that just returns a list of all Member's.
      I also implemented getItem(Map id).
      If this wasn't a flex Data Service assembler but a regular DAO of some sort I would have implemented a couple of getMember() methods like
      Member getMember(int memberId),
      Member getMemberByUsername(String username)
      Member getMemberByOrganisation and so on...

      As far as I can see this is impossible to implement using assemblers. Am I right or have a missed something here?
      I really hope I have..

      Any suggestions?

      /jonathan