org.outerj.daisy.repository
Interface PreSaveHook


public interface PreSaveHook

A pre-save hook is executed after the repository user requested to save the document, but before the document is actually saved.

This hook can modify the content of the document before saving. For example, to extract information from images or other types of documents and assign it to parts or fields.


Method Summary
 java.lang.String getName()
           
 void process(org.outerj.daisy.repository.Document document, org.outerj.daisy.repository.Repository repository)
           
 

Method Detail

getName

java.lang.String getName()

process

void process(org.outerj.daisy.repository.Document document,
             org.outerj.daisy.repository.Repository repository)
             throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © -2012 . All Rights Reserved.