Interface CompanyB2BCommerceFacade

All Known Implementing Classes:
DefaultB2BCommerceB2BUserGroupFacade, DefaultB2BCommerceBudgetFacade, DefaultB2BCommerceCostCenterFacade, DefaultB2BCommercePermissionFacade, DefaultB2BCommerceUnitFacade, DefaultB2BCommerceUserFacade, DefaultCompanyB2BCommerceFacade

@Deprecated(since="6.0", forRemoval=true) public interface CompanyB2BCommerceFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Facade which services organization management.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get all currencies
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets a list of B2BUnitNodeData representing each unit in the branch based on the session customer
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get B2BBudgetData for a given budget code
    Deprecated, for removal: This API element is subject to removal in a future version.
    Get a collection of available business processes for OrderApproval
    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
    Deprecated, for removal: This API element is subject to removal in a future version.
    Find a B2BCustomer based on a uid
    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
    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 via B2BUnitNodeData.getChildren()
    Deprecated, for removal: This API element is subject to removal in a future version.
    Gets a business unit based on unique identifier
    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
  • Method Details

    • getUnitForUid

      B2BUnitData getUnitForUid(String uid)
      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 of B2BUnitNodeData representing 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 via B2BUnitNodeData.getChildren()
      Returns:
      A business unit assigned to the session customer
    • getCustomerForUid

      CustomerData getCustomerForUid(String uid)
      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 a B2BCustomerModel
      Returns:
      A customer data object or null if a customer with uid does not exist
    • getAllCurrencies

      List<String> getAllCurrencies()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get all currencies
      Returns:
      CurrencyData
    • getBusinessProcesses

      Map<String,String> 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

      SearchPageData<B2BBudgetData> getPagedBudgets(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 CostCenters
      Parameters:
      pageableData -
      Returns:
      SearchPageData of found budgets (could be empty)
    • getBudgetDataForCode

      B2BBudgetData getBudgetDataForCode(String budgetCode)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get B2BBudgetData for a given budget code
      Parameters:
      budgetCode -
      Returns:
      B2BBudgetData if found or null otherwise
    • getUserGroups

      List<String> 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.UID a 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