|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.elasticpath.domain.impl.AbstractEpDomainImpl com.elasticpath.domain.impl.AbstractPersistenceImpl com.elasticpath.domain.impl.AbstractValueObjectImpl com.elasticpath.domain.misc.impl.LocalizedPropertiesImpl
public class LocalizedPropertiesImpl
Represents a default implementation of LocalizedProperties
.
Field Summary | |
---|---|
static long |
serialVersionUID
Serial version id. |
Constructor Summary | |
---|---|
LocalizedPropertiesImpl()
|
Method Summary | |
---|---|
ElasticPath |
getElasticPath()
Get the ElasticPath singleton. |
java.util.Map |
getLocalizedPropertiesMap()
Returns the localized properties map. |
java.lang.String |
getValue(java.lang.String propertyName,
java.util.Locale locale)
Returns the value of the given property and locale. |
java.lang.String |
getValueWithoutFallBack(java.lang.String propertyName,
java.util.Locale locale)
Returns the value of the given property and locale. |
void |
setLocalizedPropertiesMap(java.util.Map map)
Sets the localized properties map. |
void |
setValue(java.lang.String propertyName,
java.util.Locale locale,
java.lang.String value)
Sets the given value with the given property and locale. |
Methods inherited from class com.elasticpath.domain.impl.AbstractPersistenceImpl |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
---|
setElasticPath |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.elasticpath.domain.Persistence |
---|
executeBeforePersistAction, getUidPk, isPersistent, setDefaultValues, setUidPk |
Methods inherited from interface com.elasticpath.domain.EpDomain |
---|
setElasticPath |
Field Detail |
---|
public static final long serialVersionUID
Constructor Detail |
---|
public LocalizedPropertiesImpl()
Method Detail |
---|
public ElasticPath getElasticPath()
getElasticPath
in interface EpDomain
getElasticPath
in class AbstractEpDomainImpl
public java.util.Map getLocalizedPropertiesMap()
public java.lang.String getValue(java.lang.String propertyName, java.util.Locale locale)
getValue
in interface LocalizedProperties
propertyName
- the property namelocale
- the locale
public java.lang.String getValueWithoutFallBack(java.lang.String propertyName, java.util.Locale locale)
null
.
getValueWithoutFallBack
in interface LocalizedProperties
propertyName
- the property namelocale
- the locale
public void setLocalizedPropertiesMap(java.util.Map map)
map
- the map to setpublic void setValue(java.lang.String propertyName, java.util.Locale locale, java.lang.String value)
setValue
in interface LocalizedProperties
propertyName
- the property namelocale
- the localevalue
- the value to set
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |