Package ch.tocco.nice2.tasks.impl
Class TaskUpdateActionServiceImpl
java.lang.Object
ch.tocco.nice2.tasks.impl.TaskUpdateActionServiceImpl
- All Implemented Interfaces:
TaskUpdateActionService
-
Constructor Summary
ConstructorDescriptionTaskUpdateActionServiceImpl
(EntityExplorerActionSelectionService selectionService, Context context, TaskSchedulingService taskSchedulingService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelTask
(EntityExplorerActionSelection selection) void
cancelTask
(String taskId) Cancels aTask_execution
identified by itstask_id
void
deleteTask
(EntityExplorerActionSelection selection) getTaskExecutionKey
(String taskId) org.joda.time.DateTime
getTaskInfo
(EntityExplorerActionSelection selection) void
updateDueTime
(EntityExplorerActionSelection selection, org.joda.time.DateTime newDueTime)
-
Constructor Details
-
TaskUpdateActionServiceImpl
public TaskUpdateActionServiceImpl(EntityExplorerActionSelectionService selectionService, Context context, TaskSchedulingService taskSchedulingService)
-
-
Method Details
-
updateDueTime
public void updateDueTime(EntityExplorerActionSelection selection, org.joda.time.DateTime newDueTime) - Specified by:
updateDueTime
in interfaceTaskUpdateActionService
-
getTaskInfo
- Specified by:
getTaskInfo
in interfaceTaskUpdateActionService
-
deleteTask
- Specified by:
deleteTask
in interfaceTaskUpdateActionService
-
cancelTask
- Specified by:
cancelTask
in interfaceTaskUpdateActionService
-
cancelTask
Description copied from interface:TaskUpdateActionService
Cancels aTask_execution
identified by itstask_id
- Specified by:
cancelTask
in interfaceTaskUpdateActionService
- Parameters:
taskId
- thetask_id
-
getTaskExecutionKey
Description copied from interface:TaskUpdateActionService
- Specified by:
getTaskExecutionKey
in interfaceTaskUpdateActionService
- Parameters:
taskId
- thetask_id
- Returns:
- the stringified
PrimaryKey
-