Package de.hybris.platform.b2b.dao.impl
Class DefaultB2BOrgUnitDao<T extends OrgUnitModel>
java.lang.Object
de.hybris.platform.commerceservices.search.dao.impl.DefaultPagedGenericDao<T>
de.hybris.platform.commerceservices.organization.daos.impl.DefaultOrgUnitDao<T>
de.hybris.platform.b2b.dao.impl.DefaultB2BOrgUnitDao<T>
- All Implemented Interfaces:
OrgUnitDao<T>,PagedGenericDao<T>
Overrides the implementation of commerceservice's
DefaultOrgUnitDao.getQuoteForEmployeeQuery() method by
using B2B specific B2B_QUOTE_TO_EMPLOYEE_JOINS clause to build a query string.-
Field Summary
FieldsFields inherited from class de.hybris.platform.commerceservices.organization.daos.impl.DefaultOrgUnitDao
QUOTE_DISTINCT_CODE_MAX_VERSION_QUERY, QUOTE_FOR_EMPLOYEE_QUERY_FORMAT, QUOTE_TO_EMPLOYEE_JOINS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected StringOverrides to use B2B hierarchy join clause in the query.Methods inherited from class de.hybris.platform.commerceservices.organization.daos.impl.DefaultOrgUnitDao
findAllUnits, findMembersOfType, findMembersOfType, findQuotesForEmployee, findRootUnits, getModelService, setModelServiceMethods 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, setPagedFlexibleSearchServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.commerceservices.search.dao.PagedGenericDao
find, find, find, find
-
Field Details
-
B2B_QUOTE_TO_EMPLOYEE_JOINS
- See Also:
-
-
Constructor Details
-
DefaultB2BOrgUnitDao
-
-
Method Details
-
getQuoteForEmployeeQuery
Overrides to use B2B hierarchy join clause in the query. Joining the quote table with other tables (e.g. PrincipipalGroupRelation), so that all quotes associated to the employee's organizational units can be resolved.- Overrides:
getQuoteForEmployeeQueryin classDefaultOrgUnitDao<T extends OrgUnitModel>
-