Interface CostCenterFacade
- All Superinterfaces:
B2BCostCenterFacade,SearchFacade<B2BCostCenterData,SearchStateData>
@Deprecated(since="6.0",
forRemoval=true)
public interface CostCenterFacade
extends B2BCostCenterFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Interface kept for backwards compatibility reasons.
- Since:
- 5.5
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCostCenter(B2BCostCenterData b2BCostCenterData) Deprecated, for removal: This API element is subject to removal in a future version.Add cost centerdeSelectBudgetForCostCenter(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 B2UnitgetCostCenterDataForCode(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 B2UnitselectBudgetForCostCenter(String costCenterCode, String budgetCode) Deprecated, for removal: This API element is subject to removal in a future version.Select a budget for cost centervoidupdateCostCenter(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 flowMethods inherited from interface de.hybris.platform.b2bcommercefacades.search.SearchFacade
autocomplete, search
-
Method Details
-
getCostCenters
List<? extends B2BCostCenterData> getCostCenters()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 B2Unit- Specified by:
getCostCentersin interfaceB2BCostCenterFacade- Returns:
- A collection of
B2BCostCenterData
-
getActiveCostCenters
List<? extends B2BCostCenterData> getActiveCostCenters()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 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.Get view details for a given Cost center code- Specified by:
getCostCenterDataForCodein interfaceB2BCostCenterFacade- Parameters:
costCenterCode-- Returns:
- B2BCostCenterData
-
updateCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Update the cost center details for edit cost centers flow- Specified by:
updateCostCenterin interfaceB2BCostCenterFacade- Parameters:
b2BCostCenterData-B2BCostCenterData
-
addCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Add cost center- Specified by:
addCostCenterin interfaceB2BCostCenterFacade- Parameters:
b2BCostCenterData-B2BCostCenterData
-
enableDisableCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Enable/disable for a cost center. active set to true denotes enabling cost center and vice versa.- Specified by:
enableDisableCostCenterin interfaceB2BCostCenterFacade- Parameters:
costCenterCode-active-
-
selectBudgetForCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Select a budget for cost center- Specified by:
selectBudgetForCostCenterin interfaceB2BCostCenterFacade- Parameters:
costCenterCode-budgetCode-- Returns:
- the resulting
B2BSelectionData
-
deSelectBudgetForCostCenter
Deprecated, for removal: This API element is subject to removal in a future version.Deselect a budget for a cost center- Specified by:
deSelectBudgetForCostCenterin interfaceB2BCostCenterFacade- Parameters:
costCenterCode-budgetCode-- Returns:
- the resulting
B2BSelectionData
-
B2BCostCenterFacadeinstead.