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 String
GOOGLE_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 String
get(String key, String defaultValue)
List<String>
getCdnRefreshUrl()
String
getGoogleRecaptchaPrivateKey()
String
getGoogleRecaptchaPublicKey()
String
getLoginPageName()
String
getMailFrom()
String
getMailingRole()
String
getMainCdn()
Map
getMap()
String
getNewsPageName()
String
getRegisterPageName()
String
getSearchPageName()
String
getSecureEncryptPassword()
String
getTranslatorDeepLApiKey()
String
getTranslatorGoogleApiKey()
boolean
isContentAddTitle()
boolean
isCreateAccountWithToken()
boolean
isGoogleRecaptcha()
boolean
isNeedLogForPreview()
boolean
isPasteAsMirror()
boolean
isSecureEncrypt()
boolean
isSitemapResources()
boolean
isStorageZipped()
boolean
isTrackingAccess()
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()
-
-