Interface OrderConsolidationService<P extends ConsolidatedOrder>

    • Method Detail

      • readAllConsolidatedOrders

        List<P> readAllConsolidatedOrders​(@NonNull
                                          cz.jirutka.rsql.parser.ast.Node filters,
                                          @NonNull
                                          com.broadleafcommerce.data.tracking.core.context.ContextInfo context)
        Read and consolidate orders with their related domain.
        Parameters:
        filters - the RSQL Node used to restrict results, must not be null
        context - context information around sandboxing and multitenant state
        Returns:
        list of orders consolidated with relations
      • readConsolidatedOrderById

        P readConsolidatedOrderById​(@NonNull
                                    String id,
                                    @Nullable
                                    com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
        Reads a single ConsolidatedOrder by ID.
        Parameters:
        id - ID of the order
        contextInfo - context information around sandboxing and multitenant state
        Returns:
        The conoslidated order matching the id.