Interface IAccessTrackerProvider

  • All Known Implementing Classes:
    EmailNotificationsAccessTrackerProvider, LogAccessTrackerProvider

    public interface IAccessTrackerProvider
    Logic to execute from AccessTracker.

    You can have active several providers at same time. The list of active providers is defined in xava.properties, in this way:

     accessTrackerProvidersClasses=org.openxava.util.EmailNotificationsAccessTrackerProvider,org.openxava.util.LogAccessTrackerProvider
     
    Since:
    5.9
    Author:
    Javier Paniza
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      void consulted​(java.lang.String modelName, java.util.Map key)  
      void created​(java.lang.String modelName, java.util.Map key)  
      default void executed​(java.lang.String modelName, java.util.Map key, java.lang.String qualifiedActionName)  
      void modified​(java.lang.String modelName, java.util.Map key, java.util.Map<java.lang.String,​java.lang.Object> oldChangedValues, java.util.Map<java.lang.String,​java.lang.Object> newChangedValues)  
      void removed​(java.lang.String modelName, java.util.Map key)  
    • Method Detail

      • consulted

        void consulted​(java.lang.String modelName,
                       java.util.Map key)
      • created

        void created​(java.lang.String modelName,
                     java.util.Map key)
      • modified

        void modified​(java.lang.String modelName,
                      java.util.Map key,
                      java.util.Map<java.lang.String,​java.lang.Object> oldChangedValues,
                      java.util.Map<java.lang.String,​java.lang.Object> newChangedValues)
      • removed

        void removed​(java.lang.String modelName,
                     java.util.Map key)
      • executed

        default void executed​(java.lang.String modelName,
                              java.util.Map key,
                              java.lang.String qualifiedActionName)
        Since:
        7.2