org.apache.lenya.cms.site.simple
Class SimpleSiteNode
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.lenya.cms.site.AbstractSiteNode
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)
|
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 |
SimpleSiteNode
protected SimpleSiteNode(DocumentStore store,
java.lang.String path,
java.lang.String uuid,
org.apache.avalon.framework.logger.Logger logger)
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.