Package com.logicaldoc.audit
Class Audit
- java.lang.Object
-
- com.logicaldoc.core.task.Task
-
- com.logicaldoc.audit.Audit
-
- All Implemented Interfaces:
Runnable
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
-
-
Constructor Summary
Constructors Constructor Description Audit()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createMessages()
Launches the creation of all notifications.com.logicaldoc.core.document.dao.DocumentHistoryDAO
getDocumentHistoryDao()
com.logicaldoc.core.folder.FolderDAO
getFolderDao()
SubscriptionDAO
getSubscriptionDao()
com.logicaldoc.core.communication.SystemMessageDAO
getSystemMessageDao()
com.logicaldoc.core.security.dao.UserHistoryDAO
getUserHistoryDao()
boolean
isConcurrent()
boolean
isIndeterminate()
void
setDocumentHistoryDao(com.logicaldoc.core.document.dao.DocumentHistoryDAO documentHistoryDao)
void
setFolderDao(com.logicaldoc.core.folder.FolderDAO folderDao)
void
setFolderHistoryDao(com.logicaldoc.core.folder.FolderHistoryDAO folderHistoryDao)
void
setSubscriptionDao(SubscriptionDAO subscriptionDao)
void
setSystemMessageDao(com.logicaldoc.core.communication.SystemMessageDAO systemMessageDao)
void
setUserHistoryDao(com.logicaldoc.core.security.dao.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
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
isIndeterminate
public boolean isIndeterminate()
- Specified by:
isIndeterminate
in classcom.logicaldoc.core.task.Task
-
isConcurrent
public boolean isConcurrent()
- Specified by:
isConcurrent
in classcom.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.dao.UserHistoryDAO getUserHistoryDao()
-
setUserHistoryDao
public void setUserHistoryDao(com.logicaldoc.core.security.dao.UserHistoryDAO userHistoryDao)
-
setDocumentHistoryDao
public void setDocumentHistoryDao(com.logicaldoc.core.document.dao.DocumentHistoryDAO documentHistoryDao)
-
getDocumentHistoryDao
public com.logicaldoc.core.document.dao.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)
-
-