Class AEMForm

  • All Implemented Interfaces:
    Use
    Direct Known Subclasses:
    AdaptiveForm

    public class AEMForm
    extends WCMUsePojo
    AEMForm class encapsulates basic properties of an AEM Form.
    Since:
    6.2
    • Constructor Detail

      • AEMForm

        public AEMForm()
    • Method Detail

      • activate

        public void activate()
                      throws java.lang.Exception
        Description copied from class: WCMUsePojo
        Implement this method to perform post initialization tasks. This method is called by WCMUsePojo.init(Bindings).
        Specified by:
        activate in class WCMUsePojo
        Throws:
        java.lang.Exception - in case of any error during activation
      • getThemeName

        public java.lang.String getThemeName()
        Returns the client lib name for the theme
        Returns:
        client lib name of the theme configured for the form
      • getFormPath

        public java.lang.String getFormPath()
      • getEnableFocusOnFirstField

        public boolean getEnableFocusOnFirstField()
        Returns the configuration to enable focus on form.
        Returns:
        boolean to enable/disable focus on form
      • getThemePath

        public java.lang.String getThemePath()
        Returns the path of the theme associated with adaptive form.
        Returns:
        Path of the theme associated with adaptive form.
      • getFormEditPagePath

        public java.lang.String getFormEditPagePath()
      • getFormType

        public int getFormType()
      • getIsAdaptiveForm

        public boolean getIsAdaptiveForm()
      • getIsMCDocument

        public boolean getIsMCDocument()
      • getIsMobileForm

        public boolean getIsMobileForm()
      • getIsMobileFormset

        public boolean getIsMobileFormset()
      • getIsFormSelected

        public boolean getIsFormSelected()
      • getSubmitType

        public java.lang.String getSubmitType()
      • getThankyouMessage

        public java.lang.String getThankyouMessage()
      • getThankyouPage

        public java.lang.String getThankyouPage()
      • getThankyouConfig

        public java.lang.String getThankyouConfig()
      • getHeight

        public java.lang.String getHeight()
        The functions checks the height set in the dialog. It appends the height with px unless it is auto. For invalid values (non integers), auto is returned.
        Returns:
        height of the form configured
      • getCssClientlib

        public java.lang.String getCssClientlib()
      • getAdditionalParamString

        public java.lang.String getAdditionalParamString()
      • getIsPlaceholderVisible

        public boolean getIsPlaceholderVisible()
      • getPath

        public java.lang.String getPath()