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.UseMainMenuBuilderinstead.- See Also:
 - Serialized Form
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMenuEntryModel.BuilderDeprecated. 
- 
Constructor Summary
Constructors Modifier Constructor Description protectedMenuEntryModel()Deprecated. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description IMenuEntryModeladdChild(IMenuEntryModel child)Deprecated.IMenuEntryModeladdChild(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child)Deprecated.booleanequals(Object obj)Deprecated.EAdminDashCategorygetAdminDashCategory()Deprecated.List<IMenuEntryModel>getChildren()Deprecated.StringgetDescription()Deprecated.StringgetHelpID()Deprecated.StringgetHref()Deprecated.IGuiIcongetIcon()Deprecated.StringgetId()Deprecated.IMenuEntryModelgetParent()Deprecated.StringgetStyleClass()Deprecated.StringgetTarget()Deprecated.StringgetText()Deprecated.inthashCode()Deprecated.booleanisAccessable()Deprecated.booleanisExternal()Deprecated.booleanisHasRenderedChildren()Deprecated.booleanisLicensed()Deprecated.booleanisRendered()Deprecated.booleanisRenderedOnDash()Deprecated.voidsetAccessable(boolean accessable)Deprecated.voidsetAdminDashCategory(EAdminDashCategory adminDashCategory)Deprecated.voidsetDescription(String description)Deprecated.voidsetExternal(boolean external)Deprecated.voidsetHelpID(String helpID)Deprecated.voidsetHref(String href)Deprecated.voidsetIcon(IGuiIcon icon)Deprecated.voidsetId(String id)Deprecated.voidsetLicensed(boolean licensed)Deprecated.voidsetParent(MenuEntryModel parent)Deprecated.voidsetRendered(boolean rendered)Deprecated.voidsetRenderedOnDash(boolean renderedOnDash)Deprecated.voidsetStyleClass(String styleClass)Deprecated.voidsetTarget(String target)Deprecated.voidsetText(String text)Deprecated. 
 - 
 
- 
- 
Method Detail
- 
getText
public String getText()
Deprecated.- Specified by:
 getTextin interfaceIMenuEntryModel- Returns:
 - The name of this menu entry, as shown in the menu.
 
 
- 
getDescription
public String getDescription()
Deprecated.- Specified by:
 getDescriptionin interfaceIMenuEntryModel- Returns:
 - A long description or explanation for this menu entry.
 
 
- 
getChildren
public List<IMenuEntryModel> getChildren()
Deprecated.- Specified by:
 getChildrenin interfaceIMenuEntryModel- Returns:
 - All children of this menu entry.
 
 
- 
addChild
public IMenuEntryModel addChild(IMenuEntryModel child)
Deprecated.- Specified by:
 addChildin interfaceIMenuEntryModel
 
- 
addChild
public IMenuEntryModel addChild(org.apache.commons.lang3.builder.Builder<IMenuEntryModel> child)
Deprecated.- Specified by:
 addChildin interfaceIMenuEntryModel
 
- 
getId
public String getId()
Deprecated.- Specified by:
 getIdin interfaceIMenuEntryModel- Returns:
 - The unique ID of this menu entry. Can be used as an HTML id.
 
 
- 
getIcon
public IGuiIcon getIcon()
Deprecated.- Specified by:
 getIconin interfaceIMenuEntryModel- Returns:
 - Icon this menu entry if it has one, or 
null. 
 
- 
getHref
public String getHref()
Deprecated.- Specified by:
 getHrefin interfaceIMenuEntryModel- Returns:
 - The link to this menu entry. For internal pages, this is the relative link.
 
 
- 
getHelpID
public String getHelpID()
Deprecated.- Specified by:
 getHelpIDin 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:
 isRenderedin 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:
 isExternalin interfaceIMenuEntryModel- Returns:
 - the external
 
 
- 
isRenderedOnDash
public boolean isRenderedOnDash()
Deprecated.- Specified by:
 isRenderedOnDashin interfaceIMenuEntryModel- Returns:
 - Whether this item is available on the client (normal) dashboard.
 
 
- 
isAccessable
public boolean isAccessable()
Deprecated.- Specified by:
 isAccessablein interfaceIMenuEntryModel- Returns:
 - Whether the current user is allowed to access this menu entry.
 
 
- 
getAdminDashCategory
public EAdminDashCategory getAdminDashCategory()
Deprecated.- Specified by:
 getAdminDashCategoryin 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:
 getTargetin 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:
 getParentin interfaceIMenuEntryModel- Returns:
 - The parent of this entry, or 
nullif it is a root entry. 
 
- 
setParent
public void setParent(MenuEntryModel parent)
Deprecated.- Specified by:
 setParentin interfaceIMenuEntryModel- Parameters:
 parent- The parent of this entry, ornullif it is a root entry.
 
- 
isHasRenderedChildren
public boolean isHasRenderedChildren()
Deprecated.- Specified by:
 isHasRenderedChildrenin interfaceIMenuEntryModel- Returns:
 - Whether this entry contains any child that is rendered.
 
 
- 
isLicensed
@Deprecated public boolean isLicensed()
Deprecated.- Specified by:
 isLicensedin interfaceIMenuEntryModel- Returns:
 trueif the license allows this feature,falseotherwise.
 
- 
setLicensed
@Deprecated public void setLicensed(boolean licensed)
Deprecated. 
 - 
 
 -