Class ModelFormField.HyperlinkField

java.lang.Object
org.apache.ofbiz.widget.model.FieldInfo
org.apache.ofbiz.widget.model.ModelFormField.HyperlinkField
Enclosing class:
ModelFormField

public static class ModelFormField.HyperlinkField extends FieldInfo
Models the <hyperlink> element.
See Also:
  • widget-form.xsd
  • Constructor Details

  • Method Details

    • accept

      public void accept(ModelFieldVisitor visitor) throws Exception
      Specified by:
      accept in class FieldInfo
      Throws:
      Exception
    • copy

      public FieldInfo copy(ModelFormField modelFormField)
      Description copied from class: FieldInfo
      Returns a new instance of this object.
      Specified by:
      copy in class FieldInfo
    • getAlsoHidden

      public boolean getAlsoHidden()
      Gets also hidden.
      Returns:
      the also hidden
    • getConfirmation

      public String getConfirmation(Map<String,Object> context)
      Gets confirmation.
      Parameters:
      context - the context
      Returns:
      the confirmation
    • getAlternate

      public String getAlternate(Map<String,Object> context)
      Gets alternate.
      Parameters:
      context - the context
      Returns:
      the alternate
    • getImageTitle

      public String getImageTitle(Map<String,Object> context)
      Gets image title.
      Parameters:
      context - the context
      Returns:
      the image title
    • getImageLocation

      public String getImageLocation(Map<String,Object> context)
      Gets image location.
      Parameters:
      context - the context
      Returns:
      the image location
    • getConfirmationMsg

      public String getConfirmationMsg(Map<String,Object> context)
      Gets confirmation msg.
      Parameters:
      context - the context
      Returns:
      the confirmation msg
    • getConfirmationMsgExdr

      public FlexibleStringExpander getConfirmationMsgExdr()
      Gets confirmation msg exdr.
      Returns:
      the confirmation msg exdr
    • getDescription

      public FlexibleStringExpander getDescription()
      Gets description.
      Returns:
      the description
    • getDescription

      public String getDescription(Map<String,Object> context)
      Gets description.
      Parameters:
      context - the context
      Returns:
      the description
    • getRequestConfirmation

      public boolean getRequestConfirmation()
      Gets request confirmation.
      Returns:
      the request confirmation
    • getLink

      public CommonWidgetModels.Link getLink()
      Gets link.
      Returns:
      the link
    • getAutoEntityParameters

      public CommonWidgetModels.AutoEntityParameters getAutoEntityParameters()
      Gets auto entity parameters.
      Returns:
      the auto entity parameters
    • getAutoServiceParameters

      public CommonWidgetModels.AutoServiceParameters getAutoServiceParameters()
      Gets auto service parameters.
      Returns:
      the auto service parameters
    • getEncode

      public boolean getEncode()
      Gets encode.
      Returns:
      the encode
    • getFullPath

      public boolean getFullPath()
      Gets full path.
      Returns:
      the full path
    • getHeight

      public String getHeight()
      Gets height.
      Returns:
      the height
    • getId

      public String getId(Map<String,Object> context)
      Gets id.
      Parameters:
      context - the context
      Returns:
      the id
    • getIdExdr

      public FlexibleStringExpander getIdExdr()
      Gets id exdr.
      Returns:
      the id exdr
    • getTitle

      public String getTitle()
      Gets title.
      Returns:
      the title
    • getImage

      public CommonWidgetModels.Image getImage()
      Gets image.
      Returns:
      the image
    • getLinkType

      public String getLinkType()
      Gets link type.
      Returns:
      the link type
    • getName

      public String getName()
      Gets name.
      Returns:
      the name
    • getName

      public String getName(Map<String,Object> context)
      Gets name.
      Parameters:
      context - the context
      Returns:
      the name
    • getNameExdr

      public FlexibleStringExpander getNameExdr()
      Gets name exdr.
      Returns:
      the name exdr
    • getParameterList

      public List<CommonWidgetModels.Parameter> getParameterList()
      Gets parameter list.
      Returns:
      the parameter list
    • getParameterMap

      public Map<String,String> getParameterMap(Map<String,Object> context, String defaultEntityName, String defaultServiceName)
      Gets parameter map.
      Parameters:
      context - the context
      defaultEntityName - the default entity name
      defaultServiceName - the default service name
      Returns:
      the parameter map
    • getParameterMap

      public Map<String,String> getParameterMap(Map<String,Object> context)
      Gets parameter map.
      Parameters:
      context - the context
      Returns:
      the parameter map
    • getPrefix

      public String getPrefix(Map<String,Object> context)
      Gets prefix.
      Parameters:
      context - the context
      Returns:
      the prefix
    • getPrefixExdr

      public FlexibleStringExpander getPrefixExdr()
      Gets prefix exdr.
      Returns:
      the prefix exdr
    • getSecure

      public boolean getSecure()
      Gets secure.
      Returns:
      the secure
    • getSize

      public Integer getSize()
      Gets size.
      Returns:
      the size
    • getStyle

      public String getStyle(Map<String,Object> context)
      Gets style.
      Parameters:
      context - the context
      Returns:
      the style
    • getStyleExdr

      public FlexibleStringExpander getStyleExdr()
      Gets style exdr.
      Returns:
      the style exdr
    • getTarget

      public String getTarget(Map<String,Object> context)
      Gets target.
      Parameters:
      context - the context
      Returns:
      the target
    • getTargetExdr

      public FlexibleStringExpander getTargetExdr()
      Gets target exdr.
      Returns:
      the target exdr
    • getTargetWindow

      public String getTargetWindow(Map<String,Object> context)
      Gets target window.
      Parameters:
      context - the context
      Returns:
      the target window
    • getTargetWindowExdr

      public FlexibleStringExpander getTargetWindowExdr()
      Gets target window exdr.
      Returns:
      the target window exdr
    • getText

      public String getText(Map<String,Object> context)
      Gets text.
      Parameters:
      context - the context
      Returns:
      the text
    • getTextExdr

      public FlexibleStringExpander getTextExdr()
      Gets text exdr.
      Returns:
      the text exdr
    • getUrlMode

      public String getUrlMode()
      Gets url mode.
      Returns:
      the url mode
    • getWidth

      public String getWidth()
      Gets width.
      Returns:
      the width
    • renderFieldString

      public void renderFieldString(Appendable writer, Map<String,Object> context, FormStringRenderer formStringRenderer) throws IOException
      Specified by:
      renderFieldString in class FieldInfo
      Throws:
      IOException