Package org.apache.ofbiz.widget.model
Class ModelMenuItem.MenuLink
java.lang.Object
org.apache.ofbiz.widget.model.ModelMenuItem.MenuLink
- Enclosing class:
- ModelMenuItem
-
Constructor Summary
ConstructorDescriptionMenuLink
(GenericValue portalPage, ModelMenuItem parentMenuItem, Locale locale) MenuLink
(ModelMenuItem.MenuLink originLink, ModelMenuItem parentMenuItem) MenuLink
(Element linkElement, ModelMenuItem parentMenuItem) -
Method Summary
Modifier and TypeMethodDescriptionGets auto entity parameters.Gets auto service parameters.boolean
Gets encode.boolean
Gets full path.Gets height.Gets id.Gets id exdr.getImage()
Gets image.getLink()
Gets link.Gets link menu item.Gets link type.getName()
Gets name.Gets name.Gets name exdr.Gets parameter list.getParameterMap
(Map<String, Object> context) Gets parameter map.getParameterMap
(Map<String, Object> context, boolean propagateCallback) Gets parameter map.Gets prefix.Gets prefix exdr.boolean
Gets secure.Gets style.Gets style exdr.Gets target.Gets target exdr.getTargetWindow
(Map<String, Object> context) Gets target window.Gets target window exdr.Gets text.Gets text exdr.Gets url mode.getWidth()
Gets width.void
renderLinkString
(Appendable writer, Map<String, Object> context, MenuStringRenderer menuStringRenderer) Render link string.
-
Constructor Details
-
MenuLink
-
MenuLink
-
MenuLink
-
-
Method Details
-
getAutoEntityParameters
Gets auto entity parameters.- Returns:
- the auto entity parameters
-
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
Gets height.- Returns:
- the height
-
getId
Gets id.- Parameters:
context
- the context- Returns:
- the id
-
getIdExdr
Gets id exdr.- Returns:
- the id exdr
-
getImage
Gets image.- Returns:
- the image
-
getLinkType
Gets link type.- Returns:
- the link type
-
getName
Gets name.- Returns:
- the name
-
getName
Gets name.- Parameters:
context
- the context- Returns:
- the name
-
getNameExdr
Gets name exdr.- Returns:
- the name exdr
-
getParameterList
Gets parameter list.- Returns:
- the parameter list
-
getParameterMap
Gets parameter map.- Parameters:
context
- the context- Returns:
- the parameter map
-
getParameterMap
Gets parameter map.- Parameters:
context
- the contextpropagateCallback
- indicate if we need to propagate callback element- Returns:
- the parameter map
-
getPrefix
Gets prefix.- Parameters:
context
- the context- Returns:
- the prefix
-
getPrefixExdr
Gets prefix exdr.- Returns:
- the prefix exdr
-
getSecure
public boolean getSecure()Gets secure.- Returns:
- the secure
-
getStyle
Gets style.- Parameters:
context
- the context- Returns:
- the style
-
getStyleExdr
Gets style exdr.- Returns:
- the style exdr
-
getTarget
Gets target.- Parameters:
context
- the context- Returns:
- the target
-
getTargetExdr
Gets target exdr.- Returns:
- the target exdr
-
getTargetWindow
Gets target window.- Parameters:
context
- the context- Returns:
- the target window
-
getTargetWindowExdr
Gets target window exdr.- Returns:
- the target window exdr
-
getText
Gets text.- Parameters:
context
- the context- Returns:
- the text
-
getTextExdr
Gets text exdr.- Returns:
- the text exdr
-
getUrlMode
Gets url mode.- Returns:
- the url mode
-
getWidth
Gets width.- Returns:
- the width
-
getLinkMenuItem
Gets link menu item.- Returns:
- the link menu item
-
getLink
Gets link.- Returns:
- the link
-
renderLinkString
public void renderLinkString(Appendable writer, Map<String, Object> context, MenuStringRenderer menuStringRenderer) throws IOExceptionRender link string.- Parameters:
writer
- the writercontext
- the contextmenuStringRenderer
- the menu string renderer- Throws:
IOException
- the io exception
-