Package com.logicaldoc.enterprise
Class AntivirusScanner
java.lang.Object
com.logicaldoc.enterprise.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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterCheckin(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String, Object> dictionary) voidafterSaveHistory(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory event, Map<String, Object> dictionary) voidafterStore(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String, Object> dictionary) voidbeforeCheckin(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String, Object> dictionary) voidbeforeStore(com.logicaldoc.core.document.Document document, com.logicaldoc.core.document.DocumentHistory transaction, Map<String, Object> dictionary)
-
Constructor Details
-
AntivirusScanner
public AntivirusScanner()
-
-
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:
afterCheckinin interfacecom.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:
afterStorein interfacecom.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:
beforeCheckinin interfacecom.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:
beforeStorein interfacecom.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:
afterSaveHistoryin interfacecom.logicaldoc.core.document.DocumentListener- Throws:
com.logicaldoc.core.PersistenceException
-