com.kenshoo.pl.entity.spi.MutableCommand Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of persistence-layer Show documentation
Show all versions of persistence-layer Show documentation
A Java persistence layer based on JOOQ for high performance and business flow support.
package com.kenshoo.pl.entity.spi;
import com.kenshoo.pl.entity.*;
import com.kenshoo.pl.entity.internal.MissingChildrenSupplier;
import java.util.Collection;
public interface MutableCommand> extends EntityChange {
void set(EntityField field, T newValue);
void set(EntityFieldPrototype fieldPrototype, T newValue);
void set(EntityField field, FieldValueSupplier valueSupplier);
void set(EntityFieldPrototype fieldPrototype, FieldValueSupplier valueSupplier);
/**
* Add or replace the value of a given transient property in this command.
*
* @param transientProperty the transient property whose value will be set; required
* @param propertyValue the property value to set; required
* @param the type of value to set
* @throws NullPointerException if either of the params is {@code null}
*/
void set(TransientProperty transientProperty, T propertyValue);
void set(Collection> fields, MultiFieldValueSupplier valueSupplier);
> void addChild(ChangeEntityCommand childCmd);
void add(MissingChildrenSupplier extends EntityType> missingChildrenSupplier);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy