Class DefaultTuaPartyBillService
java.lang.Object
de.hybris.platform.billmanagementservices.services.impl.DefaultTuaPartyBillService
- All Implemented Interfaces:
TuaPartyBillService
Default implementation of
TuaPartyBillService.- Since:
- 2208
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTuaPartyBillService(TuaPartyBillDao partyBillDao) DefaultTuaPartyBillService(TuaPartyBillDao partyBillDao, de.hybris.platform.servicelayer.model.ModelService modelService) -
Method Summary
Modifier and TypeMethodDescriptionprotected de.hybris.platform.servicelayer.model.ModelServicegetNumberOfPartyBillsFor(BmPartyBillContext bmPartyBillContext) Retrieves the total number of party bills found for a given bmPartyBillContext.getPartyBill(String partyBillNo) Returns aTuaPartyBillModelfor the given party bill no.protected TuaPartyBillDaogetPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Returns a list ofTuaPartyBillModels for the given context.voidsavePartyBill(TuaPartyBillModel partyBill) Saves the givenTuaPartyBillModel.
-
Constructor Details
-
DefaultTuaPartyBillService
-
DefaultTuaPartyBillService
public DefaultTuaPartyBillService(TuaPartyBillDao partyBillDao, de.hybris.platform.servicelayer.model.ModelService modelService)
-
-
Method Details
-
getPartyBill
Description copied from interface:TuaPartyBillServiceReturns aTuaPartyBillModelfor the given party bill no.- Specified by:
getPartyBillin interfaceTuaPartyBillService- Parameters:
partyBillNo- party bill no ofTuaPartyBillModel- Returns:
- the
TuaPartyBillModelfound.
-
getPartyBills
public List<TuaPartyBillModel> getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Description copied from interface:TuaPartyBillServiceReturns a list ofTuaPartyBillModels for the given context.- Specified by:
getPartyBillsin interfaceTuaPartyBillService- Parameters:
bmPartyBillContext- the party bill context, used for filtering the party bills.offset- 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:TuaPartyBillServiceRetrieves the total number of party bills found for a given bmPartyBillContext.- Specified by:
getNumberOfPartyBillsForin interfaceTuaPartyBillService- Parameters:
bmPartyBillContext- the party bill context.- Returns:
- the number of party bills found.
-
savePartyBill
Description copied from interface:TuaPartyBillServiceSaves the givenTuaPartyBillModel.- Specified by:
savePartyBillin interfaceTuaPartyBillService- Parameters:
partyBill- the partyBill- Since:
- 2302
-
getPartyBillDao
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()
-