Package com.logicaldoc.form
Class FormManager
- java.lang.Object
-
- com.logicaldoc.form.FormManager
-
public class FormManager extends Object
Manager for Forms, a form is a document of FORM nature.- Since:
- 7.3
- Author:
- Marco Meschieri - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description FormManager()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
fillForm(com.logicaldoc.core.document.Document document, com.logicaldoc.core.History transaction)
Fills the form of a document with the values and updates the file of the current versioncom.logicaldoc.core.conversion.FormatConverterManager
getConverter()
com.logicaldoc.core.document.DocumentManager
getDocumentManager()
com.logicaldoc.core.store.Storer
getStorer()
void
setConverter(com.logicaldoc.core.conversion.FormatConverterManager converter)
void
setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
void
setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
void
setFormDao(FormDAO formDao)
void
setStorer(com.logicaldoc.core.store.Storer storer)
-
-
-
Method Detail
-
getDocumentManager
public com.logicaldoc.core.document.DocumentManager getDocumentManager()
-
setDocumentManager
public void setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
-
setDocumentDao
public void setDocumentDao(com.logicaldoc.core.document.dao.DocumentDAO documentDao)
-
fillForm
public void fillForm(com.logicaldoc.core.document.Document document, com.logicaldoc.core.History transaction) throws Exception
Fills the form of a document with the values and updates the file of the current version- Parameters:
document
- the form to filltransaction
- the current transaction- Throws:
Exception
- error in the database
-
getStorer
public com.logicaldoc.core.store.Storer getStorer()
-
setStorer
public void setStorer(com.logicaldoc.core.store.Storer storer)
-
getConverter
public com.logicaldoc.core.conversion.FormatConverterManager getConverter()
-
setConverter
public void setConverter(com.logicaldoc.core.conversion.FormatConverterManager converter)
-
setFormDao
public void setFormDao(FormDAO formDao)
-
-