Class DefaultTuaPartyBillDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaPartyBillModel>
de.hybris.platform.billmanagementservices.daos.impl.DefaultTuaPartyBillDao
- All Implemented Interfaces:
TuaPartyBillDao,de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyBillModel>
public class DefaultTuaPartyBillDao
extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaPartyBillModel>
implements TuaPartyBillDao
Default implementation of
TuaPartyBillDao.- Since:
- 2208.
-
Constructor Summary
Constructors -
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 class de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao
find, find, find, find, find, getFlexibleSearchService, setFlexibleSearchServiceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.servicelayer.internal.dao.GenericDao
find, find, find, find, find
-
Constructor Details
-
DefaultTuaPartyBillDao
public DefaultTuaPartyBillDao()
-
-
Method Details
-
findUnique
Description copied from interface:TuaPartyBillDaoSearches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.- Specified by:
findUniquein interfaceTuaPartyBillDao- Parameters:
params-Mapcontaining name-value pairs used for identifying the unique model- Returns:
- model for given parameter
-
getPartyBills
public List<TuaPartyBillModel> getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Description copied from interface:TuaPartyBillDaoReturns a list ofTuaPartyBillModels for the given context.- Specified by:
getPartyBillsin interfaceTuaPartyBillDao- 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
Description copied from interface:TuaPartyBillDaoRetrieves the total number of party bills found for a given partyBillContext.- Specified by:
getNumberOfPartyBillsForin interfaceTuaPartyBillDao- Parameters:
bmPartyBillContext- the party bill context.- Returns:
- the number of party bills found.
-