public abstract class NavigationImpl extends WorkspaceObjectImpl implements Navigation
model| Constructor and Description |
|---|
NavigationImpl() |
| Modifier and Type | Method and Description |
|---|---|
NavigationImpl |
addChild(Integer index,
String name) |
NavigationImpl |
addChild(String name) |
abstract NavigationImpl |
createNavigation(String name) |
abstract PageLinkImpl |
createPageLink() |
abstract URLLinkImpl |
createURLTarget() |
abstract void |
destroy() |
Navigation |
getChild(String name) |
List<Navigation> |
getChildren() |
abstract NavigationContainer |
getChildrenContainer() |
int |
getIndex() |
abstract LinkImpl |
getLink() |
String |
getName() |
ObjectType<? extends Navigation> |
getObjectType() |
NavigationImpl |
getParent() |
abstract NavigationContainer |
getParentContainer() |
abstract SiteImpl |
getParentSite() |
Site |
getSite() |
abstract TemplatizedImpl |
getTemplatized() |
<L extends Link> |
linkTo(ObjectType<L> linkType) |
abstract LinkImpl |
setLink(LinkImpl target) |
void |
setName(String name) |
abstract void |
setTemplatized(TemplatizedImpl templatized) |
adapt, getAttributes, getNodeName, getObjectId, isAdapted, removeAdapter, setNodeName, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAttributes, getObjectIdadapt, isAdapted, removeAdapterpublic abstract SiteImpl getParentSite()
public abstract NavigationContainer getChildrenContainer()
public abstract NavigationContainer getParentContainer()
public abstract LinkImpl getLink()
getLink in interface Navigationpublic abstract NavigationImpl createNavigation(String name)
public abstract URLLinkImpl createURLTarget()
public abstract PageLinkImpl createPageLink()
public abstract void destroy()
destroy in interface Navigationpublic abstract TemplatizedImpl getTemplatized()
getTemplatized in interface Navigationpublic abstract void setTemplatized(TemplatizedImpl templatized)
public String getName()
getName in interface NavigationgetName in class WorkspaceObjectImplpublic void setName(String name)
setName in interface Navigationpublic int getIndex()
getIndex in interface Navigationpublic ObjectType<? extends Navigation> getObjectType()
getObjectType in interface NavigationgetObjectType in interface WorkspaceObjectpublic NavigationImpl getParent()
getParent in interface Navigationpublic List<Navigation> getChildren()
getChildren in interface Navigationpublic Navigation getChild(String name)
getChild in interface Navigationpublic NavigationImpl addChild(Integer index, String name) throws NullPointerException, IndexOutOfBoundsException, IllegalArgumentException
addChild in interface NavigationNullPointerExceptionIndexOutOfBoundsExceptionIllegalArgumentExceptionpublic NavigationImpl addChild(String name)
addChild in interface Navigationpublic <L extends Link> L linkTo(ObjectType<L> linkType)
linkTo in interface Navigationpublic Site getSite()
getSite in interface NavigationCopyright © 2025 JBoss by Red Hat. All Rights Reserved.