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.
Use
MainMenuBuilder
instead.- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddChild
(IMenuEntryModel child) Deprecated.addChild
(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child) Deprecated.boolean
Deprecated.Deprecated.Deprecated.Deprecated.Deprecated.getHref()
Deprecated.getIcon()
Deprecated.getId()
Deprecated.Deprecated.Deprecated.Deprecated.getText()
Deprecated.int
hashCode()
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.boolean
Deprecated.void
setAccessable
(boolean accessable) Deprecated.void
setAdminDashCategory
(EAdminDashCategory adminDashCategory) Deprecated.void
setDescription
(String description) Deprecated.void
setExternal
(boolean external) Deprecated.void
Deprecated.void
Deprecated.void
Deprecated.void
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
Deprecated.void
Deprecated.
-
Constructor Details
-
MenuEntryModel
protected MenuEntryModel()Deprecated.
-
-
Method Details
-
getText
Deprecated.- Specified by:
getText
in interfaceIMenuEntryModel
- Returns:
- The name of this menu entry, as shown in the menu.
-
getDescription
Deprecated.- Specified by:
getDescription
in interfaceIMenuEntryModel
- Returns:
- A long description or explanation for this menu entry.
-
getChildren
Deprecated.- Specified by:
getChildren
in interfaceIMenuEntryModel
- Returns:
- All children of this menu entry.
-
addChild
Deprecated.- Specified by:
addChild
in interfaceIMenuEntryModel
-
addChild
Deprecated.- Specified by:
addChild
in interfaceIMenuEntryModel
-
getId
Deprecated.- Specified by:
getId
in interfaceIMenuEntryModel
- Returns:
- The unique ID of this menu entry. Can be used as an HTML id.
-
getIcon
Deprecated.- Specified by:
getIcon
in interfaceIMenuEntryModel
- Returns:
- Icon this menu entry if it has one, or
null
.
-
getHref
Deprecated.- Specified by:
getHref
in interfaceIMenuEntryModel
- Returns:
- The link to this menu entry. For internal pages, this is the relative link.
-
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
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
Deprecated. -
setDescription
Deprecated. -
setId
Deprecated. -
setIcon
Deprecated. -
getStyleClass
Deprecated. -
setStyleClass
Deprecated. -
setHref
Deprecated. -
setHelpID
Deprecated. -
setRendered
public void setRendered(boolean rendered) Deprecated. -
setRenderedOnDash
public void setRenderedOnDash(boolean renderedOnDash) Deprecated. -
setAdminDashCategory
Deprecated. -
setExternal
public void setExternal(boolean external) Deprecated. -
setAccessable
public void setAccessable(boolean accessable) Deprecated. -
hashCode
public int hashCode()Deprecated. -
equals
Deprecated. -
getTarget
Deprecated.- Specified by:
getTarget
in interfaceIMenuEntryModel
- Returns:
- The target for menu entry link f.e. _self, _blank, _top, framename
-
setTarget
Deprecated. -
getParent
Deprecated.- Specified by:
getParent
in interfaceIMenuEntryModel
- Returns:
- The parent of this entry, or
null
if it is a root entry.
-
setParent
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.- Specified by:
isLicensed
in interfaceIMenuEntryModel
- Returns:
true
if the license allows this feature,false
otherwise.
-
setLicensed
Deprecated.
-