Class RestrictionComponentTypeAttributePopulator
java.lang.Object
de.hybris.platform.cmsfacades.types.populator.RestrictionComponentTypeAttributePopulator
- All Implemented Interfaces:
Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
public class RestrictionComponentTypeAttributePopulator
extends 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 -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(AttributeDescriptorModel source, ComponentTypeAttributeData target) Populate the target instance with values from the source instance.
-
Constructor Details
-
RestrictionComponentTypeAttributePopulator
public RestrictionComponentTypeAttributePopulator()
-
-
Method Details
-
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
-