Package com.kenshoo.pl.entity
Class PersistenceLayer<ROOT extends EntityType<ROOT>>
- java.lang.Object
-
- com.kenshoo.pl.entity.PersistenceLayer<ROOT>
-
public class PersistenceLayer<ROOT extends EntityType<ROOT>> extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description PersistenceLayer(PLContext plContext)PersistenceLayer(org.jooq.DSLContext dslContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateResult<ROOT,Identifier<ROOT>>create(java.util.Collection<? extends CreateEntityCommand<ROOT>> commands, ChangeFlowConfig<ROOT> flowConfig)<PK extends Identifier<ROOT>>
CreateResult<ROOT,PK>create(java.util.Collection<? extends CreateEntityCommand<ROOT>> commands, ChangeFlowConfig<ROOT> flowConfig, UniqueKey<ROOT> primaryKey)<ID extends Identifier<ROOT>>
DeleteResult<ROOT,ID>delete(java.util.Collection<? extends DeleteEntityCommand<ROOT,ID>> commands, ChangeFlowConfig<ROOT> flowConfig)<ID extends Identifier<ROOT>>
UpdateResult<ROOT,ID>update(java.util.Collection<? extends UpdateEntityCommand<ROOT,ID>> commands, ChangeFlowConfig<ROOT> flowConfig)<ID extends Identifier<ROOT>>
InsertOnDuplicateUpdateResult<ROOT,ID>upsert(java.util.Collection<? extends InsertOnDuplicateUpdateCommand<ROOT,ID>> commands, ChangeFlowConfig<ROOT> flowConfig)
-
-
-
Constructor Detail
-
PersistenceLayer
public PersistenceLayer(org.jooq.DSLContext dslContext)
-
PersistenceLayer
public PersistenceLayer(PLContext plContext)
-
-
Method Detail
-
create
public <PK extends Identifier<ROOT>> CreateResult<ROOT,PK> create(java.util.Collection<? extends CreateEntityCommand<ROOT>> commands, ChangeFlowConfig<ROOT> flowConfig, UniqueKey<ROOT> primaryKey)
-
create
public CreateResult<ROOT,Identifier<ROOT>> create(java.util.Collection<? extends CreateEntityCommand<ROOT>> commands, ChangeFlowConfig<ROOT> flowConfig)
-
update
public <ID extends Identifier<ROOT>> UpdateResult<ROOT,ID> update(java.util.Collection<? extends UpdateEntityCommand<ROOT,ID>> commands, ChangeFlowConfig<ROOT> flowConfig)
-
delete
public <ID extends Identifier<ROOT>> DeleteResult<ROOT,ID> delete(java.util.Collection<? extends DeleteEntityCommand<ROOT,ID>> commands, ChangeFlowConfig<ROOT> flowConfig)
-
upsert
public <ID extends Identifier<ROOT>> InsertOnDuplicateUpdateResult<ROOT,ID> upsert(java.util.Collection<? extends InsertOnDuplicateUpdateCommand<ROOT,ID>> commands, ChangeFlowConfig<ROOT> flowConfig)
-
-