Class PromptObjectWidgetTransform

    • Constructor Detail

      • PromptObjectWidgetTransform

        public PromptObjectWidgetTransform()
    • Method Detail

      • getAnswer

        public java.util.ArrayList getAnswer()
      • getSuggestedAnswers

        public java.util.ArrayList getSuggestedAnswers()
      • shouldRenderNoneOption

        public boolean shouldRenderNoneOption()
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Transform
        Returns a textual description of the transform.
        Specified by:
        getDescription in interface Transform
        Returns:
        The textual description of the transform.
      • getAvailableFolderWidget

        public Block getAvailableFolderWidget​(java.lang.String styleName)
      • isAnswerComplex

        public boolean isAnswerComplex()
      • getDefaultAnswerAsString

        public java.lang.String getDefaultAnswerAsString()
        In "Each on a separate page" mode, we only collected the first page's search result, if there is a search defined. The suggested answer for other prompts are valid, but we have not collect the search results for other prompts, if there is any. And we do not want to collect those search data, since avoiding them is the purpose of the "Each on a separate page" mode. So, in layout file, we should first check whether available folder is available before rendering it out.
      • showIncrementalFetch

        public boolean showIncrementalFetch()
      • getAvailableFolderWidget

        public Block getAvailableFolderWidget​(java.lang.String styleName,
                                              java.lang.String paramName,
                                              boolean paramValue)
      • getSupportedBeanType

        public java.lang.Class getSupportedBeanType()
        Get the class of objects this transform is able to handle.
        Specified by:
        getSupportedBeanType in interface Transform
        Overrides:
        getSupportedBeanType in class AbstractAppTransform
        Returns:
        a Class instance with the information about the beans this transform is able to manipulate.