Interface B2BBudgetFacade
- All Superinterfaces:
SearchFacade<B2BBudgetData,BudgetSearchStateData>
- All Known Subinterfaces:
BudgetFacade
- All Known Implementing Classes:
DefaultB2BBudgetFacade,DefaultB2BBudgetFacade
Facade for managing budgets.
- Since:
- 6.0
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddBudget(B2BBudgetData budgetData) Adds a new budget based on the givenB2BBudgetData.voidenableDisableBudget(String budgetCode, boolean active) Enables or disables the budget with the given code.getBudgetDataForCode(String budgetCode) ReturnsB2BBudgetDatafor the given code.voidupdateBudget(B2BBudgetData budgetData) Updates budget details based on the givenB2BBudgetData.Methods inherited from interface de.hybris.platform.b2bcommercefacades.search.SearchFacade
autocomplete, search
-
Method Details
-
getBudgetDataForCode
ReturnsB2BBudgetDatafor the given code.- Parameters:
budgetCode- the budget code- Returns:
B2BBudgetDataholding the budget details
-
addBudget
Adds a new budget based on the givenB2BBudgetData.- Parameters:
budgetData-B2BBudgetDataholding the details of the budget to create
-
enableDisableBudget
Enables or disables the budget with the given code.- Parameters:
budgetCode- code of the budget to be enabled/disabledactive- pass true to enable the budget and false to disable it
-
updateBudget
Updates budget details based on the givenB2BBudgetData.- Parameters:
budgetData-B2BBudgetDataholding the update information
-