Class EmbeddingUpdater

java.lang.Object
com.logicaldoc.ai.embedding.EmbeddingUpdater
All Implemented Interfaces:
com.logicaldoc.core.document.DocumentListener

public class EmbeddingUpdater extends Object implements com.logicaldoc.core.document.DocumentListener
Listener that takes care of manipulating the vector store depending on the changes done over the document.
Since:
9.2.2
Author:
Marco Meschieri - LogicalDOC
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterCheckin(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary)
     
    void
    afterSaveHistory(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory event, Map<String,Object> dictionary)
     
    void
    afterStore(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary)
     
    void
    beforeCheckin(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary)
     
    void
    beforeStore(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary)
     

    Methods inherited from class java.lang.Object

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

    • EmbeddingUpdater

      public EmbeddingUpdater()
  • Method Details

    • afterCheckin

      public void afterCheckin(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      Specified by:
      afterCheckin in interface com.logicaldoc.core.document.DocumentListener
      Throws:
      com.logicaldoc.core.PersistenceException
    • afterStore

      public void afterStore(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      Specified by:
      afterStore in interface com.logicaldoc.core.document.DocumentListener
      Throws:
      com.logicaldoc.core.PersistenceException
    • beforeCheckin

      public void beforeCheckin(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      Specified by:
      beforeCheckin in interface com.logicaldoc.core.document.DocumentListener
      Throws:
      com.logicaldoc.core.PersistenceException
    • beforeStore

      public void beforeStore(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      Specified by:
      beforeStore in interface com.logicaldoc.core.document.DocumentListener
      Throws:
      com.logicaldoc.core.PersistenceException
    • afterSaveHistory

      public void afterSaveHistory(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory event, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      Specified by:
      afterSaveHistory in interface com.logicaldoc.core.document.DocumentListener
      Throws:
      com.logicaldoc.core.PersistenceException