Class EditableComponentTypesAttributePopulator
java.lang.Object
de.hybris.platform.cmsfacades.types.populator.EditableComponentTypesAttributePopulator
- All Implemented Interfaces:
Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
public class EditableComponentTypesAttributePopulator
extends Object
implements Populator<AttributeDescriptorModel,ComponentTypeAttributeData>
Populator that populates the editable field of the
ComponentTypeAttributeData POJO. If the source attribute
is not part of the provided editableAttributes set, then editable is set to false. True otherwise.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidpopulate(AttributeDescriptorModel source, ComponentTypeAttributeData target) Populate the target instance with values from the source instance.voidsetEditableAttributes(Set<String> editableAttributes)
-
Constructor Details
-
EditableComponentTypesAttributePopulator
public EditableComponentTypesAttributePopulator()
-
-
Method Details
-
populate
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
-
getEditableAttributes
-
setEditableAttributes
-