Class MenuEntryModel

java.lang.Object
de.xima.fc.gui.common.model.MenuEntryModel
All Implemented Interfaces:
IMenuEntryModel, Serializable
Direct Known Subclasses:
SubMenuEntryModel

@Deprecated public class MenuEntryModel extends Object implements IMenuEntryModel
Deprecated.
Use MainMenuBuilder instead.
See Also:
  • Constructor Details

    • MenuEntryModel

      protected MenuEntryModel()
      Deprecated.
  • Method Details

    • getText

      public String getText()
      Deprecated.
      Specified by:
      getText in interface IMenuEntryModel
      Returns:
      The name of this menu entry, as shown in the menu.
    • getDescription

      public String getDescription()
      Deprecated.
      Specified by:
      getDescription in interface IMenuEntryModel
      Returns:
      A long description or explanation for this menu entry.
    • getChildren

      public List<IMenuEntryModel> getChildren()
      Deprecated.
      Specified by:
      getChildren in interface IMenuEntryModel
      Returns:
      All children of this menu entry.
    • addChild

      public IMenuEntryModel addChild(IMenuEntryModel child)
      Deprecated.
      Specified by:
      addChild in interface IMenuEntryModel
    • addChild

      public IMenuEntryModel addChild(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child)
      Deprecated.
      Specified by:
      addChild in interface IMenuEntryModel
    • getId

      public String getId()
      Deprecated.
      Specified by:
      getId in interface IMenuEntryModel
      Returns:
      The unique ID of this menu entry. Can be used as an HTML id.
    • getIcon

      public IGuiIcon getIcon()
      Deprecated.
      Specified by:
      getIcon in interface IMenuEntryModel
      Returns:
      Icon this menu entry if it has one, or null.
    • getHref

      public String getHref()
      Deprecated.
      Specified by:
      getHref in interface IMenuEntryModel
      Returns:
      The link to this menu entry. For internal pages, this is the relative link.
    • getHelpID

      public String getHelpID()
      Deprecated.
      Specified by:
      getHelpID in interface IMenuEntryModel
      Returns:
      The ID for the help page for this menu entry. The help pages are currently located at http://help.formcycle.eu
    • isRendered

      public boolean isRendered()
      Deprecated.
      Specified by:
      isRendered in interface IMenuEntryModel
      Returns:
      Whether this menu entry is displayed. Note that a menu entry may not be displayed on a particular page, but still be IMenuEntryModel.isAccessable() by that user.
    • isExternal

      public boolean isExternal()
      Deprecated.
      Specified by:
      isExternal in interface IMenuEntryModel
      Returns:
      the external
    • isRenderedOnDash

      public boolean isRenderedOnDash()
      Deprecated.
      Specified by:
      isRenderedOnDash in interface IMenuEntryModel
      Returns:
      Whether this item is available on the client (normal) dashboard.
    • isAccessable

      public boolean isAccessable()
      Deprecated.
      Specified by:
      isAccessable in interface IMenuEntryModel
      Returns:
      Whether the current user is allowed to access this menu entry.
    • getAdminDashCategory

      public EAdminDashCategory getAdminDashCategory()
      Deprecated.
      Specified by:
      getAdminDashCategory in interface IMenuEntryModel
      Returns:
      If null, this item is not available on the sadmin dashboard. Otherwise, it is available under that category.
    • setText

      public void setText(String text)
      Deprecated.
    • setDescription

      public void setDescription(String description)
      Deprecated.
    • setId

      public void setId(String id)
      Deprecated.
    • setIcon

      public void setIcon(IGuiIcon icon)
      Deprecated.
    • getStyleClass

      public String getStyleClass()
      Deprecated.
    • setStyleClass

      public void setStyleClass(String styleClass)
      Deprecated.
    • setHref

      public void setHref(String href)
      Deprecated.
    • setHelpID

      public void setHelpID(String helpID)
      Deprecated.
    • setRendered

      public void setRendered(boolean rendered)
      Deprecated.
    • setRenderedOnDash

      public void setRenderedOnDash(boolean renderedOnDash)
      Deprecated.
    • setAdminDashCategory

      public void setAdminDashCategory(EAdminDashCategory adminDashCategory)
      Deprecated.
    • setExternal

      public void setExternal(boolean external)
      Deprecated.
    • setAccessable

      public void setAccessable(boolean accessable)
      Deprecated.
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Deprecated.
      Overrides:
      equals in class Object
    • getTarget

      public String getTarget()
      Deprecated.
      Specified by:
      getTarget in interface IMenuEntryModel
      Returns:
      The target for menu entry link f.e. _self, _blank, _top, framename
    • setTarget

      public void setTarget(String target)
      Deprecated.
    • getParent

      public IMenuEntryModel getParent()
      Deprecated.
      Specified by:
      getParent in interface IMenuEntryModel
      Returns:
      The parent of this entry, or null if it is a root entry.
    • setParent

      public void setParent(MenuEntryModel parent)
      Deprecated.
      Specified by:
      setParent in interface IMenuEntryModel
      Parameters:
      parent - The parent of this entry, or null if it is a root entry.
    • isHasRenderedChildren

      public boolean isHasRenderedChildren()
      Deprecated.
      Specified by:
      isHasRenderedChildren in interface IMenuEntryModel
      Returns:
      Whether this entry contains any child that is rendered.
    • isLicensed

      @Deprecated public boolean isLicensed()
      Deprecated.
      Specified by:
      isLicensed in interface IMenuEntryModel
      Returns:
      true if the license allows this feature, false otherwise.
    • setLicensed

      @Deprecated public void setLicensed(boolean licensed)
      Deprecated.