\Pydio\Tasks\ProvidersMockTasksProvider

Class MockTasksProvider

Summary

Methods
Properties
Constants
createTask()
getTaskById()
updateTask()
deleteTask()
getPendingTasks()
getActiveTasksForNode()
getTasks()
getCurrentRunningTasks()
getScheduledTasks()
getChildrenTasks()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties 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>

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>

getScheduledTasks()

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

Returns

array<mixed,\Pydio\Tasks\Task>

getChildrenTasks()

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

Parameters

string $taskId

Returns

array<mixed,\Pydio\Tasks\Task>