public class MenuItem extends Object implements de.deepamehta.core.JSONEnabled
Modifier and Type | Field and Description |
---|---|
boolean |
hasChildItems |
de.deepamehta.core.Topic |
menuItem |
Website |
website |
Constructor and Description |
---|
MenuItem(long topicId,
Website website,
de.deepamehta.core.service.CoreService dms) |
MenuItem(de.deepamehta.core.Topic menuItem,
Website website) |
Modifier and Type | Method and Description |
---|---|
List<MenuItem> |
getChildMenuItems() |
String |
getFullHref() |
String |
getHref() |
long |
getId() |
String |
getLabel() |
boolean |
isActive() |
org.codehaus.jettison.json.JSONObject |
toJSON() |
public de.deepamehta.core.Topic menuItem
public Website website
public boolean hasChildItems
public MenuItem(de.deepamehta.core.Topic menuItem, Website website)
public MenuItem(long topicId, Website website, de.deepamehta.core.service.CoreService dms)
public long getId()
public String getLabel()
public String getHref()
public String getFullHref()
public boolean isActive()
public org.codehaus.jettison.json.JSONObject toJSON()
toJSON
in interface de.deepamehta.core.JSONEnabled
Copyright © 2017. All rights reserved.