Class DefaultB2BCostCenterFacade
java.lang.Object
de.hybris.platform.b2bacceleratorfacades.company.refactoring.impl.DefaultB2BCostCenterFacade
- All Implemented Interfaces:
B2BCostCenterFacade,SearchFacade<B2BCostCenterData,SearchStateData>
@Deprecated(since="6.0",
forRemoval=true)
public class DefaultB2BCostCenterFacade
extends Object
implements B2BCostCenterFacade
Deprecated, for removal: This API element is subject to removal in a future version.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCostCenter(B2BCostCenterData b2BCostCenterData) Deprecated, for removal: This API element is subject to removal in a future version.Add cost centerautocomplete(SearchStateData 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.deSelectBudgetForCostCenter(String costCenterCode, String budgetCode) Deprecated, for removal: This API element is subject to removal in a future version.Deselect a budget for a cost centervoidenableDisableCostCenter(String costCenterCode, boolean active) Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable for a cost center.List<? extends B2BCostCenterData>Deprecated, for removal: This API element is subject to removal in a future version.Gets all visible active cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unitprotected B2BCommerceBudgetServiceDeprecated, for removal: This API element is subject to removal in a future version.protected B2BCommerceCostCenterServiceDeprecated, 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.protected B2BCostCenterReversePopulatorDeprecated, for removal: This API element is subject to removal in a future version.Deprecated, for removal: This API element is subject to removal in a future version.getCostCenterDataForCode(String costCenterCode) Deprecated, for removal: This API element is subject to removal in a future version.Get view details for a given Cost center codeList<? extends B2BCostCenterData>Deprecated, for removal: This API element is subject to removal in a future version.Gets all visible cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unitprotected ModelServiceDeprecated, for removal: This API element is subject to removal in a future version.search(SearchStateData 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.selectBudgetForCostCenter(String costCenterCode, String budgetCode) Deprecated, for removal: This API element is subject to removal in a future version.Select a budget for cost centervoidsetB2BCommerceBudgetService(B2BCommerceBudgetService b2bCommerceBudgetService) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2BCommerceCostCenterService(B2BCommerceCostCenterService b2bCommerceCostCenterService) 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.voidsetB2BCostCenterReversePopulator(B2BCostCenterReversePopulator b2bCostCenterReversePopulator) Deprecated, for removal: This API element is subject to removal in a future version.voidsetB2bCostCenterService(B2BCostCenterService<B2BCostCenterModel, B2BCustomerModel> b2BCostCenterService) 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.voidupdateCostCenter(B2BCostCenterData b2BCostCenterData) Deprecated, for removal: This API element is subject to removal in a future version.Update the cost center details for edit cost centers flow
-
Constructor Details
-
DefaultB2BCostCenterFacade
public DefaultB2BCostCenterFacade()Deprecated, for removal: This API element is subject to removal in a future version.
-
-
Method Details
-
getCostCenters
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeGets all visible cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unit- Specified by:
getCostCentersin interfaceB2BCostCenterFacade- Returns:
- A collection of
B2BCostCenterData
-
getActiveCostCenters
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeGets all visible active cost centers for the currently logged-inB2BCustomerModelbased on his parent B2Unit- Specified by:
getActiveCostCentersin interfaceB2BCostCenterFacade- Returns:
- A collection of
B2BCostCenterData
-
getCostCenterDataForCode
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeGet view details for a given Cost center code- Specified by:
getCostCenterDataForCodein interfaceB2BCostCenterFacade- Returns:
- B2BCostCenterData
-
search
public SearchPageData<B2BCostCenterData> search(SearchStateData 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<B2BCostCenterData,SearchStateData> - 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<B2BCostCenterData,SearchStateData> - Parameters:
searchState- the search query object- Returns:
- a list of suggested search terms
-
updateCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeUpdate the cost center details for edit cost centers flow- Specified by:
updateCostCenterin interfaceB2BCostCenterFacade- Parameters:
b2BCostCenterData- the b2b cost center
-
addCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeAdd cost center- Specified by:
addCostCenterin interfaceB2BCostCenterFacade- Parameters:
b2BCostCenterData- the b2b cost center
-
enableDisableCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeEnable/disable for a cost center. active set to true denotes enabling cost center and vice versa.- Specified by:
enableDisableCostCenterin interfaceB2BCostCenterFacade
-
selectBudgetForCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeSelect a budget for cost center- Specified by:
selectBudgetForCostCenterin interfaceB2BCostCenterFacade- Returns:
- the resulting
B2BSelectionData
-
deSelectBudgetForCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Description copied from interface:B2BCostCenterFacadeDeselect a budget for a cost center- Specified by:
deSelectBudgetForCostCenterin interfaceB2BCostCenterFacade- Returns:
- the resulting
B2BSelectionData
-
getB2BCommerceCostCenterService
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2BCommerceCostCenterService
public void setB2BCommerceCostCenterService(B2BCommerceCostCenterService b2bCommerceCostCenterService) Deprecated, for removal: This API element is subject to removal in a future version. -
getB2bCostCenterService
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2bCostCenterService
public void setB2bCostCenterService(B2BCostCenterService<B2BCostCenterModel, B2BCustomerModel> b2BCostCenterService) 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. -
getB2BCostCenterReversePopulator
Deprecated, for removal: This API element is subject to removal in a future version. -
setB2BCostCenterReversePopulator
public void setB2BCostCenterReversePopulator(B2BCostCenterReversePopulator b2bCostCenterReversePopulator) 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. -
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.
-
DefaultB2BCostCenterFacadeinstead.