Class ModelMenuItem.MenuLink

java.lang.Object
org.apache.ofbiz.widget.model.ModelMenuItem.MenuLink
Enclosing class:
ModelMenuItem

public static class ModelMenuItem.MenuLink extends Object
  • Constructor Details

  • Method Details

    • 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
    • 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)
      Gets parameter map.
      Parameters:
      context - the context
      Returns:
      the parameter map
    • getParameterMap

      public Map<String,String> getParameterMap(Map<String,Object> context, boolean propagateCallback)
      Gets parameter map.
      Parameters:
      context - the context
      propagateCallback - indicate if we need to propagate callback element
      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
    • 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
    • getLinkMenuItem

      public ModelMenuItem getLinkMenuItem()
      Gets link menu item.
      Returns:
      the link menu item
    • getLink

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

      public void renderLinkString(Appendable writer, Map<String,Object> context, MenuStringRenderer menuStringRenderer) throws IOException
      Render link string.
      Parameters:
      writer - the writer
      context - the context
      menuStringRenderer - the menu string renderer
      Throws:
      IOException - the io exception