Class DefaultB2BBudgetFacade
java.lang.Object
de.hybris.platform.b2bacceleratorfacades.company.refactoring.impl.DefaultB2BBudgetFacade
- All Implemented Interfaces:
BudgetFacade,B2BBudgetFacade,SearchFacade<B2BBudgetData,BudgetSearchStateData>
@Deprecated(since="6.0",
forRemoval=true)
public class DefaultB2BBudgetFacade
extends Object
implements BudgetFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Default implementation of the
BudgetFacade interface.-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddBudget(B2BBudgetData b2BBudgetData) Deprecated, for removal: This API element is subject to removal in a future version.Adds a new budget based on the givenB2BBudgetData.autocomplete(BudgetSearchStateData searchState) Deprecated, for removal: This API element is subject to removal in a future version.Get the auto complete suggestions for the provided input.protected <S,T> SearchPageData<T> convertPageData(SearchPageData<S> source, Converter<S, T> converter) Deprecated, for removal: This API element is subject to removal in a future version.voidenableDisableBudget(String b2BudgetCode, boolean active) Deprecated, for removal: This API element is subject to removal in a future version.Enables or disables the budget with the given code.protected Converter<B2BBudgetModel,B2BBudgetData> Deprecated, for removal: This API element is subject to removal in a future version.protected B2BBudgetReversePopulatorDeprecated, for removal: This API element is subject to removal in a future version.protected B2BCommerceBudgetServiceDeprecated, for removal: This API element is subject to removal in a future version.protected Converter<B2BCostCenterModel,B2BCostCenterData> Deprecated, for removal: This API element is subject to removal in a future version.getBudgetDataForCode(String budgetCode) Deprecated, for removal: This API element is subject to removal in a future version.ReturnsB2BBudgetDatafor the given code.protected B2BCostCenterFacadeDeprecated, for removal: This API element is subject to removal in a future version.protected ModelServiceDeprecated, for removal: This API element is subject to removal in a future version.search(BudgetSearchStateData searchState, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Searches for the ITEM's based on the search state.voidsetB2bBudgetConverter(Converter<B2BBudgetModel, B2BBudgetData> b2bBudgetConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bBudgetReversePopulator(B2BBudgetReversePopulator b2bBudgetReversePopulator) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bCommerceBudgetService(B2BCommerceBudgetService b2bCommerceBudgetService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bCostCenterConverter(Converter<B2BCostCenterModel, B2BCostCenterData> b2bCostCenterConverter) Deprecated, for removal: This API element is subject to removal in a future version.voidsetCostCenterFacade(B2BCostCenterFacade costCenterFacade) Deprecated, for removal: This API element is subject to removal in a future version.voidsetModelService(ModelService modelService) Deprecated, for removal: This API element is subject to removal in a future version.voidupdateBudget(B2BBudgetData b2BBudgetData) Deprecated, for removal: This API element is subject to removal in a future version.Updates budget details based on the givenB2BBudgetData.
-
Constructor Details
-
DefaultB2BBudgetFacade
public DefaultB2BBudgetFacade()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getBudgetDataForCode
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BBudgetFacadeReturnsB2BBudgetDatafor the given code.- Specified by:
getBudgetDataForCodein interfaceB2BBudgetFacade- Parameters:
budgetCode- the budget code- Returns:
B2BBudgetDataholding the budget details
-
updateBudget
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BBudgetFacadeUpdates budget details based on the givenB2BBudgetData.- Specified by:
updateBudgetin interfaceB2BBudgetFacade- Parameters:
b2BBudgetData-B2BBudgetDataholding the update information
-
addBudget
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BBudgetFacadeAdds a new budget based on the givenB2BBudgetData.- Specified by:
addBudgetin interfaceB2BBudgetFacade- Parameters:
b2BBudgetData-B2BBudgetDataholding the details of the budget to create
-
enableDisableBudget
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BBudgetFacadeEnables or disables the budget with the given code.- Specified by:
enableDisableBudgetin interfaceB2BBudgetFacade- Parameters:
b2BudgetCode- code of the budget to be enabled/disabledactive- pass true to enable the budget and false to disable it
-
search
public SearchPageData<B2BBudgetData> search(BudgetSearchStateData searchState, PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SearchFacadeSearches for the ITEM's based on the search state. The query object allows more complex queries using facet selection.- Specified by:
searchin interfaceSearchFacade<B2BBudgetData,BudgetSearchStateData> - Parameters:
searchState- the search query objectpageableData- the page to return- Returns:
- the search results
-
convertPageData
protected <S,T> SearchPageData<T> convertPageData(SearchPageData<S> source, Converter<S, T> converter) Deprecated, for removal: This API element is subject to removal in a future version. -
autocomplete
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:SearchFacadeGet the auto complete suggestions for the provided input.- Specified by:
autocompletein interfaceSearchFacade<B2BBudgetData,BudgetSearchStateData> - Parameters:
searchState- the search query object- Returns:
- a list of suggested search terms
-
getB2bBudgetConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bBudgetConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bCommerceBudgetService
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bCommerceBudgetService
Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bCostCenterConverter
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bCostCenterConverter
public void setB2bCostCenterConverter(Converter<B2BCostCenterModel, B2BCostCenterData> b2bCostCenterConverter) Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bBudgetReversePopulator
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bBudgetReversePopulator
Deprecated, for removal: This API element is subject to removal in a future version. -
getModelService
Deprecated, for removal: This API element is subject to removal in a future version. -
setModelService
Deprecated, for removal: This API element is subject to removal in a future version. -
getCostCenterFacade
Deprecated, for removal: This API element is subject to removal in a future version. -
setCostCenterFacade
Deprecated, for removal: This API element is subject to removal in a future version.
-
DefaultB2BBudgetFacadeinstead.