Class PrincipalDisplayNameLocalizedAttributeHandler
- java.lang.Object
-
- de.hybris.platform.servicelayer.security.dynamic.PrincipalDisplayNameLocalizedAttributeHandler
-
- All Implemented Interfaces:
DynamicAttributeHandler<java.lang.String,PrincipalModel>
,DynamicLocalizedAttributeHandler<java.lang.String,PrincipalModel>
public class PrincipalDisplayNameLocalizedAttributeHandler extends java.lang.Object implements DynamicLocalizedAttributeHandler<java.lang.String,PrincipalModel>
-
-
Constructor Summary
Constructors Constructor Description PrincipalDisplayNameLocalizedAttributeHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
get(PrincipalModel model)
Holds logic behind getter for dynamic attribute.java.lang.String
get(PrincipalModel model, java.util.Locale loc)
Holds logic behind getter for dynamic attribute.void
set(PrincipalModel model, java.lang.String value)
Holds logic behind setter for dynamic attribute.void
set(PrincipalModel model, java.lang.String value, java.util.Locale loc)
Holds logic behind setter for dynamic attribute.
-
-
-
Method Detail
-
get
public java.lang.String get(PrincipalModel model)
Description copied from interface:DynamicAttributeHandler
Holds logic behind getter for dynamic attribute.- Specified by:
get
in interfaceDynamicAttributeHandler<java.lang.String,PrincipalModel>
- Parameters:
model
- model for which dynamic attribute is declared.- Returns:
- computed value.
-
set
public void set(PrincipalModel model, java.lang.String value)
Description copied from interface:DynamicAttributeHandler
Holds logic behind setter for dynamic attribute.- Specified by:
set
in interfaceDynamicAttributeHandler<java.lang.String,PrincipalModel>
- Parameters:
model
- model for which dynamic attribute is declared.value
- the value which will be used by setter logic.
-
get
public java.lang.String get(PrincipalModel model, java.util.Locale loc)
Description copied from interface:DynamicLocalizedAttributeHandler
Holds logic behind getter for dynamic attribute.- Specified by:
get
in interfaceDynamicLocalizedAttributeHandler<java.lang.String,PrincipalModel>
- Parameters:
model
- model for which dynamic attribute is declared.loc
- the locale for the given attribute- Returns:
- computed value.
-
set
public void set(PrincipalModel model, java.lang.String value, java.util.Locale loc)
Description copied from interface:DynamicLocalizedAttributeHandler
Holds logic behind setter for dynamic attribute.- Specified by:
set
in interfaceDynamicLocalizedAttributeHandler<java.lang.String,PrincipalModel>
- 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
-
-