Class DefaultNonLocalizedRelationChanges
java.lang.Object
de.hybris.platform.directpersistence.record.impl.DefaultNonLocalizedRelationChanges
- All Implemented Interfaces:
DefaultRelationChanges,RelationChanges
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.hybris.platform.directpersistence.record.RelationChanges
RelationChanges.RelationChangesVisitor<V> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<V> Vaccept(RelationMetaInfo metaInfo, RelationChanges.RelationChangesVisitor<V> visitor) Accepts the relation changes visitor which will build necessary data for further persistence processing.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 clearedreturns the many to many relation records too be insertedreturns the one to many relation records to be insertedreturns the meta information of relation typereturns the many to many relation records too be removedvoidTakes care of grouping/merging the relation changes to avoid e.g duplicates in the change settoString()
-
Constructor Details
-
DefaultNonLocalizedRelationChanges
-
-
Method Details
-
getInsertManyToManyRelationRecords
Description copied from interface:DefaultRelationChangesreturns the many to many relation records too be inserted- Specified by:
getInsertManyToManyRelationRecordsin interfaceDefaultRelationChanges- Returns:
- collection of many to many relation records to be inserted
-
getRemoveManyToManyRelationsRecords
Description copied from interface:DefaultRelationChangesreturns the many to many relation records too be removed- Specified by:
getRemoveManyToManyRelationsRecordsin interfaceDefaultRelationChanges- Returns:
- collection of many to many relation records to be removed
-
getOneToManyRelationRecords
Description copied from interface:DefaultRelationChangesreturns the one to many relation records to be inserted- Specified by:
getOneToManyRelationRecordsin interfaceDefaultRelationChanges- Returns:
- collection of one to many relation records to be inserted
-
getRemoveOneToManyRelationsRecords
- Specified by:
getRemoveOneToManyRelationsRecordsin interfaceDefaultRelationChanges
-
add
Description copied from interface:DefaultRelationChangesAllows to add new many to many relation records to be inserted- Specified by:
addin interfaceDefaultRelationChanges- Parameters:
records- new many to many relation records to be inserted
-
add
Description copied from interface:DefaultRelationChangesAllows to add new many to many relation records to be removed- Specified by:
addin interfaceDefaultRelationChanges- Parameters:
records- new many to many relation records to be removed
-
add
Description copied from interface:DefaultRelationChangesAllows to add new one to many relation records to be cleared- Specified by:
addin interfaceDefaultRelationChanges
-
add
Description copied from interface:DefaultRelationChangesAllows to add new one to many relation records to be inserted- Specified by:
addin interfaceDefaultRelationChanges- Parameters:
records- new many to many relation records to be inserted
-
groupOrderInformation
public void groupOrderInformation()Description copied from interface:RelationChangesTakes care of grouping/merging the relation changes to avoid e.g duplicates in the change set- Specified by:
groupOrderInformationin interfaceRelationChanges
-
accept
Description copied from interface:RelationChangesAccepts the relation changes visitor which will build necessary data for further persistence processing.- Specified by:
acceptin interfaceRelationChanges
-
getRelationMetaInfo
Description copied from interface:RelationChangesreturns the meta information of relation type- Specified by:
getRelationMetaInfoin interfaceRelationChanges- Returns:
RelationMetaInfoobject, containing all required relation meta information
-
toString
-