org.gatein.mop.core.api.workspace
Class NavigationImpl

java.lang.Object
  extended by org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
      extended by org.gatein.mop.core.api.workspace.NavigationImpl
All Implemented Interfaces:
Navigation, Templatized, TemplatizedObject, WorkspaceObject

public abstract class NavigationImpl
extends WorkspaceObjectImpl
implements Navigation

Version:
$Revision$
Author:
Julien Viet

Constructor Summary
NavigationImpl()
           
 
Method Summary
 NavigationImpl addChild(String name)
           
abstract  NavigationImpl createNavigation(String name)
           
abstract  PageLinkImpl createPageLink()
           
abstract  URLLinkImpl createURLTarget()
           
abstract  void destroy()
           
 Navigation getChild(String name)
           
 Collection<? extends Navigation> getChildren()
           
abstract  NavigationContainer getChildrenContainer()
           
abstract  LinkImpl getLink()
           
 ObjectType<? extends Navigation> getObjectType()
           
abstract  PageImpl getPageTemplate()
           
 Navigation getParent()
           
abstract  NavigationContainer getParentContainer()
           
abstract  SiteImpl getParentSite()
           
 Site getSite()
           
 Page getTemplate()
           
<L extends Link>
L
linkTo(ObjectType<L> linkType)
           
abstract  LinkImpl setLink(LinkImpl target)
           
abstract  void setPageTemplate(PageImpl template)
           
 void setTemplate(Page template)
           
 
Methods inherited from class org.gatein.mop.core.api.workspace.WorkspaceObjectImpl
getAttributes, getName, getObjectId, getProperties, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.gatein.mop.api.workspace.Navigation
getName
 
Methods inherited from interface org.gatein.mop.api.workspace.WorkspaceObject
getAttributes, getObjectId
 

Constructor Detail

NavigationImpl

public NavigationImpl()
Method Detail

getParentSite

public abstract SiteImpl getParentSite()

getChildrenContainer

public abstract NavigationContainer getChildrenContainer()

getParentContainer

public abstract NavigationContainer getParentContainer()

getLink

public abstract LinkImpl getLink()
Specified by:
getLink in interface Navigation

setLink

public abstract LinkImpl setLink(LinkImpl target)

createNavigation

public abstract NavigationImpl createNavigation(String name)

createURLTarget

public abstract URLLinkImpl createURLTarget()

createPageLink

public abstract PageLinkImpl createPageLink()

getPageTemplate

public abstract PageImpl getPageTemplate()

setPageTemplate

public abstract void setPageTemplate(PageImpl template)

destroy

public abstract void destroy()
Specified by:
destroy in interface Navigation

getObjectType

public ObjectType<? extends Navigation> getObjectType()
Specified by:
getObjectType in interface Navigation
Specified by:
getObjectType in interface WorkspaceObject

getTemplate

public Page getTemplate()
Specified by:
getTemplate in interface Templatized

setTemplate

public void setTemplate(Page template)
Specified by:
setTemplate in interface Templatized

getParent

public Navigation getParent()
Specified by:
getParent in interface Navigation

getChildren

public Collection<? extends Navigation> getChildren()
Specified by:
getChildren in interface Navigation

getChild

public Navigation getChild(String name)
Specified by:
getChild in interface Navigation

addChild

public NavigationImpl addChild(String name)
Specified by:
addChild in interface Navigation

linkTo

public <L extends Link> L linkTo(ObjectType<L> linkType)
Specified by:
linkTo in interface Navigation

getSite

public Site getSite()
Specified by:
getSite in interface Navigation


Copyright © 2009 eXo Platform SAS. All Rights Reserved.