public class ModifyManyToManyRelationStatementsBuilder extends AbstractManyToManyRelationStatementsBuilder implements StatementsBuilder
AbstractManyToManyRelationStatementsBuilder.LinkRowAbstractStoreStatementsBuilder.ColumnPayloadTransformer| Modifier and Type | Field and Description |
|---|---|
protected DefaultRelationRecordVisitor.RelationRecordsContainer |
container |
jdbcTemplate, linkRowMapperinfoMap, persistResults| Modifier and Type | Method and Description |
|---|---|
Set<StatementHolder> |
createStatements()
Creates bunch of
StatementHolder objects which keeps all required statements for item
creation/modification/deletion. |
protected ConcurrentMap<PK,AtomicInteger> |
findMaxSeqNumbers(String statement,
Iterable<Long> pksAsLongs) |
protected Set<StatementHolder> |
getDeleteStatements(Set<Long> params) |
static ModifyManyToManyRelationStatementsBuilder |
getInstance(JdbcTemplate jdbcTemplate,
DefaultRelationRecordVisitor.RelationRecordsContainer container,
Config.DatabaseName databaseName) |
protected <any> |
getMaxSeqNumbersResultSetExtractor() |
protected List<AbstractManyToManyRelationStatementsBuilder.LinkRow> |
queryForExistingLinkRows(String statement,
List<Long> params) |
getPersistResultsprotected final DefaultRelationRecordVisitor.RelationRecordsContainer container
public static ModifyManyToManyRelationStatementsBuilder getInstance(JdbcTemplate jdbcTemplate, DefaultRelationRecordVisitor.RelationRecordsContainer container, Config.DatabaseName databaseName)
public Set<StatementHolder> createStatements()
StatementsBuilderStatementHolder objects which keeps all required statements for item
creation/modification/deletion.createStatements in interface StatementsBuilderprotected ConcurrentMap<PK,AtomicInteger> findMaxSeqNumbers(String statement, Iterable<Long> pksAsLongs)
protected <any> getMaxSeqNumbersResultSetExtractor()
protected List<AbstractManyToManyRelationStatementsBuilder.LinkRow> queryForExistingLinkRows(String statement, List<Long> params)
protected Set<StatementHolder> getDeleteStatements(Set<Long> params)
Copyright © 2017 SAP SE. All Rights Reserved.