Package com.logicaldoc.audit
Class AuditTask
java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.audit.AuditTask
- All Implemented Interfaces:
Runnable
@Component("auditTask")
public class AuditTask
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.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
setSubscriptionDao
(SubscriptionDAO subscriptionDao) 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, setReportRecipients, setSendActivityReport, setSize
-
Field Details
-
NAME
- See Also:
-
-
Constructor Details
-
AuditTask
public AuditTask()
-
-
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.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)
-