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
@Deprecated(since="2105",
forRemoval=true)
public class DefaultSubscriptionCustomerAccountDao
extends DefaultCustomerAccountDao
Deprecated, for removal: This API element is subject to removal in a future version.
since 21.05
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_RMAFields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService -
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionfindOrdersByCustomerAndStore(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status) Deprecated, for removal: This API element is subject to removal in a future version.Finds orders for the specified user in the current session's active catalog versionsfindOrdersByCustomerAndStore(CustomerModel customerModel, BaseStoreModel store, OrderStatus[] status, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Finds orders for the specified user in the current session's active catalog versionsMethods inherited from class de.hybris.platform.commerceservices.customer.dao.impl.DefaultCustomerAccountDao
createQuery, createSortQueryData, findAddressBookDeliveryEntriesForCustomer, findCreditCardPaymentInfoByCustomer, findCreditCardPaymentInfosByCustomer, findOrderByCodeAndStore, findOrderByCustomerAndCodeAndStore, findOrderByGUIDAndStore, findReturnRequestsByCustomerAndStore, getConfigurationService, getFilterOrderStatusList, getFilterReturnStatusList, getFindOrdersAdditionalFilter, getPagedFlexibleSearchService, setConfigurationService, setFilterOrderStatusList, setFilterReturnStatusList, setPagedFlexibleSearchServiceMethods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
Constructor Details
-
DefaultSubscriptionCustomerAccountDao
public DefaultSubscriptionCustomerAccountDao()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
findOrdersByCustomerAndStore
@Nonnull public List<OrderModel> findOrdersByCustomerAndStore(@Nonnull CustomerModel customerModel, @Nonnull BaseStoreModel store, @Nullable OrderStatus[] status) Deprecated, for removal: This API element is subject to removal in a future version.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) Deprecated, for removal: This API element is subject to removal in a future version.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
-