Class CaptchaConfigurationDTO
- java.lang.Object
-
- org.cyclos.model.Bean
-
- org.cyclos.model.system.configurations.CaptchaConfigurationDTO
-
- All Implemented Interfaces:
Serializable
public class CaptchaConfigurationDTO extends Bean
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEstatic BasicProperty<CaptchaEffect,CaptchaConfigurationDTO>EFFECTstatic BasicProperty<CaptchaProvider,CaptchaConfigurationDTO>PROVIDERstatic BasicProperty<String,CaptchaConfigurationDTO>RECAPTCHA_KEYstatic BasicProperty<String,CaptchaConfigurationDTO>RECAPTCHA_SECRETstatic BasicProperty<Boolean,CaptchaConfigurationDTO>RECAPTCHA_SECRET_SETstatic BasicProperty<String,CaptchaConfigurationDTO>TEXT_COLORstatic BasicProperty<Integer,CaptchaConfigurationDTO>TEXT_LENGTHstatic BasicProperty<Boolean,CaptchaConfigurationDTO>USE_ON_FORGOT_PASSWORDstatic BasicProperty<Boolean,CaptchaConfigurationDTO>USE_ON_PUBLIC_REGISTRATION
-
Constructor Summary
Constructors Constructor Description CaptchaConfigurationDTO()CaptchaConfigurationDTO(Property<T,? super CaptchaConfigurationDTO> property, T value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringclassName()protected List<Property<?,?>>doGetProperties()CaptchaEffectgetEffect()CaptchaProvidergetProvider()StringgetRecaptchaKey()StringgetRecaptchaSecret()StringgetTextColor()IntegergetTextLength()booleanisRecaptchaSecretSet()booleanisUseOnForgotPassword()booleanisUseOnPublicRegistration()voidsetEffect(CaptchaEffect effect)voidsetProvider(CaptchaProvider provider)voidsetRecaptchaKey(String recaptchaKey)voidsetRecaptchaSecret(String recaptchaSecret)voidsetRecaptchaSecretSet(boolean recaptchaSecretSet)voidsetTextColor(String textColor)voidsetTextLength(Integer textLength)voidsetUseOnForgotPassword(boolean useOnForgotPassword)voidsetUseOnPublicRegistration(boolean useOnPublicRegistration)-
Methods inherited from class org.cyclos.model.Bean
addPropertyChangeListener, addPropertyChangeListener, attributeNames, backup, changes, clearAttributes, copyPropertiesTo, copyPropertiesTo, copyPropertiesTo, dataAccessor, firePropertyChange, get, getAttribute, initDataAccessor, properties, property, propertyMap, removeAttribute, removePropertyChangeListener, removePropertyChangeListener, restore, set, set, setAttribute, setWithPropagationId, values
-
-
-
-
Field Detail
-
CLASS_NAME
public static final String CLASS_NAME
-
EFFECT
public static final BasicProperty<CaptchaEffect,CaptchaConfigurationDTO> EFFECT
-
PROVIDER
public static final BasicProperty<CaptchaProvider,CaptchaConfigurationDTO> PROVIDER
-
RECAPTCHA_KEY
public static final BasicProperty<String,CaptchaConfigurationDTO> RECAPTCHA_KEY
-
RECAPTCHA_SECRET
public static final BasicProperty<String,CaptchaConfigurationDTO> RECAPTCHA_SECRET
-
RECAPTCHA_SECRET_SET
public static final BasicProperty<Boolean,CaptchaConfigurationDTO> RECAPTCHA_SECRET_SET
-
TEXT_COLOR
public static final BasicProperty<String,CaptchaConfigurationDTO> TEXT_COLOR
-
TEXT_LENGTH
public static final BasicProperty<Integer,CaptchaConfigurationDTO> TEXT_LENGTH
-
USE_ON_FORGOT_PASSWORD
public static final BasicProperty<Boolean,CaptchaConfigurationDTO> USE_ON_FORGOT_PASSWORD
-
USE_ON_PUBLIC_REGISTRATION
public static final BasicProperty<Boolean,CaptchaConfigurationDTO> USE_ON_PUBLIC_REGISTRATION
-
-
Constructor Detail
-
CaptchaConfigurationDTO
public CaptchaConfigurationDTO()
-
CaptchaConfigurationDTO
public CaptchaConfigurationDTO(Property<T,? super CaptchaConfigurationDTO> property, T value)
-
-
Method Detail
-
doGetProperties
protected List<Property<?,?>> doGetProperties()
- Overrides:
doGetPropertiesin classBean
-
getEffect
public CaptchaEffect getEffect()
-
setEffect
public void setEffect(CaptchaEffect effect)
-
getProvider
public CaptchaProvider getProvider()
-
setProvider
public void setProvider(CaptchaProvider provider)
-
getRecaptchaKey
public String getRecaptchaKey()
-
setRecaptchaKey
public void setRecaptchaKey(String recaptchaKey)
-
getRecaptchaSecret
public String getRecaptchaSecret()
-
setRecaptchaSecret
public void setRecaptchaSecret(String recaptchaSecret)
-
isRecaptchaSecretSet
public boolean isRecaptchaSecretSet()
-
setRecaptchaSecretSet
public void setRecaptchaSecretSet(boolean recaptchaSecretSet)
-
getTextColor
public String getTextColor()
-
setTextColor
public void setTextColor(String textColor)
-
getTextLength
public Integer getTextLength()
-
setTextLength
public void setTextLength(Integer textLength)
-
isUseOnForgotPassword
public boolean isUseOnForgotPassword()
-
setUseOnForgotPassword
public void setUseOnForgotPassword(boolean useOnForgotPassword)
-
isUseOnPublicRegistration
public boolean isUseOnPublicRegistration()
-
setUseOnPublicRegistration
public void setUseOnPublicRegistration(boolean useOnPublicRegistration)
-
-