Interface TuaPartyBillDao
- All Superinterfaces:
de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyBillModel>
- All Known Implementing Classes:
DefaultTuaPartyBillDao
public interface TuaPartyBillDao
extends de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyBillModel>
Data access object for
TuaPartyBillModels.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ? extends Object> params) Searches for a unique model based on given parameters.getNumberOfPartyBillsFor(BmPartyBillContext bmPartyBillContext) Retrieves the total number of party bills found for a given partyBillContext.getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Returns a list ofTuaPartyBillModels for the given context.Methods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Method Details
-
findUnique
Searches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.- Parameters:
params-Mapcontaining name-value pairs used for identifying the unique model- Returns:
- model for given parameter
-
getPartyBills
List<TuaPartyBillModel> getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Returns a list ofTuaPartyBillModels for the given context.- Parameters:
bmPartyBillContext- the party bill contextoffset- the offset.limit- the maximum number of returned party bills.- Returns:
- the List of
TuaPartyBillModels found for the given context.
-
getNumberOfPartyBillsFor
Retrieves the total number of party bills found for a given partyBillContext.- Parameters:
bmPartyBillContext- the party bill context.- Returns:
- the number of party bills found.
-