org.apache.jetspeed.page.document
Interface DocumentHandler


public interface DocumentHandler

DocumentHandler

Version:
$Id: DocumentHandler.java 187962 2004-11-19 03:07:43Z taylor $
Author:
Scott T. Weaver

Method Summary
 Document getDocument(String name)
           
 Document getDocument(String name, boolean fromCahe)
           
 DocumentHandlerFactory getHandlerFactory()
           
 String getType()
           
 void removeDocument(Document document)
           
 void setHandlerFactory(DocumentHandlerFactory factory)
           
 void updateDocument(Document document)
           
 

Method Detail

getDocument

public Document getDocument(String name)
                     throws DocumentNotFoundException,
                            NodeException
Throws:
DocumentNotFoundException
NodeException

getDocument

public Document getDocument(String name,
                            boolean fromCahe)
                     throws DocumentNotFoundException,
                            NodeException
Throws:
DocumentNotFoundException
NodeException

updateDocument

public void updateDocument(Document document)
                    throws FailedToUpdateDocumentException
Throws:
FailedToUpdateDocumentException

removeDocument

public void removeDocument(Document document)
                    throws DocumentNotFoundException,
                           FailedToDeleteDocumentException
Throws:
DocumentNotFoundException
FailedToDeleteDocumentException

getType

public String getType()

getHandlerFactory

public DocumentHandlerFactory getHandlerFactory()

setHandlerFactory

public void setHandlerFactory(DocumentHandlerFactory factory)


Copyright © 1999-2005 Apache Software Foundation. All Rights Reserved.