Class DefaultTuaBillingCycleSpecificationService
java.lang.Object
de.hybris.platform.billingaccountservices.services.impl.DefaultTuaBillingCycleSpecificationService
- All Implemented Interfaces:
TuaBillingCycleSpecificationService
public class DefaultTuaBillingCycleSpecificationService
extends Object
implements TuaBillingCycleSpecificationService
Default implementation of
TuaBillingCycleSpecificationService.- Since:
- 2302
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultTuaBillingCycleSpecificationService(TuaBillingCycleSpecificationDao tuaBillingCycleSpecificationDao, de.hybris.platform.servicelayer.model.ModelService modelService) -
Method Summary
Modifier and TypeMethodDescriptionCreates an instance ofTuaBillingCycleSpecificationModel.getBillingCycleSpecification(String billingCycleSpecificationId) Returns aTuaBillingCycleSpecificationModelfor the given billing cycle specification id.getBillingCycleSpecifications(Integer offset, Integer limit) Returns a list ofTuaBillingCycleSpecificationModels for the given context.protected de.hybris.platform.servicelayer.model.ModelServiceRetrieves the total number of billing cycle specifications.protected TuaBillingCycleSpecificationDaovoidremoveBillingCycleSpecification(TuaBillingCycleSpecificationModel billingCycleSpecification) Removes the givenTuaBillingCycleSpecificationModelvoidsaveBillingCycleSpecification(TuaBillingCycleSpecificationModel billingCycleSpecification) Saves the givenTuaBillingCycleSpecificationModel.
-
Constructor Details
-
DefaultTuaBillingCycleSpecificationService
public DefaultTuaBillingCycleSpecificationService(TuaBillingCycleSpecificationDao tuaBillingCycleSpecificationDao, de.hybris.platform.servicelayer.model.ModelService modelService)
-
-
Method Details
-
getBillingCycleSpecifications
public List<TuaBillingCycleSpecificationModel> getBillingCycleSpecifications(Integer offset, Integer limit) Description copied from interface:TuaBillingCycleSpecificationServiceReturns a list ofTuaBillingCycleSpecificationModels for the given context.- Specified by:
getBillingCycleSpecificationsin interfaceTuaBillingCycleSpecificationService- Parameters:
offset- the offset.limit- the maximum number of returned billing cycle specifications.- Returns:
- the List of
TuaBillingCycleSpecificationModels found for the given context.
-
getNumberOfBillingCycleSpecifications
Description copied from interface:TuaBillingCycleSpecificationServiceRetrieves the total number of billing cycle specifications.- Specified by:
getNumberOfBillingCycleSpecificationsin interfaceTuaBillingCycleSpecificationService- Returns:
- the number of billing cycle specifications found.
-
getBillingCycleSpecification
public TuaBillingCycleSpecificationModel getBillingCycleSpecification(String billingCycleSpecificationId) Description copied from interface:TuaBillingCycleSpecificationServiceReturns aTuaBillingCycleSpecificationModelfor the given billing cycle specification id.- Specified by:
getBillingCycleSpecificationin interfaceTuaBillingCycleSpecificationService- Parameters:
billingCycleSpecificationId- billing cycle specification id ofTuaBillingCycleSpecificationModel- Returns:
- the
TuaBillingCycleSpecificationModelfound.
-
createBillingCycleSpecification
Description copied from interface:TuaBillingCycleSpecificationServiceCreates an instance ofTuaBillingCycleSpecificationModel.- Specified by:
createBillingCycleSpecificationin interfaceTuaBillingCycleSpecificationService- Returns:
- the newly created model.
-
removeBillingCycleSpecification
public void removeBillingCycleSpecification(TuaBillingCycleSpecificationModel billingCycleSpecification) Description copied from interface:TuaBillingCycleSpecificationServiceRemoves the givenTuaBillingCycleSpecificationModel- Specified by:
removeBillingCycleSpecificationin interfaceTuaBillingCycleSpecificationService- Parameters:
billingCycleSpecification- the billingCycleSpecification.
-
saveBillingCycleSpecification
public void saveBillingCycleSpecification(TuaBillingCycleSpecificationModel billingCycleSpecification) Description copied from interface:TuaBillingCycleSpecificationServiceSaves the givenTuaBillingCycleSpecificationModel.- Specified by:
saveBillingCycleSpecificationin interfaceTuaBillingCycleSpecificationService- Parameters:
billingCycleSpecification- the billingCycleSpecification.
-
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService() -
getTuaBillingCycleSpecificationDao
-