All Known Implementing Classes:
AbstractOrderEntryDao, DefaultCartEntryDao

@Deprecated(since="1905", forRemoval=true) public interface OrderEntryDao<O extends AbstractOrderModel,E extends AbstractOrderEntryModel>
Deprecated, for removal: This API element is subject to removal in a future version.
since 1905. Use entryGroupNumber instead of bundleNo
Data Access Object for looking up items related to AbstractOrderEntryModel.
Spring Bean ID:
orderEntryDao
  • Method Details

    • findEntriesByMasterCartAndBundleNo

      @Nonnull 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 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 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.