Interface B2BCommerceUserService

All Superinterfaces:
B2BCommerceUserService
All Known Implementing Classes:
DefaultB2BCommerceUserService

@Deprecated(since="6.0", forRemoval=true) public interface B2BCommerceUserService extends B2BCommerceUserService
Deprecated, for removal: This API element is subject to removal in a future version.
Since 6.0. B2BCommerceUserService instead.
A service for user management within b2b commerce
  • Method Details

    • removeB2BUserGroupToCustomer

      @Deprecated(since="6.0", forRemoval=true) B2BUserGroupModel removeB2BUserGroupToCustomer(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 removeB2BUserGroupToCustomer(String user, String usergroup) instead.
      Remove Usergroups @link B2BCustomerModel} object for a given unique id of a customer
      Parameters:
      user - unique identifier for B2BCustomerModel representing a customer
      usergroup - unique identifier for B2BUserGroupModel representing a user group
      Returns:
      updated B2BUserGroupModel object with user group removed from the given unique identifier for B2BUserGroupModel
    • addPermissionToCustomer

      B2BPermissionModel addPermissionToCustomer(String user, String permission)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Add permission for a given user and return the updated B2BCustomerModel object
      Parameters:
      user - A unique identifier for B2BCustomerModel representing a user
      permission - A unique identifier for B2BPermissionModel which is added to the given user
      Returns:
      Updated B2BPermissionModel object with permissions added
    • removePermissionFromCustomer

      B2BPermissionModel removePermissionFromCustomer(String user, String permission)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remove permission for a given user and return the updated B2BCustomerModel object
      Parameters:
      user - A unique identifier for B2BCustomerModel representing a user
      permission - A unique identifier for B2BPermissionModel which is removed from the given user
      Returns:
      Updated B2BPermissionModel object with permissions removed
    • addApproverToCustomer

      B2BCustomerModel addApproverToCustomer(String user, String approver)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Add an approver for a given user and return the updated B2BCustomerModel object updated with approver details
      Parameters:
      user - A unique identifier for B2BCustomerModel representing a user
      approver - A unique identifier for B2BCustomerModel representing a approver
      Returns:
      Updated B2BCustomerModel object updated with approvers
    • removeApproverFromCustomer

      B2BCustomerModel removeApproverFromCustomer(String user, String approver)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Remove an approver for a given user and return the updated B2BCustomerModel object updated with approver details
      Parameters:
      user - A unique identifier for B2BCustomerModel representing a user
      approver - A unique identifier for B2BCustomerModel representing a approver
      Returns:
      Updated B2BCustomerModel object removed with approver