Class DefaultTaxDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.order.daos.impl.DefaultTaxDao
-
public class DefaultTaxDao extends AbstractItemDao implements TaxDao
Default implementation of theTaxDao.
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description DefaultTaxDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<TaxModel>findTaxesByCode(java.lang.String code)Finds theTaxModels with the specified code.java.util.List<TaxModel>findTaxesByCodePattern(java.lang.String matchedCode)Finds allTaxModels which match the specified code.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findTaxesByCode
public java.util.List<TaxModel> findTaxesByCode(java.lang.String code)
Description copied from interface:TaxDaoFinds theTaxModels with the specified code.- Specified by:
findTaxesByCodein interfaceTaxDao- Parameters:
code- the tax code- Returns:
- the List of found
TaxModels ordered by creation time.
-
findTaxesByCodePattern
public java.util.List<TaxModel> findTaxesByCodePattern(java.lang.String matchedCode)
Description copied from interface:TaxDaoFinds allTaxModels which match the specified code.- Specified by:
findTaxesByCodePatternin interfaceTaxDao- Parameters:
matchedCode- an SQL-Like statement as String, such as %taxCode%- Returns:
- the
Listof allTaxModels which match the specified code
-
-