|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ObjectWithLocaleDependantFields
Represents an object with LocaleDependantFields.
| Method Summary | |
|---|---|
void |
addOrUpdateLocaleDependantFields(LocaleDependantFields ldf)
Adds or updates the given LocaleDependantFields. |
java.lang.String |
getDisplayName(java.util.Locale locale)
Returns the display name of the given locale. |
LocaleDependantFields |
getLocaleDependantFields(java.util.Locale locale)
Returns the LocaleDependantFields instance of the given locale. |
java.util.Map |
getLocaleDependantFieldsMap()
Gets the all LocaleDependantFields as a map. |
LocaleDependantFields |
getLocaleDependantFieldsWithoutFallBack(java.util.Locale locale)
Returns the LocaleDependantFields of the given locale without fallback values. |
void |
setLocaleDependantFieldsMap(java.util.Map localeDependantFieldsMap)
Sets the all LocaleDependantFields with the given map. |
| Method Detail |
|---|
void addOrUpdateLocaleDependantFields(LocaleDependantFields ldf)
LocaleDependantFields.
ldf - the LocaleDependantFields instance to set.java.lang.String getDisplayName(java.util.Locale locale)
getLocaleDependantFields(Locale).getDisplayName().
locale - the locale
LocaleDependantFields getLocaleDependantFields(java.util.Locale locale)
LocaleDependantFields instance of the given locale. This LocaleDependantFields instance will contain
fall back values. E.g. if a url is not specified, the display name will be used for the url.
locale - the locale
LocaleDependantFields instance of the given localejava.util.Map getLocaleDependantFieldsMap()
LocaleDependantFields as a map.
LocaleDependantFields mapLocaleDependantFields getLocaleDependantFieldsWithoutFallBack(java.util.Locale locale)
LocaleDependantFields of the given locale without fallback values.
locale - the locale
LocaleDependantFields instance of the given locale if it can be found, otherwise a new
LocaleDependantFields instance whose localse will be set to the given localevoid setLocaleDependantFieldsMap(java.util.Map localeDependantFieldsMap)
LocaleDependantFields with the given map.
localeDependantFieldsMap - the map to set
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||