Class 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 Detail

      • GuideFileUpload

        public GuideFileUpload()
    • 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 interface FDField
        Overrides:
        getGuideFieldType in class GuideNode
        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