interface TaskRepositoryCustom
Modifier and Type | Method and Description |
---|---|
int |
cancel(java.lang.String dsName,
java.lang.String shopGUID)
Sets the status 'Cancelling' for all tasks that are in the status 'Unscheduled', 'Recovering' or 'Delayed'.
|
Task |
findFirstUnscheduledDuplicateTask(Task task) |
void |
updateStatusesTo(java.util.Collection<TaskStatus> statuses,
java.lang.String dsName,
java.lang.String shopGUID,
java.lang.String excludeTaskType) |
void updateStatusesTo(java.util.Collection<TaskStatus> statuses, java.lang.String dsName, java.lang.String shopGUID, java.lang.String excludeTaskType)
int cancel(java.lang.String dsName, java.lang.String shopGUID)
dsName
- the datasource of the tasks that should be cancelled. If this parameter is null
or empty, it is ignored.shopGUID
- the shopguid of the tasks that should be cancelled. If this parameter is null
or empty, it is ignored.