Class DefaultTuaPartyBillOnDemandDao
java.lang.Object
de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaPartyBillOnDemandModel>
de.hybris.platform.billmanagementservices.daos.impl.DefaultTuaPartyBillOnDemandDao
- All Implemented Interfaces:
TuaPartyBillOnDemandDao,de.hybris.platform.servicelayer.internal.dao.GenericDao<TuaPartyBillOnDemandModel>
public class DefaultTuaPartyBillOnDemandDao
extends de.hybris.platform.servicelayer.internal.dao.DefaultGenericDao<TuaPartyBillOnDemandModel>
implements TuaPartyBillOnDemandDao
Default implementation of
TuaPartyBillOnDemandDao.- Since:
- 2302
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindUnique(Map<String, ?> params) Searches for a unique model based on given parameters.getNumberOfPartyBillsOnDemandFor(BmPartyBillContext bmPartyBillContext) Retrieves the total number ofTuaPartyBillOnDemandModelfound for a given partyBillContext.getPartyBillsOnDemand(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Returns a list ofTuaPartyBillOnDemandModels 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
-
DefaultTuaPartyBillOnDemandDao
public DefaultTuaPartyBillOnDemandDao()
-
-
Method Details
-
findUnique
Description copied from interface:TuaPartyBillOnDemandDaoSearches for a unique model based on given parameters. If none or multiple models are found, a specific exception will be thrown.- Specified by:
findUniquein interfaceTuaPartyBillOnDemandDao- Parameters:
params-Mapcontaining name-value pairs used for identifying the unique model- Returns:
- model for given parameter
-
getPartyBillsOnDemand
public List<TuaPartyBillOnDemandModel> getPartyBillsOnDemand(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Description copied from interface:TuaPartyBillOnDemandDaoReturns a list ofTuaPartyBillOnDemandModels for the given context.- Specified by:
getPartyBillsOnDemandin interfaceTuaPartyBillOnDemandDao- Parameters:
bmPartyBillContext- the party bill contextoffset- the offset.limit- the maximum number of returned items.- Returns:
- the List of
TuaPartyBillOnDemandModels found for the given context.
-
getNumberOfPartyBillsOnDemandFor
Description copied from interface:TuaPartyBillOnDemandDaoRetrieves the total number ofTuaPartyBillOnDemandModelfound for a given partyBillContext.- Specified by:
getNumberOfPartyBillsOnDemandForin interfaceTuaPartyBillOnDemandDao- Parameters:
bmPartyBillContext- the party bill context.- Returns:
- the number of items found.
-