static final class ShopProvider.ShopProxy extends Shop
Modifier and Type | Field and Description |
---|---|
private java.lang.RuntimeException |
exception |
Constructor and Description |
---|
ShopProxy(java.lang.RuntimeException ex) |
Modifier and Type | Method and Description |
---|---|
java.util.List<java.util.Currency> |
getCurrencies() |
java.util.Currency |
getDefaultCurrency() |
java.util.Locale |
getDefaultLocale() |
java.lang.String |
getDomainName() |
java.lang.String |
getDomainNameWithFallbackToSystemDomainName() |
java.util.Locale |
getFallbackLocale(java.util.Locale locale)
The locale is resolved in the following order:
the default locale if the locale parameter is
null
the same locale if it's found in the shop's locales
the locale with the same language and the highest position in the list if there is one
the default locale otherwise
|
GUID |
getGuid() |
java.util.List<java.util.Locale> |
getLocales() |
int |
getObjectId() |
int |
getProductsPerPage() |
java.lang.String |
getPublicId() |
java.lang.String |
getStorename() |
java.lang.String |
getSystemDomainName() |
boolean |
isCurrencyAvailable(java.util.Currency currency) |
boolean |
isDomainSslSecured() |
boolean |
isLanguageAvailable(java.util.Locale locale) |
boolean |
isSystemDomainSslSecured() |
setCurrencies, setDefaultCurrency, setDefaultLocale, setDomainName, setDomainSslSecured, setGuid, setLocales, setObjectId, setProductsPerPage, setPublicId, setStorename, setSystemDomainName, setSystemDomainSslSecured
public java.lang.String getStorename()
getStorename
in class Shop
public java.util.Currency getDefaultCurrency()
getDefaultCurrency
in class Shop
public java.util.List<java.util.Currency> getCurrencies()
getCurrencies
in class Shop
public java.util.Locale getDefaultLocale()
getDefaultLocale
in class Shop
public java.util.List<java.util.Locale> getLocales()
getLocales
in class Shop
public boolean isLanguageAvailable(java.util.Locale locale)
isLanguageAvailable
in class Shop
public boolean isCurrencyAvailable(java.util.Currency currency)
isCurrencyAvailable
in class Shop
public java.util.Locale getFallbackLocale(java.util.Locale locale)
Shop
null
getFallbackLocale
in class Shop
locale
- required localepublic java.lang.String getPublicId()
getPublicId
in class Shop
public int getObjectId()
getObjectId
in class Shop
public int getProductsPerPage()
getProductsPerPage
in class Shop
public java.lang.String getDomainName()
getDomainName
in class Shop
public java.lang.String getDomainNameWithFallbackToSystemDomainName()
getDomainNameWithFallbackToSystemDomainName
in class Shop
public java.lang.String getSystemDomainName()
getSystemDomainName
in class Shop
public boolean isDomainSslSecured()
isDomainSslSecured
in class Shop
public boolean isSystemDomainSslSecured()
isSystemDomainSslSecured
in class Shop