com.liferay.portal.theme
Class NavItem
java.lang.Object
com.liferay.portal.theme.NavItem
- All Implemented Interfaces:
- java.io.Serializable
- public class NavItem
- extends java.lang.Object
- implements java.io.Serializable
View Source
- Author:
- Brian Wing Shun Chan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NavItem
public NavItem(RequestVars vars,
Layout layout)
fromLayout
public static NavItem fromLayout(RequestVars vars,
Layout layout)
fromLayouts
public static java.util.List fromLayouts(RequestVars vars,
java.util.List layouts)
getLayout
public Layout getLayout()
isSelected
public boolean isSelected()
getName
public java.lang.String getName()
getTarget
public java.lang.String getTarget()
getTitle
public java.lang.String getTitle()
getURL
public java.lang.String getURL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getRegularURL
public java.lang.String getRegularURL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getResetMaxStateURL
public java.lang.String getResetMaxStateURL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getResetLayoutURL
public java.lang.String getResetLayoutURL()
throws java.lang.Exception
- Throws:
java.lang.Exception
getChildren
public java.util.List getChildren()
throws java.lang.Exception
- Throws:
java.lang.Exception
hasChildren
public boolean hasChildren()
throws java.lang.Exception
- Throws:
java.lang.Exception
icon
public java.lang.String icon()
throws java.lang.Exception
- Throws:
java.lang.Exception