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 SummaryFieldsFields inherited from class com.logicaldoc.core.task.TaskSTATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidLaunches the creation of all notifications.com.logicaldoc.core.document.DocumentHistoryDAOcom.logicaldoc.core.folder.FolderDAOcom.logicaldoc.core.communication.SystemMessageDAOcom.logicaldoc.core.security.user.UserHistoryDAObooleanbooleanMethods inherited from class com.logicaldoc.core.task.TaskaddTaskListener, 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- 
AuditTaskpublic AuditTask()
 
- 
- 
Method Details- 
isIndeterminatepublic boolean isIndeterminate()- Specified by:
- isIndeterminatein class- com.logicaldoc.core.task.Task
 
- 
isConcurrentpublic boolean isConcurrent()- Specified by:
- isConcurrentin class- com.logicaldoc.core.task.Task
 
- 
createMessagespublic void createMessages()Launches the creation of all notifications.
- 
getSubscriptionDao
- 
getSystemMessageDaopublic com.logicaldoc.core.communication.SystemMessageDAO getSystemMessageDao()
- 
getUserHistoryDaopublic com.logicaldoc.core.security.user.UserHistoryDAO getUserHistoryDao()
- 
getDocumentHistoryDaopublic com.logicaldoc.core.document.DocumentHistoryDAO getDocumentHistoryDao()
- 
getFolderDaopublic com.logicaldoc.core.folder.FolderDAO getFolderDao()
 
-