Interface DynamicLocalizedAttributeHandler<VALUE,MODEL extends AbstractItemModel>

All Superinterfaces:
DynamicAttributeHandler<VALUE,MODEL>
All Known Implementing Classes:
DynamicLocalizedAttributesStringSampleBean, PrincipalDisplayNameLocalizedAttributeHandler, PrincipalGroupDisplayNameLocalizedAttributeHandler, UserDisplayNameLocalizedAttributeHandler

public interface DynamicLocalizedAttributeHandler<VALUE,MODEL extends AbstractItemModel> extends DynamicAttributeHandler<VALUE,MODEL>
Provides methods to be implemented for any class which holds the logic behind localized dynamic attributes feature.
  • Method Summary

    Modifier and Type
    Method
    Description
    get(MODEL model, Locale loc)
    Holds logic behind getter for dynamic attribute.
    void
    set(MODEL model, VALUE value, Locale loc)
    Holds logic behind setter for dynamic attribute.

    Methods inherited from interface de.hybris.platform.servicelayer.model.attribute.DynamicAttributeHandler

    get, set
  • Method Details

    • get

      VALUE get(MODEL model, Locale loc)
      Holds logic behind getter for dynamic attribute.
      Parameters:
      model - model for which dynamic attribute is declared.
      loc - the locale for the given attribute
      Returns:
      computed value.
    • set

      void set(MODEL model, VALUE value, Locale loc)
      Holds logic behind setter for dynamic attribute.
      Parameters:
      model - model for which dynamic attribute is declared.
      value - the value which will be used by setter logic.
      loc - the locale for the given attribute