Package org.javlo.context
Class SpecialConfigBean
- java.lang.Object
-
- org.javlo.context.SpecialConfigBean
-
public class SpecialConfigBean extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringGOOGLE_RECAPTHCA_PARAM_NAME
-
Constructor Summary
Constructors Constructor Description SpecialConfigBean(Map config, StaticConfig staticConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringget(String key, String defaultValue)List<String>getCdnRefreshUrl()StringgetGoogleRecaptchaPrivateKey()StringgetGoogleRecaptchaPublicKey()StringgetLoginPageName()StringgetMailFrom()StringgetMailingRole()StringgetMainCdn()MapgetMap()StringgetNewsPageName()StringgetRegisterPageName()StringgetSearchPageName()StringgetSecureEncryptPassword()StringgetTranslatorDeepLApiKey()StringgetTranslatorGoogleApiKey()booleanisContentAddTitle()booleanisCreateAccountWithToken()booleanisGoogleRecaptcha()booleanisNeedLogForPreview()booleanisPasteAsMirror()booleanisSecureEncrypt()booleanisSitemapResources()booleanisStorageZipped()booleanisTrackingAccess()track access to resource and page.
-
-
-
Field Detail
-
GOOGLE_RECAPTHCA_PARAM_NAME
public static final String GOOGLE_RECAPTHCA_PARAM_NAME
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SpecialConfigBean
public SpecialConfigBean(Map config, StaticConfig staticConfig)
-
-
Method Detail
-
getMap
public Map getMap()
-
isPasteAsMirror
public boolean isPasteAsMirror()
-
isTrackingAccess
public boolean isTrackingAccess()
track access to resource and page. Use for display the most readed picture or page. false by default- Returns:
-
isNeedLogForPreview
public boolean isNeedLogForPreview()
-
isContentAddTitle
public boolean isContentAddTitle()
-
isSitemapResources
public boolean isSitemapResources()
-
isCreateAccountWithToken
public boolean isCreateAccountWithToken()
-
isStorageZipped
public boolean isStorageZipped()
-
isSecureEncrypt
public boolean isSecureEncrypt()
-
getSecureEncryptPassword
public String getSecureEncryptPassword()
-
getMainCdn
public String getMainCdn()
-
getSearchPageName
public String getSearchPageName()
-
getRegisterPageName
public String getRegisterPageName()
-
getLoginPageName
public String getLoginPageName()
-
getNewsPageName
public String getNewsPageName()
-
getMailingRole
public String getMailingRole()
-
getTranslatorGoogleApiKey
public String getTranslatorGoogleApiKey()
-
getTranslatorDeepLApiKey
public String getTranslatorDeepLApiKey()
-
getMailFrom
public String getMailFrom()
-
isGoogleRecaptcha
public boolean isGoogleRecaptcha()
-
getGoogleRecaptchaPrivateKey
public String getGoogleRecaptchaPrivateKey()
-
getGoogleRecaptchaPublicKey
public String getGoogleRecaptchaPublicKey()
-
-