Class ModifyManyToManyRelationStatementsBuilder
java.lang.Object
de.hybris.platform.directpersistence.statement.AbstractStoreStatementsBuilder
de.hybris.platform.directpersistence.statement.AbstractManyToManyRelationStatementsBuilder
de.hybris.platform.directpersistence.statement.ModifyManyToManyRelationStatementsBuilder
- All Implemented Interfaces:
StatementsBuilder
public class ModifyManyToManyRelationStatementsBuilder
extends AbstractManyToManyRelationStatementsBuilder
implements StatementsBuilder
Creates all required operations for relation manipulation like link rows inserts, deletes, updates.
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.directpersistence.statement.AbstractManyToManyRelationStatementsBuilder
AbstractManyToManyRelationStatementsBuilder.LinkRowNested classes/interfaces inherited from class de.hybris.platform.directpersistence.statement.AbstractStoreStatementsBuilder
AbstractStoreStatementsBuilder.ColumnPayloadTransformer -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final DefaultRelationRecordVisitor.RelationRecordsContainerFields inherited from class de.hybris.platform.directpersistence.statement.AbstractManyToManyRelationStatementsBuilder
jdbcTemplate, linkRowMapperFields inherited from class de.hybris.platform.directpersistence.statement.AbstractStoreStatementsBuilder
infoMap, persistResults -
Method Summary
Modifier and TypeMethodDescriptionCreates bunch ofStatementHolderobjects 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) protected Set<StatementHolder>getDeleteStatementsWithLimit(Set<Long> params, int parametersLimit) getInstance(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, DefaultRelationRecordVisitor.RelationRecordsContainer container, Config.DatabaseName databaseName) protected org.springframework.jdbc.core.ResultSetExtractor<ConcurrentMap<PK,AtomicInteger>> queryForExistingLinkRows(String statement, List<Long> params) Methods inherited from class de.hybris.platform.directpersistence.statement.AbstractStoreStatementsBuilder
getPersistResults
-
Field Details
-
container
-
-
Method Details
-
getInstance
public static ModifyManyToManyRelationStatementsBuilder getInstance(org.springframework.jdbc.core.JdbcTemplate jdbcTemplate, DefaultRelationRecordVisitor.RelationRecordsContainer container, Config.DatabaseName databaseName) -
createStatements
Description copied from interface:StatementsBuilderCreates bunch ofStatementHolderobjects which keeps all required statements for item creation/modification/deletion.- Specified by:
createStatementsin interfaceStatementsBuilder
-
findMaxSeqNumbers
protected ConcurrentMap<PK,AtomicInteger> findMaxSeqNumbers(String statement, Iterable<Long> pksAsLongs) -
getMaxSeqNumbersResultSetExtractor
protected org.springframework.jdbc.core.ResultSetExtractor<ConcurrentMap<PK,AtomicInteger>> getMaxSeqNumbersResultSetExtractor() -
queryForExistingLinkRows
protected List<AbstractManyToManyRelationStatementsBuilder.LinkRow> queryForExistingLinkRows(String statement, List<Long> params) -
getDeleteStatements
-
getDeleteStatementsWithLimit
-