\Pydio\TasksITasksProvider

Interface ITasksProvider

Summary

Methods
Constants
createTask()
getTaskById()
updateTask()
deleteTask()
getPendingTasks()
getScheduledTasks()
getCurrentRunningTasks()
getActiveTasksForNode()
getTasks()
getChildrenTasks()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getTaskById()

getTaskById(string  $taskId) : \Pydio\Tasks\Task

Parameters

string $taskId

Returns

\Pydio\Tasks\Task

deleteTask()

deleteTask(string  $taskId) : boolean

Parameters

string $taskId

Returns

boolean

getPendingTasks()

getPendingTasks() : array<mixed,\Pydio\Tasks\Task>

Returns

array<mixed,\Pydio\Tasks\Task>

getScheduledTasks()

getScheduledTasks() : array<mixed,\Pydio\Tasks\Task>

Returns

array<mixed,\Pydio\Tasks\Task>

getTasks()

getTasks(\Pydio\Core\Model\UserInterface  $user = null, \Pydio\Core\Model\RepositoryInterface  $repository = null, integer  $status = -1, integer  $scheduleType = -1, integer  $taskType = \Pydio\Tasks\Task::TYPE_USER, string  $parentUid = "") : array<mixed,\Pydio\Tasks\Task>

Parameters

\Pydio\Core\Model\UserInterface $user
\Pydio\Core\Model\RepositoryInterface $repository
integer $status
integer $scheduleType
integer $taskType
string $parentUid

Returns

array<mixed,\Pydio\Tasks\Task>

getChildrenTasks()

getChildrenTasks(string  $taskId) : array<mixed,\Pydio\Tasks\Task>

Parameters

string $taskId

Returns

array<mixed,\Pydio\Tasks\Task>