public interface CustomScheduledTaskServiceLocal extends CRUDServiceLocal<CustomScheduledTask,CustomScheduledTaskDTO,CustomScheduledTaskData,java.lang.Void>, CustomScheduledTaskService
CustomScheduledTaskService| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ATTR_LOG
Script attribute: the custom scheduled task log for this execution
|
static java.lang.String |
ATTR_SCHEDULED_TASK
Script attribute: the custom scheduled task
|
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getNextExecution(CustomScheduledTask task)
Calculates the next execution date, given the parameters.
|
java.util.List<java.lang.Long> |
listIdsForRunningNow()
Returns a list with all custom scheduled task ids which should start running immediately
|
void |
run(java.lang.Long taskId)
Runs the task with the given identifier, generating a log.
|
find, findAll, getEntityClass, newEntity, remove, removeAll, toDTO, toEntity, validatelist, searchLogsgetData, getDataForNew, load, remove, removeAll, savestatic final java.lang.String ATTR_SCHEDULED_TASK
static final java.lang.String ATTR_LOG
java.util.Date getNextExecution(CustomScheduledTask task)
java.util.List<java.lang.Long> listIdsForRunningNow()
void run(java.lang.Long taskId)