org.apache.jetspeed.page.document
Interface DocumentHandler


public interface DocumentHandler

DocumentHandler

Version:
$Id: DocumentHandler.java 516448 2007-03-09 16:25:47Z ate $
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

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

getDocument

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

updateDocument

void updateDocument(Document document)
                    throws FailedToUpdateDocumentException
Throws:
FailedToUpdateDocumentException

removeDocument

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

getType

String getType()

getHandlerFactory

DocumentHandlerFactory getHandlerFactory()

setHandlerFactory

void setHandlerFactory(DocumentHandlerFactory factory)


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