Class RestrictionComponentTypeAttributePopulator
- java.lang.Object
-
- de.hybris.platform.cmsfacades.types.populator.RestrictionComponentTypeAttributePopulator
-
- All Implemented Interfaces:
Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
public class RestrictionComponentTypeAttributePopulator extends java.lang.Object implements Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
Populator for restriction attributes. Restrictions are part of pages and component attributes, but they are edited in a different context than other properties (visibility tab). Thus, they must be present in the component API, but not in the structure API. This populator makes sure the property is not present in the structure of the enclosing type.
-
-
Constructor Summary
Constructors Constructor Description RestrictionComponentTypeAttributePopulator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpopulate(AttributeDescriptorModel source, ComponentTypeAttributeData target)Populate the target instance with values from the source instance.
-
-
-
Method Detail
-
populate
public void populate(AttributeDescriptorModel source, ComponentTypeAttributeData target) throws ConversionException
Description copied from interface:PopulatorPopulate the target instance with values from the source instance.- Specified by:
populatein interfacePopulator<AttributeDescriptorModel,ComponentTypeAttributeData>- Parameters:
source- the source objecttarget- the target to fill- Throws:
ConversionException- if an error occurs
-
-