Class Audit

java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.audit.Audit
All Implemented Interfaces:
Runnable

@Component("Audit") public class Audit extends com.logicaldoc.core.task.Task
The component creates the system messages that will be sent to a user that is subscribed to a folder or a document.
Since:
5.0
Author:
Matteo Caruso - LogicalDOC
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     

    Fields inherited from class com.logicaldoc.core.task.Task

    STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Launches the creation of all notifications.
    com.logicaldoc.core.document.DocumentHistoryDAO
     
    com.logicaldoc.core.folder.FolderDAO
     
     
    com.logicaldoc.core.communication.SystemMessageDAO
     
    com.logicaldoc.core.security.user.UserHistoryDAO
     
    boolean
     
    boolean
     
    void
    setDocumentHistoryDao(com.logicaldoc.core.document.DocumentHistoryDAO documentHistoryDao)
     
    void
    setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
     
    void
    setFolderHistoryDao(com.logicaldoc.core.folder.FolderHistoryDAO folderHistoryDao)
     
    void
     
    void
    setSystemMessageDao(com.logicaldoc.core.communication.SystemMessageDAO systemMessageDao)
     
    void
    setUserHistoryDao(com.logicaldoc.core.security.user.UserHistoryDAO userHistoryDao)
     

    Methods inherited from class com.logicaldoc.core.task.Task

    addTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setConfig, setLockManager, setReportRecipients, setSendActivityReport, setSender, setSize, setSystemLoadMonitor, setUserDao

    Methods inherited from class java.lang.Object

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

  • Constructor Details

    • Audit

      public Audit()
  • Method Details

    • isIndeterminate

      public boolean isIndeterminate()
      Specified by:
      isIndeterminate in class com.logicaldoc.core.task.Task
    • isConcurrent

      public boolean isConcurrent()
      Specified by:
      isConcurrent in class com.logicaldoc.core.task.Task
    • createMessages

      public void createMessages()
      Launches the creation of all notifications.
    • getSubscriptionDao

      public SubscriptionDAO getSubscriptionDao()
    • setSubscriptionDao

      public void setSubscriptionDao(SubscriptionDAO subscriptionDao)
    • getSystemMessageDao

      public com.logicaldoc.core.communication.SystemMessageDAO getSystemMessageDao()
    • setSystemMessageDao

      public void setSystemMessageDao(com.logicaldoc.core.communication.SystemMessageDAO systemMessageDao)
    • getUserHistoryDao

      public com.logicaldoc.core.security.user.UserHistoryDAO getUserHistoryDao()
    • setUserHistoryDao

      public void setUserHistoryDao(com.logicaldoc.core.security.user.UserHistoryDAO userHistoryDao)
    • setDocumentHistoryDao

      public void setDocumentHistoryDao(com.logicaldoc.core.document.DocumentHistoryDAO documentHistoryDao)
    • getDocumentHistoryDao

      public com.logicaldoc.core.document.DocumentHistoryDAO getDocumentHistoryDao()
    • getFolderDao

      public com.logicaldoc.core.folder.FolderDAO getFolderDao()
    • setFolderDao

      public void setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
    • setFolderHistoryDao

      public void setFolderHistoryDao(com.logicaldoc.core.folder.FolderHistoryDAO folderHistoryDao)