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.
A service for user management within b2b commerce
-
Method Summary
Modifier and TypeMethodDescriptionaddApproverToCustomer(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 updatedB2BCustomerModelobject updated with approver detailsaddPermissionToCustomer(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 updatedB2BCustomerModelobjectremoveApproverFromCustomer(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 updatedB2BCustomerModelobject updated with approver detailsremoveB2BUserGroupToCustomer(String user, String usergroup) Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.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 updatedB2BCustomerModelobjectMethods inherited from interface de.hybris.platform.b2b.company.B2BCommerceUserService
addB2BUserGroupToCustomer, addUserRole, deselectB2BUserGroupFromCustomer, disableCustomer, enableCustomer, getPagedCustomers, getPagedCustomersByGroupMembership, getPagedCustomersBySearchTermAndGroupMembership, getParentUnitForCustomer, removeB2BUserGroupFromCustomerGroups, removeUserRole
-
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 forB2BCustomerModelrepresenting a customerusergroup- unique identifier forB2BUserGroupModelrepresenting a user group- Returns:
- updated
B2BUserGroupModelobject with user group removed from the given unique identifier forB2BUserGroupModel
-
addPermissionToCustomer
Deprecated, for removal: This API element is subject to removal in a future version.Add permission for a given user and return the updatedB2BCustomerModelobject- Parameters:
user- A unique identifier forB2BCustomerModelrepresenting a userpermission- A unique identifier forB2BPermissionModelwhich is added to the given user- Returns:
- Updated
B2BPermissionModelobject with permissions added
-
removePermissionFromCustomer
Deprecated, for removal: This API element is subject to removal in a future version.Remove permission for a given user and return the updatedB2BCustomerModelobject- Parameters:
user- A unique identifier forB2BCustomerModelrepresenting a userpermission- A unique identifier forB2BPermissionModelwhich is removed from the given user- Returns:
- Updated
B2BPermissionModelobject with permissions removed
-
addApproverToCustomer
Deprecated, for removal: This API element is subject to removal in a future version.Add an approver for a given user and return the updatedB2BCustomerModelobject updated with approver details- Parameters:
user- A unique identifier forB2BCustomerModelrepresenting a userapprover- A unique identifier forB2BCustomerModelrepresenting a approver- Returns:
- Updated
B2BCustomerModelobject updated with approvers
-
removeApproverFromCustomer
Deprecated, for removal: This API element is subject to removal in a future version.Remove an approver for a given user and return the updatedB2BCustomerModelobject updated with approver details- Parameters:
user- A unique identifier forB2BCustomerModelrepresenting a userapprover- A unique identifier forB2BCustomerModelrepresenting a approver- Returns:
- Updated
B2BCustomerModelobject removed with approver
-
B2BCommerceUserServiceinstead.