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 Details

    • getBudgetDataForCode

      B2BBudgetData getBudgetDataForCode(String budgetCode)
      Returns B2BBudgetData for the given code.
      Parameters:
      budgetCode - the budget code
      Returns:
      B2BBudgetData holding the budget details
    • addBudget

      void addBudget(B2BBudgetData budgetData)
      Adds a new budget based on the given B2BBudgetData.
      Parameters:
      budgetData - B2BBudgetData holding the details of the budget to create
    • enableDisableBudget

      void enableDisableBudget(String budgetCode, boolean active)
      Enables or disables the budget with the given code.
      Parameters:
      budgetCode - code of the budget to be enabled/disabled
      active - pass true to enable the budget and false to disable it
    • updateBudget

      void updateBudget(B2BBudgetData budgetData)
      Updates budget details based on the given B2BBudgetData.
      Parameters:
      budgetData - B2BBudgetData holding the update information