Package com.logicaldoc.notifier
Class Notifier
- java.lang.Object
-
- com.logicaldoc.core.task.Task
-
- com.logicaldoc.notifier.Notifier
-
- All Implemented Interfaces:
Runnable
public class Notifier extends com.logicaldoc.core.task.Task
The component send messages to the recipient users.- Since:
- 5.0
- Author:
- Matteo Caruso - LogicalDOC
-
-
Constructor Summary
Constructors Constructor Description Notifier()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.logicaldoc.core.communication.SystemMessageDAO
getSystemMessageDAO()
boolean
isConcurrent()
boolean
isIndeterminate()
void
sendMessages()
Launches the sending of all messages.void
setSystemMessageDAO(com.logicaldoc.core.communication.SystemMessageDAO systemMessageDAO)
void
setTenantDAO(com.logicaldoc.core.security.dao.TenantDAO tenantDAO)
-
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
-
sendMessages
public void sendMessages()
Launches the sending of all messages.
-
getSystemMessageDAO
public com.logicaldoc.core.communication.SystemMessageDAO getSystemMessageDAO()
-
setSystemMessageDAO
public void setSystemMessageDAO(com.logicaldoc.core.communication.SystemMessageDAO systemMessageDAO)
-
setTenantDAO
public void setTenantDAO(com.logicaldoc.core.security.dao.TenantDAO tenantDAO)
-
-