Package org.broadleafcommerce.menu.dto
Class MenuItemDTO
java.lang.Object
org.broadleafcommerce.menu.dto.MenuItemDTO
- All Implemented Interfaces:
Serializable
A Generic DTO object that represents the information to display a Menu Item.
Can be used on the front end as a way to easily iterate and display menu items of different types.
- Author:
- Elbert Bautista (elbertbautista)
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLabel()static longgetUrl()voidsetAltText(String altText) voidsetCategoryId(Long categoryId) voidsetCustomHtml(String customHtml) voidsetImageUrl(String imageUrl) voidvoidsetSubmenu(List<MenuItemDTO> submenu) void
-
Field Details
-
label
-
url
-
imageUrl
-
altText
-
customHtml
-
categoryId
not always set, only if the menu item represents a category.
-
-
Constructor Details
-
MenuItemDTO
public MenuItemDTO()
-
-
Method Details
-
getLabel
-
setLabel
-
getUrl
-
setUrl
-
getImageUrl
-
setImageUrl
-
getAltText
-
setAltText
-
getCategoryId
-
setCategoryId
-
getSerialversionuid
public static long getSerialversionuid() -
getCustomHtml
-
setCustomHtml
-