Class DefaultLocalizedRelationChanges
java.lang.Object
de.hybris.platform.directpersistence.record.impl.DefaultLocalizedRelationChanges
- All Implemented Interfaces:
LocalizedRelationChanges,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.getRelationChangeForLanguage(Locale locale) returns all relation changes for a given localereturns the localized relation changesreturns the meta information of relation typevoidTakes care of grouping/merging the relation changes to avoid e.g duplicates in the change setvoidput(Locale locale, DefaultRelationChanges changeSet) Allows to add or change the relation changes for a given localetoString()
-
Constructor Details
-
DefaultLocalizedRelationChanges
-
-
Method Details
-
getRelationChanges
Description copied from interface:LocalizedRelationChangesreturns the localized relation changes- Specified by:
getRelationChangesin interfaceLocalizedRelationChanges- Returns:
- a map containing locales with corresponding relation changes
-
getRelationChangeForLanguage
Description copied from interface:LocalizedRelationChangesreturns all relation changes for a given locale- Specified by:
getRelationChangeForLanguagein interfaceLocalizedRelationChanges- Parameters:
locale- locale, for which the lookup will be executed- Returns:
- relation changes for given locale
-
put
Description copied from interface:LocalizedRelationChangesAllows to add or change the relation changes for a given locale- Specified by:
putin interfaceLocalizedRelationChanges- Parameters:
locale- locale, for which the relation changes will be associated withchangeSet- relation changes to be associated with the given locale
-
accept
Description copied from interface:RelationChangesAccepts the relation changes visitor which will build necessary data for further persistence processing.- Specified by:
acceptin interfaceRelationChanges
-
toString
-
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
-
getRelationMetaInfo
Description copied from interface:RelationChangesreturns the meta information of relation type- Specified by:
getRelationMetaInfoin interfaceRelationChanges- Returns:
RelationMetaInfoobject, containing all required relation meta information
-