Interface TuaBillFormatService
- All Known Implementing Classes:
DefaultTuaBillFormatService
public interface TuaBillFormatService
Service responsible for handling
TuaBillFormatModel related operations.- Since:
- 2302
-
Method Summary
Modifier and TypeMethodDescriptionCreates an instance ofTuaBillFormatModel.getBillFormat(String billFormatId) Returns aTuaBillFormatModelfor the given bill format id.getBillFormats(Integer offset, Integer limit) Returns a list ofTuaBillFormatModels for the given context.Retrieves the total number of bill formats.voidremoveBillFormat(TuaBillFormatModel billFormat) Removes the givenTuaBillFormatModelvoidsaveBillFormat(TuaBillFormatModel billFormat) Saves the givenTuaBillFormatModel.
-
Method Details
-
getBillFormat
Returns aTuaBillFormatModelfor the given bill format id.- Parameters:
billFormatId- bill format id ofTuaBillFormatModel- Returns:
- the
TuaBillFormatModelfound.
-
getBillFormats
Returns a list ofTuaBillFormatModels for the given context.- Parameters:
offset- the offset.limit- the maximum number of returned bill formats.- Returns:
- the List of
TuaBillFormatModels found for the given context.
-
getNumberOfBillFormats
Integer getNumberOfBillFormats()Retrieves the total number of bill formats.- Returns:
- the number of bill formats.
-
createBillFormat
TuaBillFormatModel createBillFormat()Creates an instance ofTuaBillFormatModel.- Returns:
- the newly created model.
-
removeBillFormat
Removes the givenTuaBillFormatModel- Parameters:
billFormat- the billFormat.
-
saveBillFormat
Saves the givenTuaBillFormatModel.- Parameters:
billFormat- the billFormat.
-