Class DefaultCustomerGroupDao
java.lang.Object
de.hybris.platform.commerceservices.search.dao.impl.DefaultPagedGenericDao<CustomerModel>
de.hybris.platform.assistedserviceservices.dao.impl.DefaultCustomerGroupDao
- All Implemented Interfaces:
CustomerGroupDao,PagedGenericDao<CustomerModel>
public class DefaultCustomerGroupDao
extends DefaultPagedGenericDao<CustomerModel>
implements CustomerGroupDao
Concrete implementation for the customer group Dao
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final Stringprotected static final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringcreateQuery(String... queryClauses) <T extends CustomerModel>
SearchPageData<T>findAllCustomersByConsignmentsInPointOfServices(List<PointOfServiceModel> poses, PageableData pageableData) Get paginated customers for specific pos-list where customer have a consignment.<T extends CustomerModel>
SearchPageData<T>findAllCustomersByGroups(List<UserGroupModel> groups, PageableData pageableData) Get paginated customers for specific customer listprotected Stringprotected TimeServicevoidsetTimeService(TimeService timeService) Methods inherited from class de.hybris.platform.commerceservices.search.dao.impl.DefaultPagedGenericDao
appendOrderByClausesToBuilder, appendWhereClausesToBuilder, createFlexibleSearchQuery, createFlexibleSearchQuery, createFlexibleSearchQuery, createFlexibleSearchQuery, createFlexibleSearchQuery, createFlexibleSearchQuery, createQueryString, createSortQueryData, createSortQueryData, createSortQueryData, find, find, find, find, getPagedFlexibleSearchService, setPagedFlexibleSearchService
-
Field Details
-
SORT_BY_NAME_ASC
- See Also:
-
SORT_BY_NAME_DESC
- See Also:
-
SORT_BY_ODER_DATE_ASC
- See Also:
-
SORT_BY_ORDER_DATE_DESC
- See Also:
-
SORT_BY_CREATIONTIME_DESC
- See Also:
-
GROUPS_UID
- See Also:
-
CURRENTDATE
- See Also:
-
DELIVERY_STATUS
- See Also:
-
LOGINDISABLED_PARAMETER
- See Also:
-
-
Constructor Details
-
DefaultCustomerGroupDao
-
-
Method Details
-
findAllCustomersByGroups
public <T extends CustomerModel> SearchPageData<T> findAllCustomersByGroups(List<UserGroupModel> groups, PageableData pageableData) Description copied from interface:CustomerGroupDaoGet paginated customers for specific customer list- Specified by:
findAllCustomersByGroupsin interfaceCustomerGroupDao- Parameters:
groups- groups that we want to get customers forpageableData- paging information- Returns:
- customer model search page data
-
findAllCustomersByConsignmentsInPointOfServices
public <T extends CustomerModel> SearchPageData<T> findAllCustomersByConsignmentsInPointOfServices(List<PointOfServiceModel> poses, PageableData pageableData) Description copied from interface:CustomerGroupDaoGet paginated customers for specific pos-list where customer have a consignment.- Specified by:
findAllCustomersByConsignmentsInPointOfServicesin interfaceCustomerGroupDao- Parameters:
poses- POS-es with employee belongs topageableData- paging information- Returns:
- customer model search page data
-
createQuery
-
getDeliveryStatus
-
getTimeService
-
setTimeService
-