Interface B2BCommerceUserService
-
- All Superinterfaces:
B2BCommerceUserService
- All Known Implementing Classes:
DefaultB2BCommerceUserService
@Deprecated(since="6.0", forRemoval=true) public interface B2BCommerceUserService extends B2BCommerceUserServiceDeprecated, for removal: This API element is subject to removal in a future version.Since 6.0.B2BCommerceUserServiceinstead.A service for user management within b2b commerce
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description B2BCustomerModeladdApproverToCustomer(java.lang.String user, java.lang.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 detailsB2BPermissionModeladdPermissionToCustomer(java.lang.String user, java.lang.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 updatedB2BCustomerModelobjectB2BCustomerModelremoveApproverFromCustomer(java.lang.String user, java.lang.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 detailsB2BUserGroupModelremoveB2BUserGroupToCustomer(java.lang.String user, java.lang.String usergroup)Deprecated, for removal: This API element is subject to removal in a future version.Since 6.0.B2BPermissionModelremovePermissionFromCustomer(java.lang.String user, java.lang.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 updatedB2BCustomerModelobject-
Methods inherited from interface de.hybris.platform.b2b.company.B2BCommerceUserService
addB2BUserGroupToCustomer, addUserRole, deselectB2BUserGroupFromCustomer, disableCustomer, enableCustomer, getPagedCustomers, getPagedCustomersByGroupMembership, getPagedCustomersBySearchTermAndGroupMembership, getParentUnitForCustomer, removeB2BUserGroupFromCustomerGroups, removeUserRole
-
-
-
-
Method Detail
-
removeB2BUserGroupToCustomer
@Deprecated(since="6.0", forRemoval=true) B2BUserGroupModel removeB2BUserGroupToCustomer(java.lang.String user, java.lang.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
B2BPermissionModel addPermissionToCustomer(java.lang.String user, java.lang.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 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
B2BPermissionModel removePermissionFromCustomer(java.lang.String user, java.lang.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 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
B2BCustomerModel addApproverToCustomer(java.lang.String user, java.lang.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 details- Parameters:
user- A unique identifier forB2BCustomerModelrepresenting a userapprover- A unique identifier forB2BCustomerModelrepresenting a approver- Returns:
- Updated
B2BCustomerModelobject updated with approvers
-
removeApproverFromCustomer
B2BCustomerModel removeApproverFromCustomer(java.lang.String user, java.lang.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 details- Parameters:
user- A unique identifier forB2BCustomerModelrepresenting a userapprover- A unique identifier forB2BCustomerModelrepresenting a approver- Returns:
- Updated
B2BCustomerModelobject removed with approver
-
-