Class DefaultTuaBillFormatService
java.lang.Object
de.hybris.platform.billingaccountservices.services.impl.DefaultTuaBillFormatService
- All Implemented Interfaces:
TuaBillFormatService
Default implementation of
TuaBillFormatService.- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTuaBillFormatService(TuaBillFormatDao tuaBillFormatDao, de.hybris.platform.servicelayer.model.ModelService modelService) -
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.protected de.hybris.platform.servicelayer.model.ModelServiceRetrieves the total number of bill formats.protected TuaBillFormatDaovoidremoveBillFormat(TuaBillFormatModel billFormat) Removes the givenTuaBillFormatModelvoidsaveBillFormat(TuaBillFormatModel billFormat) Saves the givenTuaBillFormatModel.
-
Constructor Details
-
DefaultTuaBillFormatService
public DefaultTuaBillFormatService(TuaBillFormatDao tuaBillFormatDao, de.hybris.platform.servicelayer.model.ModelService modelService)
-
-
Method Details
-
getBillFormat
Description copied from interface:TuaBillFormatServiceReturns aTuaBillFormatModelfor the given bill format id.- Specified by:
getBillFormatin interfaceTuaBillFormatService- Parameters:
billFormatId- bill format id ofTuaBillFormatModel- Returns:
- the
TuaBillFormatModelfound.
-
getBillFormats
Description copied from interface:TuaBillFormatServiceReturns a list ofTuaBillFormatModels for the given context.- Specified by:
getBillFormatsin interfaceTuaBillFormatService- Parameters:
offset- the offset.limit- the maximum number of returned bill formats.- Returns:
- the List of
TuaBillFormatModels found for the given context.
-
getNumberOfBillFormats
Description copied from interface:TuaBillFormatServiceRetrieves the total number of bill formats.- Specified by:
getNumberOfBillFormatsin interfaceTuaBillFormatService- Returns:
- the number of bill formats.
-
createBillFormat
Description copied from interface:TuaBillFormatServiceCreates an instance ofTuaBillFormatModel.- Specified by:
createBillFormatin interfaceTuaBillFormatService- Returns:
- the newly created model.
-
removeBillFormat
Description copied from interface:TuaBillFormatServiceRemoves the givenTuaBillFormatModel- Specified by:
removeBillFormatin interfaceTuaBillFormatService- Parameters:
billFormat- the billFormat.
-
saveBillFormat
Description copied from interface:TuaBillFormatServiceSaves the givenTuaBillFormatModel.- Specified by:
saveBillFormatin interfaceTuaBillFormatService- Parameters:
billFormat- the billFormat.
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
getTuaBillFormatDao
-