Package de.xima.fc.gui.common.model
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.UseMainMenuBuilder
instead.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MenuEntryModel.Builder
Deprecated.
-
Constructor Summary
Constructors Modifier Constructor Description protected
MenuEntryModel()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IMenuEntryModel
addChild(IMenuEntryModel child)
Deprecated.IMenuEntryModel
addChild(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child)
Deprecated.boolean
equals(Object obj)
Deprecated.EAdminDashCategory
getAdminDashCategory()
Deprecated.List<IMenuEntryModel>
getChildren()
Deprecated.String
getDescription()
Deprecated.String
getHelpID()
Deprecated.String
getHref()
Deprecated.IGuiIcon
getIcon()
Deprecated.String
getId()
Deprecated.IMenuEntryModel
getParent()
Deprecated.String
getStyleClass()
Deprecated.String
getTarget()
Deprecated.String
getText()
Deprecated.int
hashCode()
Deprecated.boolean
isAccessable()
Deprecated.boolean
isExternal()
Deprecated.boolean
isHasRenderedChildren()
Deprecated.boolean
isLicensed()
Deprecated.boolean
isRendered()
Deprecated.boolean
isRenderedOnDash()
Deprecated.void
setAccessable(boolean accessable)
Deprecated.void
setAdminDashCategory(EAdminDashCategory adminDashCategory)
Deprecated.void
setDescription(String description)
Deprecated.void
setExternal(boolean external)
Deprecated.void
setHelpID(String helpID)
Deprecated.void
setHref(String href)
Deprecated.void
setIcon(IGuiIcon icon)
Deprecated.void
setId(String id)
Deprecated.void
setLicensed(boolean licensed)
Deprecated.void
setParent(MenuEntryModel parent)
Deprecated.void
setRendered(boolean rendered)
Deprecated.void
setRenderedOnDash(boolean renderedOnDash)
Deprecated.void
setStyleClass(String styleClass)
Deprecated.void
setTarget(String target)
Deprecated.void
setText(String text)
Deprecated.
-
-
-
Method Detail
-
getText
public String getText()
Deprecated.- Specified by:
getText
in interfaceIMenuEntryModel
- Returns:
- The name of this menu entry, as shown in the menu.
-
getDescription
public String getDescription()
Deprecated.- Specified by:
getDescription
in interfaceIMenuEntryModel
- Returns:
- A long description or explanation for this menu entry.
-
getChildren
public List<IMenuEntryModel> getChildren()
Deprecated.- Specified by:
getChildren
in interfaceIMenuEntryModel
- Returns:
- All children of this menu entry.
-
addChild
public IMenuEntryModel addChild(IMenuEntryModel child)
Deprecated.- Specified by:
addChild
in interfaceIMenuEntryModel
-
addChild
public IMenuEntryModel addChild(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child)
Deprecated.- Specified by:
addChild
in interfaceIMenuEntryModel
-
getId
public String getId()
Deprecated.- Specified by:
getId
in interfaceIMenuEntryModel
- Returns:
- The unique ID of this menu entry. Can be used as an HTML id.
-
getIcon
public IGuiIcon getIcon()
Deprecated.- Specified by:
getIcon
in interfaceIMenuEntryModel
- Returns:
- Icon this menu entry if it has one, or
null
.
-
getHref
public String getHref()
Deprecated.- Specified by:
getHref
in interfaceIMenuEntryModel
- Returns:
- The link to this menu entry. For internal pages, this is the relative link.
-
getHelpID
public String getHelpID()
Deprecated.- Specified by:
getHelpID
in interfaceIMenuEntryModel
- 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 interfaceIMenuEntryModel
- 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 interfaceIMenuEntryModel
- Returns:
- the external
-
isRenderedOnDash
public boolean isRenderedOnDash()
Deprecated.- Specified by:
isRenderedOnDash
in interfaceIMenuEntryModel
- Returns:
- Whether this item is available on the client (normal) dashboard.
-
isAccessable
public boolean isAccessable()
Deprecated.- Specified by:
isAccessable
in interfaceIMenuEntryModel
- Returns:
- Whether the current user is allowed to access this menu entry.
-
getAdminDashCategory
public EAdminDashCategory getAdminDashCategory()
Deprecated.- Specified by:
getAdminDashCategory
in interfaceIMenuEntryModel
- 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.
-
getTarget
public String getTarget()
Deprecated.- Specified by:
getTarget
in interfaceIMenuEntryModel
- 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 interfaceIMenuEntryModel
- 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 interfaceIMenuEntryModel
- Parameters:
parent
- The parent of this entry, ornull
if it is a root entry.
-
isHasRenderedChildren
public boolean isHasRenderedChildren()
Deprecated.- Specified by:
isHasRenderedChildren
in interfaceIMenuEntryModel
- Returns:
- Whether this entry contains any child that is rendered.
-
isLicensed
@Deprecated public boolean isLicensed()
Deprecated.- Specified by:
isLicensed
in interfaceIMenuEntryModel
- Returns:
true
if the license allows this feature,false
otherwise.
-
setLicensed
@Deprecated public void setLicensed(boolean licensed)
Deprecated.
-
-