public class NavigationDisplayItem extends Object
| Constructor and Description |
|---|
NavigationDisplayItem(org.nuxeo.ecm.automation.client.model.Document document,
org.osivia.portal.api.urls.Link link,
boolean selected,
boolean current,
boolean fetchedChildren,
org.osivia.portal.core.cms.CMSItem navItem)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String[] |
getAcceptedTypes()
Getter for acceptedTypes.
|
List<NavigationDisplayItem> |
getChildren()
Getter for children.
|
String |
getId()
Getter for id.
|
org.osivia.portal.core.cms.CMSItem |
getNavItem()
Getter for navItem.
|
String |
getTitle()
Getter for title.
|
String |
getUrl()
Getter for url.
|
boolean |
isCurrent()
Getter for current.
|
boolean |
isExternal()
Getter for external.
|
boolean |
isFetchedChildren()
Getter for fetchedChildren.
|
boolean |
isLastSelected()
Getter for lastSelected.
|
boolean |
isSelected()
Getter for selected.
|
void |
setLastSelected(boolean lastSelected)
Setter for lastSelected.
|
String |
toString() |
public NavigationDisplayItem(org.nuxeo.ecm.automation.client.model.Document document,
org.osivia.portal.api.urls.Link link,
boolean selected,
boolean current,
boolean fetchedChildren,
org.osivia.portal.core.cms.CMSItem navItem)
document - Nuxeo documentlink - linkselected - selected item indicatorcurrent - current item indicatorfetchedChildren - fetched children indicatornavItem - CMS navigation itempublic String getId()
public String getTitle()
public String getUrl()
public boolean isExternal()
public boolean isSelected()
public boolean isCurrent()
public boolean isFetchedChildren()
public org.osivia.portal.core.cms.CMSItem getNavItem()
public String[] getAcceptedTypes()
public List<NavigationDisplayItem> getChildren()
public boolean isLastSelected()
public void setLastSelected(boolean lastSelected)
lastSelected - the lastSelected to setCopyright © 2019. All rights reserved.