Interface DefaultRelationChanges
- All Superinterfaces:
RelationChanges
- All Known Implementing Classes:
DefaultNonLocalizedRelationChanges
Represents the default (typically non localized) relation changes, provides information about one to many and many to
many relation records and allows to add new such records
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.directpersistence.record.RelationChanges
RelationChanges.RelationChangesVisitor<V> -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(InsertManyToManyRelationRecord... records) Allows to add new many to many relation records to be insertedvoidadd(InsertOneToManyRelationRecord... records) Allows to add new one to many relation records to be insertedvoidadd(RemoveManyToManyRelationsRecord... records) Allows to add new many to many relation records to be removedvoidadd(RemoveOneToManyRelationsRecord... records) Allows to add new one to many relation records to be clearedreturns the many to many relation records too be insertedreturns the one to many relation records to be insertedreturns the many to many relation records too be removedMethods inherited from interface de.hybris.platform.directpersistence.record.RelationChanges
accept, getRelationMetaInfo, groupOrderInformation
-
Method Details
-
getInsertManyToManyRelationRecords
Collection<InsertManyToManyRelationRecord> getInsertManyToManyRelationRecords()returns the many to many relation records too be inserted- Returns:
- collection of many to many relation records to be inserted
-
getRemoveManyToManyRelationsRecords
Collection<RemoveManyToManyRelationsRecord> getRemoveManyToManyRelationsRecords()returns the many to many relation records too be removed- Returns:
- collection of many to many relation records to be removed
-
getOneToManyRelationRecords
Collection<InsertOneToManyRelationRecord> getOneToManyRelationRecords()returns the one to many relation records to be inserted- Returns:
- collection of one to many relation records to be inserted
-
getRemoveOneToManyRelationsRecords
Collection<RemoveOneToManyRelationsRecord> getRemoveOneToManyRelationsRecords() -
add
Allows to add new many to many relation records to be inserted- Parameters:
records- new many to many relation records to be inserted
-
add
Allows to add new many to many relation records to be removed- Parameters:
records- new many to many relation records to be removed
-
add
Allows to add new one to many relation records to be cleared- Parameters:
records-
-
add
Allows to add new one to many relation records to be inserted- Parameters:
records- new many to many relation records to be inserted
-