org.apache.lenya.cms.repository
Interface RepositoryItemFactory

All Known Subinterfaces:
DocumentFactory, NodeFactory

public interface RepositoryItemFactory

Interface for repository item factories.


Method Summary
 RepositoryItem buildItem(Session session, java.lang.String key)
           
 java.lang.String getItemType()
           
 

Method Detail

getItemType

java.lang.String getItemType()
Returns:
The item type.

buildItem

RepositoryItem buildItem(Session session,
                         java.lang.String key)
                         throws RepositoryException
Parameters:
session - The current session.
key - The key.
Returns:
A repository item.
Throws:
RepositoryException - if an error occurs.


Copyright 1999-2006 Apache Software Foundation. All Rights Reserved.