Class ChineseTaxInvoiceDao
- java.lang.Object
-
- de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
-
- de.hybris.platform.chinesetaxinvoiceservices.daos.impl.ChineseTaxInvoiceDao
-
- All Implemented Interfaces:
TaxInvoiceDao,Dao
public class ChineseTaxInvoiceDao extends AbstractItemDao implements TaxInvoiceDao
-
-
Field Summary
-
Fields inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
flexibleSearchService, modelService
-
-
Constructor Summary
Constructors Constructor Description ChineseTaxInvoiceDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TaxInvoiceModelfindInvoiceByCode(java.lang.String code)Query by PK.TaxInvoiceModelfindInvoiceByOrder(java.lang.String orderCode)Query by order.TaxInvoiceModelfindInvoiceBySerialCode(java.lang.String serialCode)Query by serialCodejava.util.List<TaxInvoiceModel>findInvoicesByCustomer(CustomerModel customer)Query all TaxInvoiceModel of a Customer.-
Methods inherited from class de.hybris.platform.servicelayer.internal.dao.AbstractItemDao
getAllSources, getFlexibleSearchService, getModelService, getSource, load, loadAll, search, search, searchUnique, setFlexibleSearchService, setModelService
-
-
-
-
Method Detail
-
findInvoiceByCode
public TaxInvoiceModel findInvoiceByCode(java.lang.String code)
Description copied from interface:TaxInvoiceDaoQuery by PK.- Specified by:
findInvoiceByCodein interfaceTaxInvoiceDao- Parameters:
code- PK- Returns:
- TaxInvoiceModel
-
findInvoiceBySerialCode
public TaxInvoiceModel findInvoiceBySerialCode(java.lang.String serialCode)
Description copied from interface:TaxInvoiceDaoQuery by serialCode- Specified by:
findInvoiceBySerialCodein interfaceTaxInvoiceDao- Parameters:
serialCode- SerialCode of TaxInvoiceModel.- Returns:
- TaxInvoiceModel
-
findInvoiceByOrder
public TaxInvoiceModel findInvoiceByOrder(java.lang.String orderCode)
Description copied from interface:TaxInvoiceDaoQuery by order.- Specified by:
findInvoiceByOrderin interfaceTaxInvoiceDao- Parameters:
orderCode- OrderCode of an order.- Returns:
- TaxInvoiceModel
-
findInvoicesByCustomer
public java.util.List<TaxInvoiceModel> findInvoicesByCustomer(CustomerModel customer)
Description copied from interface:TaxInvoiceDaoQuery all TaxInvoiceModel of a Customer.- Specified by:
findInvoicesByCustomerin interfaceTaxInvoiceDao- Returns:
- List
-
-