Class ApplicationMenuImpl
java.lang.Object
org.bonitasoft.engine.bpm.internal.BaseElementImpl
org.bonitasoft.engine.business.application.impl.ApplicationMenuImpl
- All Implemented Interfaces:
Serializable,BaseElement,BonitaObject,ApplicationMenu
- Author:
- Elias Ricken de Medeiros
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionApplicationMenuImpl(String displayName, long applicationId, Long applicationPageId, int index) -
Method Summary
Modifier and TypeMethodDescriptionbooleanlongRetrieves the identifier of relatedApplicationRetrieves the identifier of relatedApplicationPage.Retrieves theApplicationMenudisplay nameintgetIndex()Retrieves theApplicationMenuindexRetrieves the identifier of the parentApplicationMenu.inthashCode()voidsetParentId(Long parentId) toString()Methods inherited from class org.bonitasoft.engine.bpm.internal.BaseElementImpl
canEqual, getId, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.bonitasoft.engine.bpm.BaseElement
getId
-
Constructor Details
-
ApplicationMenuImpl
-
-
Method Details
-
getDisplayName
Description copied from interface:ApplicationMenuRetrieves theApplicationMenudisplay name- Specified by:
getDisplayNamein interfaceApplicationMenu- Returns:
- the
ApplicationMenudisplay name
-
getApplicationPageId
Description copied from interface:ApplicationMenuRetrieves the identifier of relatedApplicationPage. If theApplicationMenuis not related to anApplicationPage, this method will return null.- Specified by:
getApplicationPageIdin interfaceApplicationMenu- Returns:
- the identifier of related
ApplicationPageor null if the menu is not related toApplicationPage - See Also:
-
getParentId
Description copied from interface:ApplicationMenuRetrieves the identifier of the parentApplicationMenu. If the menu does not have a parent menu, this method will return null.- Specified by:
getParentIdin interfaceApplicationMenu- Returns:
- the identifier of the parent
ApplicationMenuor null if the menu has no parent.
-
setParentId
-
getIndex
public int getIndex()Description copied from interface:ApplicationMenuRetrieves theApplicationMenuindex- Specified by:
getIndexin interfaceApplicationMenu- Returns:
- the
ApplicationMenuindex
-
getApplicationId
public long getApplicationId()Description copied from interface:ApplicationMenuRetrieves the identifier of relatedApplication- Specified by:
getApplicationIdin interfaceApplicationMenu- Returns:
- the identifier of related
Application - See Also:
-
equals
- Overrides:
equalsin classBaseElementImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseElementImpl
-
toString
- Overrides:
toStringin classBaseElementImpl
-