Interface TuaPartyBillService
- All Known Implementing Classes:
DefaultTuaPartyBillService
public interface TuaPartyBillService
Service responsible for handling
TuaPartyBillModel related operations.- Since:
- 2208
-
Method Summary
Modifier and TypeMethodDescriptiongetNumberOfPartyBillsFor(BmPartyBillContext bmPartyBillContext) Retrieves the total number of party bills found for a given bmPartyBillContext.getPartyBill(String partyBillNo) Returns aTuaPartyBillModelfor the given party bill no.getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Returns a list ofTuaPartyBillModels for the given context.
-
Method Details
-
getPartyBill
Returns aTuaPartyBillModelfor the given party bill no.- Parameters:
partyBillNo- party bill no ofTuaPartyBillModel- Returns:
- the
TuaPartyBillModelfound.
-
getPartyBills
List<TuaPartyBillModel> getPartyBills(BmPartyBillContext bmPartyBillContext, Integer offset, Integer limit) Returns a list ofTuaPartyBillModels for the given context.- 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
Retrieves the total number of party bills found for a given bmPartyBillContext.- Parameters:
bmPartyBillContext- the party bill context.- Returns:
- the number of party bills found.
-