Package com.kenshoo.pl.entity.spi
Interface MutableCommand<E extends EntityType<E>>
-
- All Superinterfaces:
EntityChange<E>,FieldsValueMap<E>
- All Known Implementing Classes:
ChangeEntityCommand,CreateEntityCommand,DeleteEntityCommand,InsertOnDuplicateUpdateCommand,UpdateEntityCommand
public interface MutableCommand<E extends EntityType<E>> extends EntityChange<E>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(MissingChildrenSupplier<? extends EntityType> missingChildrenSupplier)<CHILD extends EntityType<CHILD>>
voidaddChild(ChangeEntityCommand<CHILD> childCmd)<T> voidset(EntityField<E,T> field, FieldValueSupplier<T> valueSupplier)<T> voidset(EntityField<E,T> field, T newValue)<T> voidset(EntityFieldPrototype<T> fieldPrototype, FieldValueSupplier<T> valueSupplier)<T> voidset(EntityFieldPrototype<T> fieldPrototype, T newValue)voidset(java.util.Collection<EntityField<E,?>> fields, MultiFieldValueSupplier<E> valueSupplier)-
Methods inherited from interface com.kenshoo.pl.entity.EntityChange
allowMissingEntity, getChangedFields, getChangeOperation, getChanges, getChildren, getChildren, getEntityType, getIdentifier, getKeysToParent, isFieldChanged
-
Methods inherited from interface com.kenshoo.pl.entity.FieldsValueMap
containsField, get, safeGet
-
-
-
-
Method Detail
-
set
<T> void set(EntityField<E,T> field, T newValue)
-
set
<T> void set(EntityFieldPrototype<T> fieldPrototype, T newValue)
-
set
<T> void set(EntityField<E,T> field, FieldValueSupplier<T> valueSupplier)
-
set
<T> void set(EntityFieldPrototype<T> fieldPrototype, FieldValueSupplier<T> valueSupplier)
-
set
void set(java.util.Collection<EntityField<E,?>> fields, MultiFieldValueSupplier<E> valueSupplier)
-
addChild
<CHILD extends EntityType<CHILD>> void addChild(ChangeEntityCommand<CHILD> childCmd)
-
add
void add(MissingChildrenSupplier<? extends EntityType> missingChildrenSupplier)
-
-