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 theTaxModel
s with the specified code.java.util.List<TaxModel>
findTaxesByCodePattern(java.lang.String matchedCode)
Finds allTaxModel
s 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:TaxDao
Finds theTaxModel
s with the specified code.- Specified by:
findTaxesByCode
in interfaceTaxDao
- Parameters:
code
- the tax code- Returns:
- the List of found
TaxModel
s ordered by creation time.
-
findTaxesByCodePattern
public java.util.List<TaxModel> findTaxesByCodePattern(java.lang.String matchedCode)
Description copied from interface:TaxDao
Finds allTaxModel
s which match the specified code.- Specified by:
findTaxesByCodePattern
in interfaceTaxDao
- Parameters:
matchedCode
- an SQL-Like statement as String, such as %taxCode%- Returns:
- the
List
of allTaxModel
s which match the specified code
-
-