Class AntivirusScanner

  • All Implemented Interfaces:
    com.logicaldoc.core.document.DocumentListener

    public class AntivirusScanner
    extends Object
    implements com.logicaldoc.core.document.DocumentListener
    Listener that checks if a new document is infected
    Since:
    7.1
    Author:
    Marco Meschieri - LogicalDOC
    • Constructor Detail

      • AntivirusScanner

        public AntivirusScanner()
    • Method Detail

      • afterCheckin

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

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

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

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