Class CustomMenuItem
java.lang.Object
fr.paris.lutece.plugins.menus.business.CustomMenuItem
- All Implemented Interfaces:
Serializable
This is the business class for the object CustomMenuItem
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetId()Returns the IdgetLabel()Returns the LabelintgetOrder()Returns the OrderintReturns the ParentMenuIdReturns the SourceItemIdReturns the subMenugetType()Returns the TypegetUrl()Returns the UrlbooleanisBlank()Returns the IsBlankbooleanReturns the IsLabelDynamicvoidsetId(int nId) Sets the IdvoidsetIsBlank(boolean bIsBlank) Sets the IsBlankvoidsetIsLabelDynamic(boolean bIsLabelDynamic) Sets the IsLabelDynamicvoidSets the LabelvoidsetOrder(int nOrder) Sets the OrdervoidsetParentMenuId(int nParentMenuId) Sets the ParentMenuIdvoidsetSourceItemId(String strSourceItemId) Sets the SourceItemIdvoidsetSubMenu(CustomMenu subMenu) Sets the subMenuvoidSets the TypevoidSets the Url
-
Field Details
-
TYPE_XPAGE
- See Also:
-
TYPE_PAGE
- See Also:
-
TYPE_EXTERNAL_URL
- See Also:
-
TYPE_MENU
- See Also:
-
-
Constructor Details
-
CustomMenuItem
public CustomMenuItem()
-
-
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
-
getParentMenuId
public int getParentMenuId()Returns the ParentMenuId- Returns:
- The ParentMenuId
-
setParentMenuId
public void setParentMenuId(int nParentMenuId) Sets the ParentMenuId- Parameters:
nParentMenuId- The ParentMenuId
-
getSourceItemId
Returns the SourceItemId- Returns:
- The SourceItemId
-
setSourceItemId
Sets the SourceItemId- Parameters:
strSourceItemId- The SourceItemId
-
isLabelDynamic
public boolean isLabelDynamic()Returns the IsLabelDynamic- Returns:
- The IsLabelDynamic
-
setIsLabelDynamic
public void setIsLabelDynamic(boolean bIsLabelDynamic) Sets the IsLabelDynamic- Parameters:
bIsLabelDynamic- The IsLabelDynamic
-
isBlank
public boolean isBlank()Returns the IsBlank- Returns:
- The IsBlank
-
setIsBlank
public void setIsBlank(boolean bIsBlank) Sets the IsBlank- Parameters:
bIsBlank- The IsBlank
-
getType
Returns the Type- Returns:
- The Type
-
setType
Sets the Type- Parameters:
strType- The Type
-
getLabel
Returns the Label- Returns:
- The Label
-
setLabel
Sets the Label- Parameters:
strLabel- The Label
-
getUrl
Returns the Url- Returns:
- The Url
-
setUrl
Sets the Url- Parameters:
strUrl- The Url
-
getOrder
public int getOrder()Returns the Order- Returns:
- The Order
-
setOrder
public void setOrder(int nOrder) Sets the Order- Parameters:
nOrder- The Order
-
getSubMenu
Returns the subMenu- Returns:
- The subMenu
-