Interface CompanyB2BCommerceFacade

    • Method Detail

      • getUnitForUid

        B2BUnitData getUnitForUid​(java.lang.String uid)
        Deprecated.
        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

        java.util.List<B2BUnitNodeData> getBranchNodes()
        Deprecated.
        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.
        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​(java.lang.String uid)
        Deprecated.
        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

        java.util.List<java.lang.String> getAllCurrencies()
        Deprecated.
        Get all currencies
        Returns:
        CurrencyData
      • getBusinessProcesses

        java.util.Map<java.lang.String,​java.lang.String> getBusinessProcesses()
        Deprecated.
        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.
        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​(java.lang.String budgetCode)
        Deprecated.
        Get B2BBudgetData for a given budget code
        Parameters:
        budgetCode -
        Returns:
        B2BBudgetData if found or null otherwise
      • getUserGroups

        java.util.List<java.lang.String> getUserGroups()
        Deprecated.
        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

        java.lang.String getCurrentStore()
        Deprecated.
        Get the name of the current B2BStore to which the user is logged in
        Returns:
        Name of the current B2BStore