Class OrganizationRolesAttribute
java.lang.Object
de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler<Set<PrincipalGroupModel>,EmployeeModel>
de.hybris.platform.commerceservices.model.OrganizationRolesAttribute
- All Implemented Interfaces:
DynamicAttributeHandler<Set<PrincipalGroupModel>,EmployeeModel>
public class OrganizationRolesAttribute
extends AbstractDynamicAttributeHandler<Set<PrincipalGroupModel>,EmployeeModel>
Dynamic attribute handler for the Employee.organizationRoles attribute. The Employee.organizationRoles attribute is
determined by filtering out non-organization related roles
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionget(EmployeeModel employeeModel) Holds logic behind getter for dynamic attribute.protected OrgUnitServicevoidsetOrgUnitService(OrgUnitService orgUnitService) Methods inherited from class de.hybris.platform.servicelayer.model.attribute.AbstractDynamicAttributeHandler
set
-
Constructor Details
-
OrganizationRolesAttribute
public OrganizationRolesAttribute()
-
-
Method Details
-
get
Description copied from interface:DynamicAttributeHandlerHolds logic behind getter for dynamic attribute.- Specified by:
getin interfaceDynamicAttributeHandler<Set<PrincipalGroupModel>,EmployeeModel> - Overrides:
getin classAbstractDynamicAttributeHandler<Set<PrincipalGroupModel>,EmployeeModel> - Parameters:
employeeModel- model for which dynamic attribute is declared.- Returns:
- computed value.
-
getOrgUnitService
-
setOrgUnitService
-