org.apache.lenya.cms.site.tree
Class SiteTreeFactory

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.lenya.cms.site.tree.SiteTreeFactory
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.lenya.cms.repository.RepositoryItemFactory

public class SiteTreeFactory
extends org.apache.avalon.framework.logger.AbstractLogEnabled
implements org.apache.lenya.cms.repository.RepositoryItemFactory

Factory for sitetree objects.

Version:
$Id: SiteTreeFactory.java 179568 2005-06-02 09:27:26Z jwkaltz $

Field Summary
protected  org.apache.avalon.framework.service.ServiceManager manager
           
 
Constructor Summary
SiteTreeFactory(org.apache.avalon.framework.service.ServiceManager manager, org.apache.avalon.framework.logger.Logger logger)
          Ctor.
 
Method Summary
 org.apache.lenya.cms.repository.RepositoryItem buildItem(org.apache.lenya.cms.repository.Session session, java.lang.String key)
           
 java.lang.String getItemType()
           
 boolean isSharable()
           
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

manager

protected org.apache.avalon.framework.service.ServiceManager manager
Constructor Detail

SiteTreeFactory

public SiteTreeFactory(org.apache.avalon.framework.service.ServiceManager manager,
                       org.apache.avalon.framework.logger.Logger logger)
Ctor.

Parameters:
manager - The service manager.
logger - The logger.
Method Detail

buildItem

public org.apache.lenya.cms.repository.RepositoryItem buildItem(org.apache.lenya.cms.repository.Session session,
                                                                java.lang.String key)
                                                         throws org.apache.lenya.cms.repository.RepositoryException
Specified by:
buildItem in interface org.apache.lenya.cms.repository.RepositoryItemFactory
Throws:
org.apache.lenya.cms.repository.RepositoryException

getItemType

public java.lang.String getItemType()
Specified by:
getItemType in interface org.apache.lenya.cms.repository.RepositoryItemFactory

isSharable

public boolean isSharable()


Copyright $ Apache Software Foundation. All Rights Reserved.