\Pydio\Notification\CoreIFeedStore

Summary

Methods
Constants
persistEvent()
loadEvents()
deleteFeed()
persistAlert()
loadAlerts()
dismissAlertById()
persistMetaObject()
findMetaObjectsByIndexPath()
updateMetaObject()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

persistEvent()

persistEvent(string  $hookName, string  $data, string  $repositoryId, string  $repositoryScope, string  $repositoryOwner, string  $userId, string  $userGroup) : void

Parameters

string $hookName
string $data
string $repositoryId
string $repositoryScope
string $repositoryOwner
string $userId
string $userGroup

loadEvents()

loadEvents(array  $filterByRepositories,   $filterByPath, string  $userGroup, integer  $offset, integer  $limit = 10, boolean  $enlargeToOwned = true, string  $userId) : array<mixed,\Pydio\Notification\Core\Notification>

Parameters

array $filterByRepositories
$filterByPath
string $userGroup
integer $offset
integer $limit
boolean $enlargeToOwned
string $userId

Returns

array<mixed,\Pydio\Notification\Core\Notification>

deleteFeed()

deleteFeed(string  $types = 'event', null  $userId = null, null  $repositoryId = null, integer  $count) : mixed

Delete feed data

Parameters

string $types
null $userId
null $repositoryId
integer $count

Returns

mixed

persistAlert()

persistAlert(\Pydio\Notification\Core\Notification  $notif, boolean  $repoScopeAll = false, boolean|string  $groupScope = false) : mixed

Parameters

\Pydio\Notification\Core\Notification $notif
boolean $repoScopeAll
boolean|string $groupScope

Returns

mixed

dismissAlertById()

dismissAlertById(\Pydio\Core\Model\ContextInterface  $ctx,   $alertId,   $occurrences = 1) 

Parameters

\Pydio\Core\Model\ContextInterface $ctx
$alertId
$occurrences

persistMetaObject()

persistMetaObject(string  $indexPath, mixed  $data, string  $repositoryId, string  $repositoryScope, string  $repositoryOwner, string  $userId, string  $userGroup) : void

Parameters

string $indexPath
mixed $data
string $repositoryId
string $repositoryScope
string $repositoryOwner
string $userId
string $userGroup

findMetaObjectsByIndexPath()

findMetaObjectsByIndexPath(  $repositoryId,   $indexPath,   $userId,   $userGroup, integer  $offset, integer  $limit = 20, string  $orderBy = "date", string  $orderDir = "desc", boolean  $recurring = true) : mixed

Parameters

$repositoryId
$indexPath
$userId
$userGroup
integer $offset
integer $limit
string $orderBy
string $orderDir
boolean $recurring

Returns

mixed

updateMetaObject()

updateMetaObject(  $repositoryId,   $oldPath, null  $newPath = null, boolean  $copy = false) : mixed

Parameters

$repositoryId
$oldPath
null $newPath
boolean $copy

Returns

mixed