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