Class OrgUnitApproversManagementStrategy
java.lang.Object
de.hybris.platform.b2bocc.strategy.impl.OrgUnitApproversManagementStrategy
- All Implemented Interfaces:
OrgUnitUserRoleManagementStrategy
public class OrgUnitApproversManagementStrategy
extends Object
implements OrgUnitUserRoleManagementStrategy
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddRoleToUser(String unitId, String userId) Adds an organizational unit dependent role to the userprotected B2BApproverFacadevoidremoveRoleFromUser(String unitId, String userId) Removes an organizational unit dependent role from the uservoidsetB2bApproverFacade(B2BApproverFacade b2bApproverFacade)
-
Field Details
-
b2bApproverFacade
-
-
Constructor Details
-
OrgUnitApproversManagementStrategy
public OrgUnitApproversManagementStrategy()
-
-
Method Details
-
addRoleToUser
Description copied from interface:OrgUnitUserRoleManagementStrategyAdds an organizational unit dependent role to the user- Specified by:
addRoleToUserin interfaceOrgUnitUserRoleManagementStrategyuserId- is the identifier of the user
-
removeRoleFromUser
Description copied from interface:OrgUnitUserRoleManagementStrategyRemoves an organizational unit dependent role from the user- Specified by:
removeRoleFromUserin interfaceOrgUnitUserRoleManagementStrategyuserId- is the identifier of the user
-
getB2bApproverFacade
-
setB2bApproverFacade
-