Interface OrderEntryDao<O extends AbstractOrderModel,​E extends AbstractOrderEntryModel>

    • Method Detail

      • findEntriesByMasterCartAndBundleNo

        @Nonnull
        java.util.List<E> findEntriesByMasterCartAndBundleNo​(@Nonnull
                                                             O masterAbstractOrder,
                                                             int bundleNo)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Find AbstractOrderEntryModels that match the given masterAbstractOrder and bundleNo
        Parameters:
        masterAbstractOrder - the master cart/order of the AbstractOrderEntryModel.
        bundleNo - the bundle number the AbstractOrderEntryModel belongs to
        Returns:
        List of AbstractOrderEntryModels or empty List.
      • findEntriesByMasterCartAndBundleNoAndTemplate

        @Nonnull
        java.util.List<E> findEntriesByMasterCartAndBundleNoAndTemplate​(@Nonnull
                                                                        O masterAbstractOrder,
                                                                        int bundleNo,
                                                                        @Nonnull
                                                                        BundleTemplateModel bundleTemplate)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Find AbstractOrderEntryModels that match the given masterAbstractOrder and bundleNo and bundleTemplate
        Parameters:
        masterAbstractOrder - the master cart/order of the AbstractOrderEntryModel.
        bundleNo - the bundle number the AbstractOrderEntryModel belongs to
        bundleTemplate - the bundle template based on which the AbstractOrderEntryModel was added to the cart
        Returns:
        List of AbstractOrderEntryModels or empty List.
      • findEntriesByMasterCartAndBundleNoAndProduct

        @Nonnull
        java.util.List<E> findEntriesByMasterCartAndBundleNoAndProduct​(@Nonnull
                                                                       O masterAbstractOrder,
                                                                       int bundleNo,
                                                                       @Nonnull
                                                                       ProductModel product)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Find AbstractOrderEntryModels that match the given masterAbstractOrder and bundleNo and product
        Parameters:
        masterAbstractOrder - the master cart/order of the AbstractOrderEntryModel.
        bundleNo - the bundle number the AbstractOrderEntryModel belongs to
        product - the product in the cart abstract order entry
        Returns:
        List of AbstractOrderEntryModels or empty List.