Class DefaultOrgUnitDao<T extends OrgUnitModel>

java.lang.Object
de.hybris.platform.commerceservices.search.dao.impl.DefaultPagedGenericDao<T>
de.hybris.platform.commerceservices.organization.daos.impl.DefaultOrgUnitDao<T>
All Implemented Interfaces:
OrgUnitDao<T>, PagedGenericDao<T>
Direct Known Subclasses:
DefaultB2BOrgUnitDao

public class DefaultOrgUnitDao<T extends OrgUnitModel> extends DefaultPagedGenericDao<T> implements OrgUnitDao<T>
Default implementation of the OrgUnitDao interface extending DefaultPagedGenericDao.
  • Field Details

    • QUOTE_DISTINCT_CODE_MAX_VERSION_QUERY

      protected static final String QUOTE_DISTINCT_CODE_MAX_VERSION_QUERY
      Sub-query that makes sure only the latest version for each distinct quote code is returned.
      See Also:
    • QUOTE_TO_EMPLOYEE_JOINS

      protected static final String QUOTE_TO_EMPLOYEE_JOINS
      Joining the quote table with other tables (e.g. PrincipipalGroupRelation), so that all quotes associated to the employee's organizational units can be resolved.
      See Also:
    • QUOTE_FOR_EMPLOYEE_QUERY_FORMAT

      protected static final String QUOTE_FOR_EMPLOYEE_QUERY_FORMAT
      Query template to retrieve quotes associated to an employee. Takes a JOIN statement used to define the relation between quote and employee as a first argument and an additional clause to narrow down the result set as a second argument.
      See Also:
  • Constructor Details

    • DefaultOrgUnitDao

      public DefaultOrgUnitDao(String typeCode)
  • Method Details