Class AbstractCaptchaImpl
- java.lang.Object
-
- com.adobe.cq.forms.core.components.util.AbstractComponentImpl
-
- com.adobe.cq.forms.core.components.util.AbstractFormComponentImpl
-
- com.adobe.cq.forms.core.components.util.AbstractBaseImpl
-
- com.adobe.cq.forms.core.components.util.AbstractFieldImpl
-
- com.adobe.cq.forms.core.components.util.AbstractCaptchaImpl
-
- All Implemented Interfaces:
com.adobe.cq.export.json.ComponentExporter,Base,BaseConstraint,Captcha,Field,FormComponent,Component
- Direct Known Subclasses:
AbstractCaptchaImplV2
public abstract class AbstractCaptchaImpl extends AbstractFieldImpl implements Captcha
Abstract class which can be used as base class forCaptchaimplementations.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
BaseConstraint.Type
-
Nested classes/interfaces inherited from interface com.adobe.cq.forms.core.components.models.form.Captcha
Captcha.CaptchaDisplayMode
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringCUSTOM_RECAPTCHA_PROPERTY_WRAPPER-
Fields inherited from class com.adobe.cq.forms.core.components.util.AbstractFormComponentImpl
CUSTOM_DOR_PROPERTY_WRAPPER, CUSTOM_JCR_PATH_PROPERTY_WRAPPER, CUSTOM_RULE_PROPERTY_WRAPPER
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.Base
DATE_FORMATTER, DEFAULT_LANGUAGE
-
Fields inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
CUSTOM_PROPERTY_WRAPPER
-
-
Constructor Summary
Constructors Constructor Description AbstractCaptchaImpl()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.Map<java.lang.String,java.lang.Object>getCaptchaProperties()java.lang.StringgetFieldType()Returns the view typejava.util.Map<java.lang.String,java.lang.Object>getProperties()Custom Propertiesabstract java.lang.StringgetProvider()-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractFieldImpl
getDataFormat, getDefault, getDisplayFormat, getDisplayValueExpression, getEditFormat, getPlaceHolder, getReadOnlyIfPresent, getRequiredIfPresent, isReadOnly, isRequired
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractBaseImpl
getConstraintMessages, getCustomLayoutProperties, getDescription, getEnabledIfPresent, getExportedType, getHtmlScreenReaderText, getLabel, getLang, getScreenReaderText, getTooltip, getTooltipText, getType, getValidationExpression, isEnabled, isTooltipVisible
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractFormComponentImpl
getData, getDataRef, getDorProperties, getEvents, getLinkUrl, getName, getPath, getRules, getText, getTitle, getVisibleIfPresent, isVisible, setI18n
-
Methods inherited from class com.adobe.cq.forms.core.components.util.AbstractComponentImpl
getAppliedCssClasses, getId
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Base
getConstraintMessages, getDescription, getExportedType, getHtmlScreenReaderText, getLabel, getLang, getScreenReaderText, getTooltip, isEnabled, isTooltipVisible
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.BaseConstraint
getType, getValidationExpression, isRequired
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Captcha
getCaptchaDisplayMode, getCaptchaSiteKey, getCloudServicePath, getSize
-
Methods inherited from interface com.adobe.cq.wcm.core.components.models.Component
getAppliedCssClasses, getData, getId
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.Field
getDataFormat, getDefault, getDisplayFormat, getDisplayValueExpression, getEditFormat, getPlaceHolder, isReadOnly
-
Methods inherited from interface com.adobe.cq.forms.core.components.models.form.FormComponent
getDataRef, getDorProperties, getEvents, getName, getPath, getRules, isVisible, setI18n
-
-
-
-
Field Detail
-
CUSTOM_RECAPTCHA_PROPERTY_WRAPPER
public static final java.lang.String CUSTOM_RECAPTCHA_PROPERTY_WRAPPER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getProvider
public abstract java.lang.String getProvider()
- Specified by:
getProviderin interfaceCaptcha
-
getFieldType
public java.lang.String getFieldType()
Description copied from class:AbstractFormComponentImplReturns the view type- Specified by:
getFieldTypein interfaceFormComponent- Overrides:
getFieldTypein classAbstractFormComponentImpl- Returns:
- the view type
-
getCaptchaProperties
public abstract java.util.Map<java.lang.String,java.lang.Object> getCaptchaProperties()
- Specified by:
getCaptchaPropertiesin interfaceCaptcha
-
getProperties
public java.util.Map<java.lang.String,java.lang.Object> getProperties()
Description copied from interface:FormComponentCustom Properties- Specified by:
getPropertiesin interfaceFormComponent- Overrides:
getPropertiesin classAbstractFormComponentImpl
-
-