public class ApplicationMenuImpl extends BaseElementImpl implements ApplicationMenu
Constructor and Description |
---|
ApplicationMenuImpl(String displayName,
long applicationId,
Long applicationPageId,
int index) |
Modifier and Type | Method and Description |
---|---|
long |
getApplicationId()
Retrieves the identifier of related
Application |
Long |
getApplicationPageId()
Retrieves the identifier of related
ApplicationPage . |
String |
getDisplayName()
Retrieves the
ApplicationMenu display name |
int |
getIndex()
Retrieves the
ApplicationMenu index |
Long |
getParentId()
Retrieves the identifier of the parent
ApplicationMenu . |
void |
setParentId(Long parentId) |
String |
toString() |
equals, getId, hashCode, setId
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getId
public String getDisplayName()
ApplicationMenu
ApplicationMenu
display namegetDisplayName
in interface ApplicationMenu
ApplicationMenu
display namepublic Long getApplicationPageId()
ApplicationMenu
ApplicationPage
. If the ApplicationMenu
is not related to an
ApplicationPage
, this method will return null.getApplicationPageId
in interface ApplicationMenu
ApplicationPage
or null if the menu is not related to
ApplicationPage
ApplicationPage
public Long getParentId()
ApplicationMenu
ApplicationMenu
. If the menu does not have a parent menu, this
method will return null.getParentId
in interface ApplicationMenu
ApplicationMenu
or null if the menu has no parent.public void setParentId(Long parentId)
public int getIndex()
ApplicationMenu
ApplicationMenu
indexgetIndex
in interface ApplicationMenu
ApplicationMenu
indexpublic long getApplicationId()
ApplicationMenu
Application
getApplicationId
in interface ApplicationMenu
Application
Application
public String toString()
toString
in class BaseElementImpl
Copyright © 2020 Bonitasoft S.A. All rights reserved.