Class CopyFieldsOnUpdateEnricher<E extends EntityType<E>>
- java.lang.Object
-
- com.kenshoo.pl.entity.spi.helpers.CopyFieldsOnCreateEnricher<E>
-
- com.kenshoo.pl.entity.spi.helpers.CopyFieldsOnUpdateEnricher<E>
-
- All Implemented Interfaces:
CurrentStateConsumer<E>,PostFetchCommandEnricher<E>
public class CopyFieldsOnUpdateEnricher<E extends EntityType<E>> extends CopyFieldsOnCreateEnricher<E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.kenshoo.pl.entity.spi.helpers.CopyFieldsOnCreateEnricher
CopyFieldsOnCreateEnricher.Field2Copy<E extends EntityType<E>,T>
-
-
Field Summary
-
Fields inherited from class com.kenshoo.pl.entity.spi.helpers.CopyFieldsOnCreateEnricher
requiredFields
-
-
Constructor Summary
Constructors Constructor Description CopyFieldsOnUpdateEnricher(EntityField<?,T1> sourceField1, EntityField<E,T1> targetField1, EntityField<?,T2> sourceField2, EntityField<E,T2> targetField2)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidaddRequiredFields()SupportedChangeOperationgetSupportedChangeOperation()-
Methods inherited from class com.kenshoo.pl.entity.spi.helpers.CopyFieldsOnCreateEnricher
enrich, fieldsToEnrich, requiredFields
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.kenshoo.pl.entity.spi.PostFetchCommandEnricher
shouldRun
-
-
-
-
Constructor Detail
-
CopyFieldsOnUpdateEnricher
public CopyFieldsOnUpdateEnricher(EntityField<?,T1> sourceField1, EntityField<E,T1> targetField1, EntityField<?,T2> sourceField2, EntityField<E,T2> targetField2)
-
-
Method Detail
-
addRequiredFields
protected void addRequiredFields()
- Overrides:
addRequiredFieldsin classCopyFieldsOnCreateEnricher<E extends EntityType<E>>
-
getSupportedChangeOperation
public SupportedChangeOperation getSupportedChangeOperation()
- Specified by:
getSupportedChangeOperationin interfaceCurrentStateConsumer<E extends EntityType<E>>- Overrides:
getSupportedChangeOperationin classCopyFieldsOnCreateEnricher<E extends EntityType<E>>
-
-