Class CampaignRestrictionBooleanTypeAttributePopulator
- java.lang.Object
-
- com.hybris.ymkt.segmentation.populators.CampaignRestrictionBooleanTypeAttributePopulator
-
- All Implemented Interfaces:
Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
public class CampaignRestrictionBooleanTypeAttributePopulator extends java.lang.Object implements Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
-
-
Constructor Summary
Constructors Constructor Description CampaignRestrictionBooleanTypeAttributePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulate(AttributeDescriptorModel source, ComponentTypeAttributeData target)Set the default value to value defined in item type.
-
-
-
Method Detail
-
populate
public void populate(AttributeDescriptorModel source, ComponentTypeAttributeData target)
Set the default value to value defined in item type. This this case, set to TRUE.
This ensures the default behavior of "restriction applies when user is a member of campaign"- Specified by:
populatein interfacePopulator<AttributeDescriptorModel,ComponentTypeAttributeData>- Parameters:
source- the source objecttarget- the target to fill
-
-