Interface OrderEntryGroupingService

    • Method Detail

      • splitOrderByMatchers

        java.util.Set<OrderEntryGroup> splitOrderByMatchers​(AbstractOrderModel order,
                                                            java.util.Collection<OrderEntryMatcher> matchers)
        Split an order into a groups of order entries based on a collection of matchers.
        Parameters:
        order - - the abstract order entry model
        matchers - - the order entry matchers
        Returns:
        a set of order entry groups; never null
      • splitGroupsByMatcher

        java.util.Set<OrderEntryGroup> splitGroupsByMatcher​(java.util.Set<OrderEntryGroup> groups,
                                                            OrderEntryMatcher matcher)
        Split an existing collection of order entry groups into smaller groups using a single matcher.
        Parameters:
        groups - - the collection of order entry groups
        matcher - - the order entry matcher
        Returns:
        a set of order entry groups; never null
      • splitGroupByMatcher

        java.util.Set<OrderEntryGroup> splitGroupByMatcher​(OrderEntryGroup group,
                                                           OrderEntryMatcher matcher)
        Split a single order entry group into multiple groups using a single matcher.
        Parameters:
        group - - the order entry group
        matcher - - the order entry matcher
        Returns:
        a set of order entry groups; never null