Class DefaultUserRoleManagementStrategy
java.lang.Object
de.hybris.platform.b2bocc.strategy.impl.DefaultUserRoleManagementStrategy
- All Implemented Interfaces:
UserRoleManagementStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRoleToUser(String userId) Adds a role to the userprotected B2BUserFacadeprotected StringgetRole()removeRoleFromUser(String userId) Removes a role from the uservoidsetB2bUserFacade(B2BUserFacade b2bUserFacade) void
-
Field Details
-
role
-
b2bUserFacade
-
-
Constructor Details
-
DefaultUserRoleManagementStrategy
public DefaultUserRoleManagementStrategy()
-
-
Method Details
-
addRoleToUser
Description copied from interface:UserRoleManagementStrategyAdds a role to the user- Specified by:
addRoleToUserin interfaceUserRoleManagementStrategy- Parameters:
userId- is the identifier of the user- Returns:
- the resulting
B2BSelectionData
-
removeRoleFromUser
Description copied from interface:UserRoleManagementStrategyRemoves a role from the user- Specified by:
removeRoleFromUserin interfaceUserRoleManagementStrategy- Parameters:
userId- is the identifier of the user- Returns:
- the resulting
B2BSelectionData
-
getRole
-
setRole
-
getB2bUserFacade
-
setB2bUserFacade
-