Interface B2BBudgetFacade
-
- All Superinterfaces:
SearchFacade<B2BBudgetData,BudgetSearchStateData>
- All Known Subinterfaces:
BudgetFacade
- All Known Implementing Classes:
DefaultB2BBudgetFacade,DefaultB2BBudgetFacade
public interface B2BBudgetFacade extends SearchFacade<B2BBudgetData,BudgetSearchStateData>
Facade for managing budgets.- Since:
- 6.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddBudget(B2BBudgetData budgetData)Adds a new budget based on the givenB2BBudgetData.voidenableDisableBudget(java.lang.String budgetCode, boolean active)Enables or disables the budget with the given code.B2BBudgetDatagetBudgetDataForCode(java.lang.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 Detail
-
getBudgetDataForCode
B2BBudgetData getBudgetDataForCode(java.lang.String budgetCode)
ReturnsB2BBudgetDatafor the given code.- Parameters:
budgetCode- the budget code- Returns:
B2BBudgetDataholding the budget details
-
addBudget
void addBudget(B2BBudgetData budgetData)
Adds a new budget based on the givenB2BBudgetData.- Parameters:
budgetData-B2BBudgetDataholding the details of the budget to create
-
enableDisableBudget
void enableDisableBudget(java.lang.String budgetCode, boolean active)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
void updateBudget(B2BBudgetData budgetData)
Updates budget details based on the givenB2BBudgetData.- Parameters:
budgetData-B2BBudgetDataholding the update information
-
-