Package com.kenshoo.pl.entity
Class HierarchyKeyPopulator<PARENT extends EntityType<PARENT>>
- java.lang.Object
-
- com.kenshoo.pl.entity.HierarchyKeyPopulator<PARENT>
-
public class HierarchyKeyPopulator<PARENT extends EntityType<PARENT>> extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHierarchyKeyPopulator.Builder<E extends EntityType<E>>
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <PARENT extends EntityType<PARENT>>
java.util.function.Predicate<EntityField<PARENT,?>>anyField()static <PARENT extends EntityType<PARENT>>
java.util.function.Predicate<EntityField<PARENT,?>>autoInc()static <E extends EntityType<E>>
CommandToValuesStrategy<E>fromCommands()static <E extends EntityType<E>>
CommandToValuesStrategy<E>fromContext(ChangeContext ctx)voidpopulateKeysToChildren(java.util.Collection<? extends ChangeEntityCommand<PARENT>> parents)
-
-
-
Method Detail
-
fromContext
public static <E extends EntityType<E>> CommandToValuesStrategy<E> fromContext(ChangeContext ctx)
-
fromCommands
public static <E extends EntityType<E>> CommandToValuesStrategy<E> fromCommands()
-
populateKeysToChildren
public void populateKeysToChildren(java.util.Collection<? extends ChangeEntityCommand<PARENT>> parents)
-
autoInc
public static <PARENT extends EntityType<PARENT>> java.util.function.Predicate<EntityField<PARENT,?>> autoInc()
-
anyField
public static <PARENT extends EntityType<PARENT>> java.util.function.Predicate<EntityField<PARENT,?>> anyField()
-
-