Interface B2BCommerceUserFacade

All Superinterfaces:
B2BUserFacade
All Known Implementing Classes:
DefaultB2BCommerceUserFacade

@Deprecated(since="6.0", forRemoval=true) public interface B2BCommerceUserFacade extends B2BUserFacade
Deprecated, for removal: This API element is subject to removal in a future version.
Since 6.0. Use B2BUserFacade instead.
A facade for user management within b2b commerce Interface kept for backwards compatibility reasons.
  • Method Details

    • getPagedApproversForCustomer

      SearchPageData<CustomerData> getPagedApproversForCustomer(PageableData pageableData, String uid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the list of approvers for the customers
      Parameters:
      pageableData - pagination data
      uid - of customer
      Returns:
      get paginated list found approvers
    • addApproverForCustomer

      B2BSelectionData addApproverForCustomer(String user, String approver)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Add an approver to the customer
      Parameters:
      user - the uid of the customer
      approver - the approver uid
      Returns:
      returns the B2BSelectionData
    • removeApproverFromCustomer

      B2BSelectionData removeApproverFromCustomer(String user, String approver)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remove an existing approver to the customer
      Parameters:
      user - the uid of the customer
      approver - the approver uid
      Returns:
      returns the B2BSelectionData
    • getPagedPermissionsForCustomer

      SearchPageData<B2BPermissionData> getPagedPermissionsForCustomer(PageableData pageableData, String uid)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Gets the list of permissions of the customers
      Parameters:
      pageableData - pagination data
      uid - the uid of the customer
      Returns:
      returns the SearchPageData
    • addPermissionToCustomer

      B2BSelectionData addPermissionToCustomer(String user, String permission)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Add a permission to a customer
      Parameters:
      user - the uid of the customer
      permission - the code of the permission
      Returns:
      returns the B2BSelectionData
    • removePermissionFromCustomer

      B2BSelectionData removePermissionFromCustomer(String user, String permission)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remove a permission from a customer
      Parameters:
      user - the uid of the customer
      permission - the code of the permission
      Returns:
      returns the B2BSelectionData
    • getPagedB2BUserGroupsForCustomer

      SearchPageData<B2BUserGroupData> getPagedB2BUserGroupsForCustomer(PageableData pageableData, String user)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get Paginated list of B2B User groups the customer belongs to.
      Specified by:
      getPagedB2BUserGroupsForCustomer in interface B2BUserFacade
      Parameters:
      pageableData - pageable data
      user - the uid of the customer
      Returns:
      returns the SearchPageData
    • removeB2BUserGroupFromCustomer

      @Deprecated(since="6.0", forRemoval=true) B2BSelectionData removeB2BUserGroupFromCustomer(String user, String usergroup)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Since 6.0. Use deselectB2BUserGroupFromCustomer(String user, String usergroup) or removeB2BUserGroupFromCustomerGroups(String user, String usergroup) instead.
      Parameters:
      user -
      usergroup -
      Returns:
      returns a B2BSelectionData.