Class FormManager

java.lang.Object
com.logicaldoc.form.FormManager

@Component("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
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fillForm(com.logicaldoc.core.document.Document document, com.logicaldoc.core.history.History transaction)
    Fills the form of a document with the values and updates the file of the current version
    com.logicaldoc.core.conversion.FormatConverterManager
     
    com.logicaldoc.core.document.DocumentManager
     
    com.logicaldoc.core.store.Store
     
    void
    setConverter(com.logicaldoc.core.conversion.FormatConverterManager converter)
     
    void
    setDocumentDao(com.logicaldoc.core.document.DocumentDAO documentDao)
     
    void
    setDocumentManager(com.logicaldoc.core.document.DocumentManager documentManager)
     
    void
     
    void
    setStore(com.logicaldoc.core.store.Store store)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • FormManager

      public FormManager()
  • Method Details

    • 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.DocumentDAO documentDao)
    • fillForm

      public void fillForm(com.logicaldoc.core.document.Document document, com.logicaldoc.core.history.History transaction) throws IOException, com.logicaldoc.core.PersistenceException, com.logicaldoc.core.automation.AutomationException
      Fills the form of a document with the values and updates the file of the current version
      Parameters:
      document - the form to fill
      transaction - the current transaction
      Throws:
      IOException - I/O error
      com.logicaldoc.core.PersistenceException - Error in the data layer
      com.logicaldoc.core.automation.AutomationException - the script has been evaluated but produced an error
    • getStore

      public com.logicaldoc.core.store.Store getStore()
    • setStore

      public void setStore(com.logicaldoc.core.store.Store store)
    • getConverter

      public com.logicaldoc.core.conversion.FormatConverterManager getConverter()
    • setConverter

      public void setConverter(com.logicaldoc.core.conversion.FormatConverterManager converter)
    • setFormDao

      public void setFormDao(FormDAO formDao)