\Pydio\OCS\ModelIStore

Interface IStore

Summary

Methods
Constants
generateInvitationId()
storeInvitation()
invitationsForLink()
invitationById()
deleteInvitation()
storeRemoteShare()
remoteSharesForUser()
remoteShareById()
deleteRemoteShare()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

generateInvitationId()

generateInvitationId(\Pydio\OCS\Model\ShareInvitation  $invitation) : mixed

Generate a unique ID for invitation

Parameters

\Pydio\OCS\Model\ShareInvitation $invitation

Returns

mixed

invitationsForLink()

invitationsForLink(string  $linkToken) : array<mixed,\Pydio\OCS\Model\ShareInvitation>

Find all invitatins for a given token

Parameters

string $linkToken

Returns

array<mixed,\Pydio\OCS\Model\ShareInvitation>

invitationById()

invitationById(  $invitationId) : \Pydio\OCS\Model\ShareInvitation|null

Find an invitation by ID

Parameters

$invitationId

Returns

\Pydio\OCS\Model\ShareInvitation|null

deleteInvitation()

deleteInvitation(\Pydio\OCS\Model\ShareInvitation  $invitation) : boolean

Delete an invitation

Parameters

\Pydio\OCS\Model\ShareInvitation $invitation

Returns

boolean

storeRemoteShare()

storeRemoteShare(\Pydio\OCS\Model\RemoteShare  $remoteShare) : \Pydio\OCS\Model\RemoteShare|false

Persists a remote share to the store

Parameters

\Pydio\OCS\Model\RemoteShare $remoteShare

Returns

\Pydio\OCS\Model\RemoteShare|false —

The share with eventually its new ID.

remoteSharesForUser()

remoteSharesForUser(string  $userName) : array<mixed,\Pydio\OCS\Model\RemoteShare>

Find all remote shares for a given user

Parameters

string $userName

Returns

array<mixed,\Pydio\OCS\Model\RemoteShare>

remoteShareById()

remoteShareById(string  $remoteShareId) : \Pydio\OCS\Model\RemoteShare

Find a remote share by its id

Parameters

string $remoteShareId

Returns

\Pydio\OCS\Model\RemoteShare

deleteRemoteShare()

deleteRemoteShare(\Pydio\OCS\Model\RemoteShare  $remoteShare) : boolean

Delete an existing remote share

Parameters

\Pydio\OCS\Model\RemoteShare $remoteShare

Returns

boolean