Package com.kenshoo.pl.entity.spi
Interface MultiFieldValueSupplier<E extends EntityType<E>>
-
- Type Parameters:
E- entity type
- All Superinterfaces:
FetchEntityFields
- All Known Implementing Classes:
LazyDelegatingMultiSupplier
public interface MultiFieldValueSupplier<E extends EntityType<E>> extends FetchEntityFields
A "delayed" supplied that specifies new values for a set of fields. A more complex version ofFieldValueSupplier.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FieldsValueMap<E>supply(CurrentEntityState currentState)Returns a set of new values given an existing currentState.-
Methods inherited from interface com.kenshoo.pl.entity.spi.FetchEntityFields
fetchFields
-
-
-
-
Method Detail
-
supply
FieldsValueMap<E> supply(CurrentEntityState currentState) throws ValidationException
Returns a set of new values given an existing currentState. In most of the cases should useFieldsValueMapImpl.- Parameters:
currentState- entity before the change- Returns:
- new values
- Throws:
ValidationException
-
-