public class TimerTaskBase extends TimerTask implements TimerTaskIntf
| Modifier and Type | Field and Description |
|---|---|
protected Long |
adminId |
protected ClassCache |
classCache |
protected Map<String,Object> |
dataMap |
protected Long |
timerId |
protected TimerMessage |
timerMsg |
CATEGORY_DATA_CAPTURE_POLL, CATEGORY_WORKFLOW_POLL, DatabasePoolNameStr, TIMER_TABLE, TIMER_TABLE_KEY, TimerMessageStr| Constructor and Description |
|---|
TimerTaskBase() |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanUp() |
String |
getPassword(String enCryptedPassword) |
Long |
getTimerId() |
TimerMessage |
getTimerMessage() |
void |
init(Map<String,Object> aData) |
void |
removeTaskFromDatabase(Long anUserId) |
void |
run() |
void |
saveTaskToDatabase(Long anUserId) |
protected void |
setAdmin() |
void |
setTimerId(Long aTimerId) |
cancel, scheduledExecutionTimeprotected TimerMessage timerMsg
protected ClassCache classCache
protected Long timerId
protected Long adminId
public void init(Map<String,Object> aData) throws Exception
init in interface TimerTaskIntfExceptionpublic TimerMessage getTimerMessage()
getTimerMessage in interface TimerTaskIntfpublic Long getTimerId()
getTimerId in interface TimerTaskIntfpublic void setTimerId(Long aTimerId)
setTimerId in interface TimerTaskIntfpublic void saveTaskToDatabase(Long anUserId) throws Exception
saveTaskToDatabase in interface TimerTaskIntfExceptionpublic void removeTaskFromDatabase(Long anUserId) throws Exception
removeTaskFromDatabase in interface TimerTaskIntfExceptionpublic void cleanUp()
throws Exception
cleanUp in interface TimerTaskIntfExceptionCopyright © 2020. All rights reserved.