Class DefaultSubscriptionCustomerAccountDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.commerceservices.customer.dao.impl.DefaultCustomerAccountDao
-
- de.hybris.platform.subscriptionservices.daos.impl.DefaultSubscriptionCustomerAccountDao
-
- All Implemented Interfaces:
CustomerAccountDao,Dao
public class DefaultSubscriptionCustomerAccountDao extends DefaultCustomerAccountDao
Data Access Object for looking up items related to the Customer's account. It overrides the super class' methods to exclude child orders from the result set.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.commerceservices.customer.dao.impl.DefaultCustomerAccountDao
FILTER_RETURNREQUESTS_STATUS, FIND_RETURNREQUESTS_BY_CUSTOMER_STORE_QUERY, FIND_RETURNREQUESTS_BY_CUSTOMER_STORE_QUERY_AND_STATUS, SORT_RETURNREQUESTS_BY_DATE, SORT_RETURNREQUESTS_BY_RMA
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultSubscriptionCustomerAccountDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<OrderModel>findOrdersByCustomerAndStore(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status)Finds orders for the specified user in the current session's active catalog versionsSearchPageData<OrderModel>findOrdersByCustomerAndStore(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, PageableData pageableData)Finds orders for the specified user in the current session's active catalog versions-
Methods inherited from class de.hybris.platform.commerceservices.customer.dao.impl.DefaultCustomerAccountDao
createQuery, createSortQueryData, findAddressBookDeliveryEntriesForCustomer, findCreditCardPaymentInfoByCustomer, findCreditCardPaymentInfosByCustomer, findOrderByCodeAndStore, findOrderByCustomerAndCodeAndStore, findOrderByGUIDAndStore, findReturnRequestsByCustomerAndStore, getFilterOrderStatusList, getFilterReturnStatusList, getPagedFlexibleSearchService, setFilterOrderStatusList, setFilterReturnStatusList, setPagedFlexibleSearchService
-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findOrdersByCustomerAndStore
@Nonnull public java.util.List<OrderModel> findOrdersByCustomerAndStore(@Nonnull CustomerModel customerModel, @Nonnull BaseStoreModel store, @Nullable OrderStatus[] status)
Description copied from interface:CustomerAccountDaoFinds orders for the specified user in the current session's active catalog versions- Specified by:
findOrdersByCustomerAndStorein interfaceCustomerAccountDao- Overrides:
findOrdersByCustomerAndStorein classDefaultCustomerAccountDao- Parameters:
customerModel- the customerstore- The current storestatus- A list of order statuses to include in the result, if null or empty then all statuses are included- Returns:
- The list of orders owned by the customer associated with the store
-
findOrdersByCustomerAndStore
@Nonnull public SearchPageData<OrderModel> findOrdersByCustomerAndStore(@Nonnull CustomerModel customerModel, @Nonnull BaseStoreModel store, @Nullable OrderStatus[] status, @Nonnull PageableData pageableData)
Description copied from interface:CustomerAccountDaoFinds orders for the specified user in the current session's active catalog versions- Specified by:
findOrdersByCustomerAndStorein interfaceCustomerAccountDao- Overrides:
findOrdersByCustomerAndStorein classDefaultCustomerAccountDao- Parameters:
customerModel- the customerstore- The current storestatus- A list of order statuses to include in the result, if null or empty then all statuses are includedpageableData- The pagination data- Returns:
- The list of orders owned by the customer associated with the store
-
-