Menu

#779 Query to list RecurredOffers of RecurringOffers

none
open-fixed
nobody
5
2010-11-10
2008-10-30
jfirechief
No

DO NOT EDIT OR ANSWER THIS ISSUE. SEE THE ORIGINAL ISSUE INSTEAD:
https://www.jfire.org/modules/bugs/view.php?id=948
ORIGINAL REPORTER: alex

It should be possible to query the RecurredOffers that where created on the basis of a certain RecurringOffer (or a list of RecurringOffers).

I think it will be best to extend OfferQuery for that and introduce a new filter:
set/getRecurringOfferIDs()

Discussion

  • jfirechief

    jfirechief - 2008-10-30
    • labels: --> JFireTrade
    • milestone: --> 770146
     
  • jfirechief

    jfirechief - 2010-10-18
    • milestone: 770146 --> none
     
  • jfirechief

    jfirechief - 2010-10-18

    ORIGINAL COMMENT BY alex, VIEW IT HERE:
    https://www.jfire.org/modules/bugs/view.php?id=948

    This query is ment to support a new functionality in the recurring trade editor.
    There should be a new editor-page for the RecurringOfferEditor that lists all Offers created by the current RecurringOffer.

     
  • jfirechief

    jfirechief - 2010-11-10
    • status: open --> open-fixed
     
  • jfirechief

    jfirechief - 2010-11-10

    ORIGINAL COMMENT BY alex, VIEW IT HERE:
    https://www.jfire.org/modules/bugs/view.php?id=948

    This query is ment to support a new functionality in the recurring trade editor.
    There should be a new editor-page for the RecurringOfferEditor that lists all Offers created by the current RecurringOffer.

     
  • jfirechief

    jfirechief - 2010-11-10

    ORIGINAL COMMENT BY fitas_java, VIEW IT HERE:
    https://www.jfire.org/modules/bugs/view.php?id=948

    added the new Query class RecurredOfferQuery which extends ArticleContainerQuery.

    a new method has been added in the Bean RecurringTradeManager getRecurredOffer which takes the query class as Parameter.

    the query works fine and I have added a method to test its functionality in the Recurring Test Case.

     

Log in to post a comment.