Class JSONCreationOptions


  • public class JSONCreationOptions
    extends java.lang.Object
    • Field Detail

      • adobeSignNameIndexMap

        public java.util.Map<java.lang.String,​java.lang.Integer> adobeSignNameIndexMap
      • somMap

        public java.util.Map<java.lang.String,​java.lang.Integer> somMap
    • Constructor Detail

      • JSONCreationOptions

        public JSONCreationOptions()
      • JSONCreationOptions

        public JSONCreationOptions​(I18n i18n,
                                   boolean includeJcrPath,
                                   boolean includeFragmentJson,
                                   java.util.Locale locale,
                                   Resource formResource)
    • Method Detail

      • isV2Form

        public boolean isV2Form()
      • setV2Form

        public void setV2Form​(boolean isV2Form)
      • getLocale

        public java.util.Locale getLocale()
      • setLocale

        public void setLocale​(java.util.Locale locale)
      • getContextNeeded

        public boolean getContextNeeded()
      • getI18n

        public I18n getI18n()
      • isIncludeJcrPath

        public boolean isIncludeJcrPath()
      • isIncludeFragmentJson

        public boolean isIncludeFragmentJson()
      • setIncludeFragmentJson

        public void setIncludeFragmentJson​(boolean includeFragmentJson)
      • getFormResource

        public Resource getFormResource()
      • setFormResource

        public void setFormResource​(Resource formResource)
      • getFormResourceProperty

        public java.lang.String getFormResourceProperty​(java.lang.String propertyName)
      • getDataRef

        public java.lang.String getDataRef()
      • getPagePath

        public java.lang.String getPagePath()
      • getBindRefToAFNameMap

        public java.util.Map getBindRefToAFNameMap()
      • setBindRefToAFNameMap

        public void setBindRefToAFNameMap​(java.util.Map bindRefToAFNameMap)
      • getFormContainerPath

        public java.lang.String getFormContainerPath()
      • setFormContainerPath

        public JSONCreationOptions setFormContainerPath​(java.lang.String formContainerPath)
      • getData

        public java.lang.String getData()
      • getRulesScriptsScope

        public Scriptable getRulesScriptsScope()
        get the rhino scope initialized with objects required to generate scripts from rules
        Returns:
      • setRulesScriptsScope

        public JSONCreationOptions setRulesScriptsScope​(Scriptable rulesScriptsScope)
        Set scope initialized with objects required to generate scripts from rules
        Parameters:
        rulesScriptsScope -
        Returns:
      • getExpTreeJsonMap

        public java.util.Map<java.lang.String,​java.lang.String> getExpTreeJsonMap()
        Gets the expression editor tree json this is required to initialize expression editor scope/context before generating scripts
        Returns:
      • setExpTreeJsonMap

        public JSONCreationOptions setExpTreeJsonMap​(java.util.Map<java.lang.String,​java.lang.String> treeJsonMap)
        Set the expression editor tree json this is require to initialize expression editor scope/context before generating scripts
        Parameters:
        treeJsonMap -
        Returns:
      • getSignerResource

        public SignerResource getSignerResource()
        Gets the guideContainer signer information in form of SignerResource
        Returns:
        SignerResource
      • getAdobeSignFieldNameIndex

        public java.lang.Integer getAdobeSignFieldNameIndex​(java.lang.String name)
        Gets the index in case adobe sign field has a duplicate name.
        Parameters:
        name -
        Returns:
        index, in case there is repetition in name
      • getSOMIndex

        public java.lang.Integer getSOMIndex​(java.lang.String som)
      • getPrefillServiceParams

        public java.util.Map getPrefillServiceParams()
      • setPrefillServiceParams

        public void setPrefillServiceParams​(java.util.Map prefillServiceParams)
      • getWebVariableAssignments

        public java.util.Map<java.lang.String,​java.lang.String> getWebVariableAssignments()
      • setWebVariableAssignments

        public void setWebVariableAssignments​(java.util.Map<java.lang.String,​java.lang.String> webVariableAssignments)