Package com.adobe.aemds.guide.common
Class GuideFileUpload
- java.lang.Object
-
- com.adobe.cq.sightly.WCMUsePojo
-
- com.adobe.aemds.guide.common.GuideNode
-
- com.adobe.aemds.guide.common.GuideField
-
- com.adobe.aemds.guide.common.GuideFileUpload
-
- All Implemented Interfaces:
FDField
,StyledFDField
,java.io.Serializable
,Use
public class GuideFileUpload extends GuideField
GuideFileUpload class encapsulates basic properties of the adaptive forms File Upload Component. Few are listed below:- mimeType of the component
- button text of the component
- Since:
- AEM 6.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GuideFileUpload()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getButtonText()
Returns the button text configured for the file upload component during authoringjava.lang.String
getGuideFieldType()
Returns the field type of the Adaptive Forms Componentjava.lang.String
getMimeType()
Returns the file type supported by the file upload component configured in authoring dialogboolean
getMultiSelection()
Returns the multiSelection property configured for file upload component during authoring-
Methods inherited from class com.adobe.aemds.guide.common.GuideField
getAuthoringConfig, getAutocomplete, getAutofillFieldKeyword, getCaptionInlineStyles, getDescriptionVisibility, getErrorSimulatorString, getFieldLayout, getFieldLayoutName, getHelpIndicatorContent, getHideTitle, getIsOldFieldLayout, getIsReadOnly, getIsRequired, getLabelForId, getLongDescription, getPlaceholderText, getShortDescription, getShortDescriptionInlineStyles, getValue, getWidgetInlineStyles, isMandatory, setHelpIndicatorContent
-
Methods inherited from class com.adobe.aemds.guide.common.GuideNode
activate, checkIfPathIsAbsolute, externalize, getAddMessage, getAppearance, getAuthoringConfigJSON, getBindRef, getClientLibRef, getColspan, getCssClassName, getDescription, getEnabled, getEnabledExp, getError, getFieldInlineStyles, getHeight, getI18n, getId, getInlineCssClass, getInlineStyles, getIsEditMode, getIsRepeatable, getItems, getLayoutPath, getLayoutTabType, getLongDescriptionInlineStyles, getName, getNavTitle, getNodeClass, getNonNavigableProperty, getPath, getQuestionMarkInlineStyles, getRemoveMessage, getResourceSuperType, getResourceType, getResponsiveClasses, getSlingRequest, getStyles, getTargetVersion, getTitle, getToolbarPosition, getVersion, getVisible, getVisibleExp, getWidth, getXssapi, getXssDescription, isDocumentFragmentGroup, isLayoutNavigable, isMenuRequired, isValid, isValidDorTemplateRef, setClientLibRef, setResource, setSlingRequest, syncNode, validate
-
Methods inherited from class com.adobe.cq.sightly.WCMUsePojo
get, getComponent, getComponentContext, getCurrentDesign, getCurrentPage, getCurrentStyle, getDesigner, getEditContext, getInheritedProperties, getPageManager, getPageProperties, getProperties, getRequest, getResource, getResourceDesign, getResourcePage, getResourceResolver, getResponse, getSlingScriptHelper, getWcmMode, getXSSAPI, init
-
-
-
-
Method Detail
-
getMimeType
public java.lang.String getMimeType()
Returns the file type supported by the file upload component configured in authoring dialog- Returns:
- String[] representing the file types supported
-
getButtonText
public java.lang.String getButtonText()
Returns the button text configured for the file upload component during authoring- Returns:
- String representing the button text
-
getGuideFieldType
public java.lang.String getGuideFieldType()
Returns the field type of the Adaptive Forms Component- Specified by:
getGuideFieldType
in interfaceFDField
- Overrides:
getGuideFieldType
in classGuideNode
- Returns:
- String representing guide field type
-
getMultiSelection
public boolean getMultiSelection()
Returns the multiSelection property configured for file upload component during authoring- Returns:
- Boolean representing multi selection
-
-