Interface LocalizedRelationChanges

All Superinterfaces:
RelationChanges
All Known Implementing Classes:
DefaultLocalizedRelationChanges

public interface LocalizedRelationChanges extends RelationChanges
Localized relation changes groups changes for all languages by the relation type
  • Method Details

    • getRelationChanges

      Map<Locale,DefaultRelationChanges> getRelationChanges()
      returns the localized relation changes
      Returns:
      a map containing locales with corresponding relation changes
    • getRelationChangeForLanguage

      DefaultRelationChanges getRelationChangeForLanguage(Locale locale)
      returns all relation changes for a given locale
      Parameters:
      locale - locale, for which the lookup will be executed
      Returns:
      relation changes for given locale
    • put

      void put(Locale locale, DefaultRelationChanges relationChanges)
      Allows to add or change the relation changes for a given locale
      Parameters:
      locale - locale, for which the relation changes will be associated with
      relationChanges - relation changes to be associated with the given locale