Class CustomMenuItem
- java.lang.Object
-
- fr.paris.lutece.plugins.menus.business.CustomMenuItem
-
- All Implemented Interfaces:
java.io.Serializable
public class CustomMenuItem extends java.lang.Object implements java.io.SerializableThis is the business class for the object CustomMenuItem- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringTYPE_EXTERNAL_URLstatic java.lang.StringTYPE_MENUstatic java.lang.StringTYPE_PAGEstatic java.lang.StringTYPE_XPAGE
-
Constructor Summary
Constructors Constructor Description CustomMenuItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Returns the Idjava.lang.StringgetLabel()Returns the LabelintgetOrder()Returns the OrderintgetParentMenuId()Returns the ParentMenuIdjava.lang.StringgetSourceItemId()Returns the SourceItemIdCustomMenugetSubMenu()Returns the subMenujava.lang.StringgetType()Returns the Typejava.lang.StringgetUrl()Returns the UrlbooleanisBlank()Returns the IsBlankbooleanisLabelDynamic()Returns the IsLabelDynamicvoidsetId(int nId)Sets the IdvoidsetIsBlank(boolean bIsBlank)Sets the IsBlankvoidsetIsLabelDynamic(boolean bIsLabelDynamic)Sets the IsLabelDynamicvoidsetLabel(java.lang.String strLabel)Sets the LabelvoidsetOrder(int nOrder)Sets the OrdervoidsetParentMenuId(int nParentMenuId)Sets the ParentMenuIdvoidsetSourceItemId(java.lang.String strSourceItemId)Sets the SourceItemIdvoidsetSubMenu(CustomMenu subMenu)Sets the subMenuvoidsetType(java.lang.String strType)Sets the TypevoidsetUrl(java.lang.String strUrl)Sets the Url
-
-
-
Field Detail
-
TYPE_XPAGE
public static final java.lang.String TYPE_XPAGE
- See Also:
- Constant Field Values
-
TYPE_PAGE
public static final java.lang.String TYPE_PAGE
- See Also:
- Constant Field Values
-
TYPE_EXTERNAL_URL
public static final java.lang.String TYPE_EXTERNAL_URL
- See Also:
- Constant Field Values
-
TYPE_MENU
public static final java.lang.String TYPE_MENU
- See Also:
- Constant Field Values
-
-
Method Detail
-
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
public java.lang.String getSourceItemId()
Returns the SourceItemId- Returns:
- The SourceItemId
-
setSourceItemId
public void setSourceItemId(java.lang.String strSourceItemId)
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
public java.lang.String getType()
Returns the Type- Returns:
- The Type
-
setType
public void setType(java.lang.String strType)
Sets the Type- Parameters:
strType- The Type
-
getLabel
public java.lang.String getLabel()
Returns the Label- Returns:
- The Label
-
setLabel
public void setLabel(java.lang.String strLabel)
Sets the Label- Parameters:
strLabel- The Label
-
getUrl
public java.lang.String getUrl()
Returns the Url- Returns:
- The Url
-
setUrl
public void setUrl(java.lang.String strUrl)
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
public CustomMenu getSubMenu()
Returns the subMenu- Returns:
- The subMenu
-
setSubMenu
public void setSubMenu(CustomMenu subMenu)
Sets the subMenu- Parameters:
subMenu- The subMenu
-
-