Class AuditUser

java.lang.Object
com.logicaldoc.audit.AuditUser
All Implemented Interfaces:
com.logicaldoc.core.security.user.UserListener

public class AuditUser extends Object implements com.logicaldoc.core.security.user.UserListener
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    afterStore(com.logicaldoc.core.security.user.User user, com.logicaldoc.core.security.user.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 user, com.logicaldoc.core.security.user.UserHistory transaction, Map<String,Object> dictionary)
    This method verifies if the user is not already stored into the database.

    Methods inherited from class java.lang.Object

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

    • AuditUser

      public AuditUser()
  • Method Details

    • beforeStore

      public void beforeStore(com.logicaldoc.core.security.user.User user, com.logicaldoc.core.security.user.UserHistory transaction, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      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 interface com.logicaldoc.core.security.user.UserListener
      Throws:
      com.logicaldoc.core.PersistenceException
    • afterStore

      public void afterStore(com.logicaldoc.core.security.user.User user, com.logicaldoc.core.security.user.UserHistory transaction, Map<String,Object> dictionary) throws com.logicaldoc.core.PersistenceException
      If the user is stored into the database,checks if some user must be notified of this creation.
      Specified by:
      afterStore in interface com.logicaldoc.core.security.user.UserListener
      Throws:
      com.logicaldoc.core.PersistenceException