Liferay 7.0-ce-m3

com.liferay.portal.kernel.settings
Class LocalizedValuesMap

java.lang.Object
  extended by com.liferay.portal.kernel.settings.LocalizedValuesMap
All Implemented Interfaces:
Serializable, Map<Locale,String>

public class LocalizedValuesMap
extends Object
implements Map<Locale,String>, Serializable

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
LocalizedValuesMap(String key, Locale defaultLocale, Locale... availableLocales)
           
 
Method Summary
 void clear()
           
 boolean containsKey(Object key)
           
 boolean containsValue(Object value)
           
 Set<Map.Entry<Locale,String>> entrySet()
           
 boolean equals(Object object)
           
 String get(Object key)
           
 Locale[] getAvailableLocales()
           
 Locale getDefaultLocale()
           
 String getDefaultValue()
           
 String getKey()
           
 String getLocalizationXml()
           
 int hashCode()
           
 boolean isEmpty()
           
 Set<Locale> keySet()
           
 String put(Locale key, String value)
           
 void putAll(Map<? extends Locale,? extends String> map)
           
 String remove(Object key)
           
 int size()
           
 Collection<String> values()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalizedValuesMap

public LocalizedValuesMap(String key,
                          Locale defaultLocale,
                          Locale... availableLocales)
Method Detail

clear

public void clear()
Specified by:
clear in interface Map<Locale,String>

containsKey

public boolean containsKey(Object key)
Specified by:
containsKey in interface Map<Locale,String>

containsValue

public boolean containsValue(Object value)
Specified by:
containsValue in interface Map<Locale,String>

entrySet

public Set<Map.Entry<Locale,String>> entrySet()
Specified by:
entrySet in interface Map<Locale,String>

equals

public boolean equals(Object object)
Specified by:
equals in interface Map<Locale,String>
Overrides:
equals in class Object

get

public String get(Object key)
Specified by:
get in interface Map<Locale,String>

getAvailableLocales

public Locale[] getAvailableLocales()

getDefaultLocale

public Locale getDefaultLocale()

getDefaultValue

public String getDefaultValue()

getKey

public String getKey()

getLocalizationXml

public String getLocalizationXml()

hashCode

public int hashCode()
Specified by:
hashCode in interface Map<Locale,String>
Overrides:
hashCode in class Object

isEmpty

public boolean isEmpty()
Specified by:
isEmpty in interface Map<Locale,String>

keySet

public Set<Locale> keySet()
Specified by:
keySet in interface Map<Locale,String>

put

public String put(Locale key,
                  String value)
Specified by:
put in interface Map<Locale,String>

putAll

public void putAll(Map<? extends Locale,? extends String> map)
Specified by:
putAll in interface Map<Locale,String>

remove

public String remove(Object key)
Specified by:
remove in interface Map<Locale,String>

size

public int size()
Specified by:
size in interface Map<Locale,String>

values

public Collection<String> values()
Specified by:
values in interface Map<Locale,String>

Liferay 7.0-ce-m3