Class DefaultBaBillingAccountService
java.lang.Object
de.hybris.platform.billingaccountservices.services.impl.DefaultBaBillingAccountService
- All Implemented Interfaces:
BaBillingAccountService
@Deprecated(since="2208")
public class DefaultBaBillingAccountService
extends Object
implements BaBillingAccountService
Deprecated.
2208
Default implementation of
BaBillingAccountService.- Since:
- 2105
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultBaBillingAccountService(BaGenericSearchDao billingAccountSearchDao, BaBillingAccountDao billingAccountDao, de.hybris.platform.servicelayer.model.ModelService modelService) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptioncreateBillingAccount(Class billingAccountClass) Deprecated.Creates an instance ofBaAccountModelsubtype.getBillingAccount(String billingAccountId) Deprecated.Returns aBaAccountModelfor the given id.protected BaBillingAccountDaoDeprecated.getBillingAccounts(BaBillingAccountContext billingAccountContext, Integer offset, Integer limit) Deprecated.Returns a list ofBaAccountModels for the given context.protected BaGenericSearchDaoDeprecated.protected de.hybris.platform.servicelayer.model.ModelServiceDeprecated.getNumberOfBillingAccountsFor(BaBillingAccountContext billingAccountContext) Deprecated.Retrieves the total number of billing accounts found for a given billingAccountContext.voidremoveBillingAccount(BaAccountModel billingAccount) Deprecated.Removes the givenBaAccountModelvoidsaveBillingAccount(BaAccountModel billingAccountModel) Deprecated.Saves the givenBaAccountModel.
-
Constructor Details
-
DefaultBaBillingAccountService
public DefaultBaBillingAccountService(BaGenericSearchDao billingAccountSearchDao, BaBillingAccountDao billingAccountDao, de.hybris.platform.servicelayer.model.ModelService modelService) Deprecated.
-
-
Method Details
-
getBillingAccount
Deprecated.Description copied from interface:BaBillingAccountServiceReturns aBaAccountModelfor the given id.- Specified by:
getBillingAccountin interfaceBaBillingAccountService- Parameters:
billingAccountId- identifier ofBaAccountModel- Returns:
- the
BaAccountModelfound.
-
getBillingAccounts
public List<BaAccountModel> getBillingAccounts(BaBillingAccountContext billingAccountContext, Integer offset, Integer limit) Deprecated.Description copied from interface:BaBillingAccountServiceReturns a list ofBaAccountModels for the given context.- Specified by:
getBillingAccountsin interfaceBaBillingAccountService- Parameters:
billingAccountContext- the billing account context, used for filtering of accounts.offset- the offset.limit- the maximum number of returned billing accounts.- Returns:
- the List of
BaAccountModels found for the given context.
-
getNumberOfBillingAccountsFor
Deprecated.Description copied from interface:BaBillingAccountServiceRetrieves the total number of billing accounts found for a given billingAccountContext.- Specified by:
getNumberOfBillingAccountsForin interfaceBaBillingAccountService- Parameters:
billingAccountContext- the billing account context.- Returns:
- the number of products found.
-
saveBillingAccount
Deprecated.Description copied from interface:BaBillingAccountServiceSaves the givenBaAccountModel.- Specified by:
saveBillingAccountin interfaceBaBillingAccountService- Parameters:
billingAccountModel- the given billing account.
-
createBillingAccount
Deprecated.Description copied from interface:BaBillingAccountServiceCreates an instance ofBaAccountModelsubtype.- Specified by:
createBillingAccountin interfaceBaBillingAccountService- Parameters:
billingAccountClass- the class of theBaAccountModelsubtype.- Returns:
- the newly created model.
-
removeBillingAccount
Deprecated.Description copied from interface:BaBillingAccountServiceRemoves the givenBaAccountModel- Specified by:
removeBillingAccountin interfaceBaBillingAccountService- Parameters:
billingAccount- the billingAccount.
-
getGenericSearchDao
Deprecated. -
getBillingAccountDao
Deprecated. -
getModelService
protected de.hybris.platform.servicelayer.model.ModelService getModelService()Deprecated.
-