Interface DefaultRelationChanges
-
- All Superinterfaces:
RelationChanges
- All Known Implementing Classes:
DefaultNonLocalizedRelationChanges
public interface DefaultRelationChanges extends RelationChanges
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidadd(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 clearedjava.util.Collection<InsertManyToManyRelationRecord>getInsertManyToManyRelationRecords()returns the many to many relation records too be insertedjava.util.Collection<InsertOneToManyRelationRecord>getOneToManyRelationRecords()returns the one to many relation records to be insertedjava.util.Collection<RemoveManyToManyRelationsRecord>getRemoveManyToManyRelationsRecords()returns the many to many relation records too be removedjava.util.Collection<RemoveOneToManyRelationsRecord>getRemoveOneToManyRelationsRecords()-
Methods inherited from interface de.hybris.platform.directpersistence.record.RelationChanges
accept, getRelationMetaInfo, groupOrderInformation
-
-
-
-
Method Detail
-
getInsertManyToManyRelationRecords
java.util.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
java.util.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
java.util.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
java.util.Collection<RemoveOneToManyRelationsRecord> getRemoveOneToManyRelationsRecords()
-
add
void add(InsertManyToManyRelationRecord... records)
Allows to add new many to many relation records to be inserted- Parameters:
records- new many to many relation records to be inserted
-
add
void add(RemoveManyToManyRelationsRecord... records)
Allows to add new many to many relation records to be removed- Parameters:
records- new many to many relation records to be removed
-
add
void add(RemoveOneToManyRelationsRecord... records)
Allows to add new one to many relation records to be cleared- Parameters:
records-
-
add
void add(InsertOneToManyRelationRecord... records)
Allows to add new one to many relation records to be inserted- Parameters:
records- new many to many relation records to be inserted
-
-