Interface CompanyB2BCommerceFacade
- All Known Implementing Classes:
DefaultB2BCommerceB2BUserGroupFacade,DefaultB2BCommerceBudgetFacade,DefaultB2BCommerceCostCenterFacade,DefaultB2BCommercePermissionFacade,DefaultB2BCommerceUnitFacade,DefaultB2BCommerceUserFacade,DefaultCompanyB2BCommerceFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Facade which services organization management.
-
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Get all currenciesDeprecated, for removal: This API element is subject to removal in a future version.Gets a list ofB2BUnitNodeDatarepresenting each unit in the branch based on the session customergetBudgetDataForCode(String budgetCode) Deprecated, for removal: This API element is subject to removal in a future version.Get B2BBudgetData for a given budget codeDeprecated, for removal: This API element is subject to removal in a future version.Get a collection of available business processes for OrderApprovalDeprecated, for removal: This API element is subject to removal in a future version.Get the name of the current B2BStore to which the user is logged ingetCustomerForUid(String uid) Deprecated, for removal: This API element is subject to removal in a future version.Find a B2BCustomer based on a uidgetPagedBudgets(PageableData pageableData) Deprecated, for removal: This API element is subject to removal in a future version.Get paged B2Budgets for both Manage budgets and Select Budgets for CostCentersDeprecated, for removal: This API element is subject to removal in a future version.Gets a business unit assigned to the current session user with all the siblings retrieved viaB2BUnitNodeData.getChildren()getUnitForUid(String uid) Deprecated, for removal: This API element is subject to removal in a future version.Gets a business unit based on unique identifierDeprecated, for removal: This API element is subject to removal in a future version.A list of usergroup codes a b2b customer can be assigned to
-
Method Details
-
getUnitForUid
Deprecated, for removal: This API element is subject to removal in a future version.Gets a business unit based on unique identifier- Parameters:
uid- A unique id of a business unit.- Returns:
- A business unit or null if not found.
-
getBranchNodes
List<B2BUnitNodeData> getBranchNodes()Deprecated, for removal: This API element is subject to removal in a future version.Gets a list ofB2BUnitNodeDatarepresenting each unit in the branch based on the session customer- Returns:
- A list of units in the branch.
-
getParentUnit
B2BUnitData getParentUnit()Deprecated, for removal: This API element is subject to removal in a future version.Gets a business unit assigned to the current session user with all the siblings retrieved viaB2BUnitNodeData.getChildren()- Returns:
- A business unit assigned to the session customer
-
getCustomerForUid
Deprecated, for removal: This API element is subject to removal in a future version.Find a B2BCustomer based on a uid- Parameters:
uid- A uid of aB2BCustomerModel- Returns:
- A customer data object or null if a customer with uid does not exist
-
getAllCurrencies
Deprecated, for removal: This API element is subject to removal in a future version.Get all currencies- Returns:
- CurrencyData
-
getBusinessProcesses
Deprecated, for removal: This API element is subject to removal in a future version.Get a collection of available business processes for OrderApproval- Returns:
- A map where the key is process code and value is process name based on the current session locale
-
getPagedBudgets
Deprecated, for removal: This API element is subject to removal in a future version.Get paged B2Budgets for both Manage budgets and Select Budgets for CostCenters- Parameters:
pageableData-- Returns:
SearchPageDataof found budgets (could be empty)
-
getBudgetDataForCode
Deprecated, for removal: This API element is subject to removal in a future version.Get B2BBudgetData for a given budget code- Parameters:
budgetCode-- Returns:
B2BBudgetDataif found or null otherwise
-
getUserGroups
Deprecated, for removal: This API element is subject to removal in a future version.A list of usergroup codes a b2b customer can be assigned to- Returns:
- A list of
PrincipalModel.UIDa b2b customer can be assigned to
-
getCurrentStore
String getCurrentStore()Deprecated, for removal: This API element is subject to removal in a future version.Get the name of the current B2BStore to which the user is logged in- Returns:
- Name of the current B2BStore
-
B2BCostCenterFacade,B2BUserGroupFacade,B2BUnitFacade,B2BBudgetFacade,B2BUserFacade,B2BApprovalProcessFacade,B2BApproverFacadeandB2BPermissionFacadeinstead.