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
-
Field Summary
Fields inherited from class com.logicaldoc.core.task.Task
STATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Launches the creation of all notifications.com.logicaldoc.core.document.dao.DocumentHistoryDAO
com.logicaldoc.core.folder.FolderDAO
com.logicaldoc.core.communication.SystemMessageDAO
com.logicaldoc.core.security.dao.UserHistoryDAO
boolean
boolean
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 Details
-
NAME
- See Also:
-
-
Constructor Details
-
Audit
public Audit()
-
-
Method Details
-
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
-
setSubscriptionDao
-
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)
-