Package com.logicaldoc.audit
Class AuditUser
- java.lang.Object
-
- com.logicaldoc.audit.AuditUser
-
- All Implemented Interfaces:
com.logicaldoc.core.security.UserListener
public class AuditUser extends Object implements com.logicaldoc.core.security.UserListener
-
-
Constructor Summary
Constructors Constructor Description AuditUser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterStore(com.logicaldoc.core.security.User user, com.logicaldoc.core.security.UserHistory transaction, Map<String,Object> dictionary)
If the user is stored into the database,checks if some user must be notified of this creation.void
beforeStore(com.logicaldoc.core.security.User user, com.logicaldoc.core.security.UserHistory transaction, Map<String,Object> dictionary)
This method verifies if the user is not already stored into the database.
-
-
-
Method Detail
-
beforeStore
public void beforeStore(com.logicaldoc.core.security.User user, com.logicaldoc.core.security.UserHistory transaction, Map<String,Object> dictionary) throws Exception
This method verifies if the user is not already stored into the database. If so, we put an entry into the dictionary to recognizes the user after the store operation.- Specified by:
beforeStore
in interfacecom.logicaldoc.core.security.UserListener
- Throws:
Exception
-
afterStore
public void afterStore(com.logicaldoc.core.security.User user, com.logicaldoc.core.security.UserHistory transaction, Map<String,Object> dictionary) throws Exception
If the user is stored into the database,checks if some user must be notified of this creation.- Specified by:
afterStore
in interfacecom.logicaldoc.core.security.UserListener
- Throws:
Exception
-
-