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

public class ApplicationMenuImpl extends BaseElementImpl implements ApplicationMenu
Author:
Elias Ricken de Medeiros
See Also:
  • Constructor Details

    • ApplicationMenuImpl

      public ApplicationMenuImpl(String displayName, long applicationId, Long applicationPageId, int index)
  • Method Details

    • getDisplayName

      public String getDisplayName()
      Description copied from interface: ApplicationMenu
      Retrieves the ApplicationMenu display name
      Specified by:
      getDisplayName in interface ApplicationMenu
      Returns:
      the ApplicationMenu display name
    • getApplicationPageId

      public Long getApplicationPageId()
      Description copied from interface: ApplicationMenu
      Retrieves the identifier of related ApplicationPage. If the ApplicationMenu is not related to an ApplicationPage, this method will return null.
      Specified by:
      getApplicationPageId in interface ApplicationMenu
      Returns:
      the identifier of related ApplicationPage or null if the menu is not related to ApplicationPage
      See Also:
    • getParentId

      public Long getParentId()
      Description copied from interface: ApplicationMenu
      Retrieves the identifier of the parent ApplicationMenu. If the menu does not have a parent menu, this method will return null.
      Specified by:
      getParentId in interface ApplicationMenu
      Returns:
      the identifier of the parent ApplicationMenu or null if the menu has no parent.
    • setParentId

      public void setParentId(Long parentId)
    • getIndex

      public int getIndex()
      Description copied from interface: ApplicationMenu
      Retrieves the ApplicationMenu index
      Specified by:
      getIndex in interface ApplicationMenu
      Returns:
      the ApplicationMenu index
    • getApplicationId

      public long getApplicationId()
      Description copied from interface: ApplicationMenu
      Retrieves the identifier of related Application
      Specified by:
      getApplicationId in interface ApplicationMenu
      Returns:
      the identifier of related Application
      See Also:
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class BaseElementImpl
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class BaseElementImpl
    • toString

      public String toString()
      Overrides:
      toString in class BaseElementImpl