Class CustomMenu
java.lang.Object
fr.paris.lutece.plugins.menus.business.CustomMenu
- All Implemented Interfaces:
Serializable
This is the business class for the object CustomMenu
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddItem(CustomMenuItem item) Add an item to the menuReturns the BookmarkReturns the DescriptionintgetId()Returns the IdReturns the list of itemsgetName()Returns the NamegetType()Returns the TypevoidremoveItem(CustomMenuItem item) Remove an item from the menuvoidsetBookmark(String strBookmark) Sets the BookmarkvoidsetDescription(String strDescription) Sets the descriptionvoidsetId(int nId) Sets the IdvoidsetListItems(List<CustomMenuItem> listItems) Sets the list of itemsvoidSets the NamevoidSets the Type
-
Field Details
-
TYPE_MAIN
- See Also:
-
TYPE_SUBMENU
- See Also:
-
TYPE_INTERNAL
- See Also:
-
TYPE_SIDEBAR
- See Also:
-
-
Constructor Details
-
CustomMenu
public CustomMenu()Constructor
-
-
Method Details
-
getId
public int getId()Returns the Id- Returns:
- The Id
-
setId
public void setId(int nId) Sets the Id- Parameters:
nId- The Id
-
getName
Returns the Name- Returns:
- The Name
-
setName
Sets the Name- Parameters:
strName- The Name
-
getBookmark
Returns the Bookmark- Returns:
- The Bookmark
-
setBookmark
Sets the Bookmark- Parameters:
strBookmark- The Bookmark
-
getType
Returns the Type- Returns:
- The Type
-
setType
Sets the Type- Parameters:
strType- The Type
-
getDescription
Returns the Description- Returns:
- The Description
-
setDescription
Sets the description- Parameters:
string- Description The Description
-
getListItems
Returns the list of items- Returns:
- The list of items
-
setListItems
Sets the list of items- Parameters:
listItems- The list of items
-