org.apache.lenya.cms.site.simple
Class SimpleSiteNode

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.site.AbstractSiteNode
          extended by org.apache.lenya.cms.site.simple.SimpleSiteNode
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.cms.site.SiteNode

public class SimpleSiteNode
extends org.apache.lenya.cms.site.AbstractSiteNode

Node for SimpleSiteManager.


Constructor Summary
protected SimpleSiteNode(DocumentStore store, java.lang.String path, java.lang.String uuid, org.apache.avalon.framework.logger.Logger logger)
           
 
Method Summary
 void delete()
           
 org.apache.lenya.cms.site.SiteNode[] getChildren()
           
 java.lang.String getHref()
           
 java.lang.String[] getLanguages()
           
 org.apache.lenya.cms.site.Link getLink(java.lang.String language)
           
 java.lang.String getName()
           
 org.apache.lenya.cms.site.SiteNode getParent()
           
 java.lang.String getSuffix()
           
 boolean hasLink()
           
 boolean isVisible()
           
 void setVisible(boolean visibleInNav)
           
 
Methods inherited from class org.apache.lenya.cms.site.AbstractSiteNode
equals, getKey, getPath, getStructure, getUuid, hashCode, hasLink, isTopLevel
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSiteNode

protected SimpleSiteNode(DocumentStore store,
                         java.lang.String path,
                         java.lang.String uuid,
                         org.apache.avalon.framework.logger.Logger logger)
Method Detail

getLink

public org.apache.lenya.cms.site.Link getLink(java.lang.String language)
                                       throws org.apache.lenya.cms.site.SiteException
Throws:
org.apache.lenya.cms.site.SiteException

getName

public java.lang.String getName()

getLanguages

public java.lang.String[] getLanguages()

isVisible

public boolean isVisible()

setVisible

public void setVisible(boolean visibleInNav)

delete

public void delete()

getChildren

public org.apache.lenya.cms.site.SiteNode[] getChildren()

getHref

public java.lang.String getHref()

getSuffix

public java.lang.String getSuffix()

hasLink

public boolean hasLink()

getParent

public org.apache.lenya.cms.site.SiteNode getParent()
                                             throws org.apache.lenya.cms.site.SiteException
Specified by:
getParent in interface org.apache.lenya.cms.site.SiteNode
Overrides:
getParent in class org.apache.lenya.cms.site.AbstractSiteNode
Throws:
org.apache.lenya.cms.site.SiteException


Copyright © $ Apache Software Foundation. All Rights Reserved.