to.etc.domui.component.menu
Class MenuItemProxy

java.lang.Object
  extended by to.etc.domui.component.menu.MenuItemProxy
All Implemented Interfaces:
IMenuItem

public class MenuItemProxy
extends java.lang.Object
implements IMenuItem

Proxy to an actual MenuItem which can be used to override a menu with a different order, tree structure.

Author:
Frits Jalvingh Created on Apr 3, 2009

Constructor Summary
MenuItemProxy(IMenuItem actual)
           
 
Method Summary
 java.util.List<IMenuItem> getChildren()
           
 java.lang.String getDescription()
           
 java.lang.String getIconPath()
           
 java.lang.String getId()
           
 java.lang.String getLabel()
           
 int getOrder()
           
 java.lang.Class<? extends UrlPage> getPageClass()
           
 PageParameters getPageParameters()
           
 IMenuItem getParent()
           
 java.lang.String getParentID()
           
 java.lang.String[] getRequiredRights()
           
 java.lang.String getRURL()
           
 java.lang.String getSearchString()
           
 java.lang.String getTarget()
           
 boolean isDisabled()
           
 boolean isSubMenu()
           
 void setChildren(java.util.List<IMenuItem> children)
           
 void setParent(IMenuItem parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuItemProxy

public MenuItemProxy(IMenuItem actual)
Method Detail

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface IMenuItem

getIconPath

public java.lang.String getIconPath()
Specified by:
getIconPath in interface IMenuItem

getId

public java.lang.String getId()
Specified by:
getId in interface IMenuItem

getLabel

public java.lang.String getLabel()
Specified by:
getLabel in interface IMenuItem

getPageClass

public java.lang.Class<? extends UrlPage> getPageClass()
Specified by:
getPageClass in interface IMenuItem

getPageParameters

public PageParameters getPageParameters()
Specified by:
getPageParameters in interface IMenuItem

getParentID

public java.lang.String getParentID()
Specified by:
getParentID in interface IMenuItem

getRequiredRights

public java.lang.String[] getRequiredRights()
Specified by:
getRequiredRights in interface IMenuItem

getSearchString

public java.lang.String getSearchString()
Specified by:
getSearchString in interface IMenuItem

isDisabled

public boolean isDisabled()
Specified by:
isDisabled in interface IMenuItem

isSubMenu

public boolean isSubMenu()
Specified by:
isSubMenu in interface IMenuItem

getChildren

public java.util.List<IMenuItem> getChildren()
Specified by:
getChildren in interface IMenuItem

setChildren

public void setChildren(java.util.List<IMenuItem> children)

getOrder

public int getOrder()
Specified by:
getOrder in interface IMenuItem

getParent

public IMenuItem getParent()

setParent

public void setParent(IMenuItem parent)

getRURL

public java.lang.String getRURL()
Specified by:
getRURL in interface IMenuItem

getTarget

public java.lang.String getTarget()
Specified by:
getTarget in interface IMenuItem