Nextcloud Circles API

DavService
in package

Class DavService

Tags
deprecated

Table of Contents

$cardDavBackend  : CardDavBackend
$circlesRequest  : DeprecatedCirclesRequest
$cloudManager  : ICloudIdManager
$configService  : ConfigService
$fileSharingBroadcaster  : FileSharingBroadcaster
$membersRequest  : DeprecatedMembersRequest
$membersService  : MembersService
$migratedBooks  : array<string|int, mixed>
$miscService  : MiscService
$userId  : string
$userManager  : IUserManager
__construct()  : mixed
TimezoneService constructor.
getDavCardFromMember()  : DavCard
getOwnerFromAddressBook()  : string
migration()  : mixed
onAppEnabled()  : mixed
onCreateCard()  : mixed
onDeleteCard()  : mixed
onUpdateCard()  : mixed
uuid()  : string
assignCirclesToCard()  : mixed
generateDavCard()  : DavCard
generateDavCardFromCard()  : DavCard
getCirclesFromBook()  : array<string|int, DeprecatedCircle>
getExistingCirclesFromBook()  : array<string|int, DeprecatedCircle>
getMemberType()  : int
isLocalMember()  : string
manageCircles()  : mixed
manageContact()  : mixed
manageDavCard()  : mixed
manageDeprecatedCircles()  : mixed
manageDeprecatedContacts()  : mixed
manageDeprecatedMembers()  : mixed
manageLocalContact()  : mixed
manageMember()  : mixed
manageNewCircles()  : mixed
manageRemoteContact()  : mixed
migrateBook()  : mixed

Properties

$cardDavBackend

private CardDavBackend $cardDavBackend

$circlesRequest

private DeprecatedCirclesRequest $circlesRequest

$cloudManager

private ICloudIdManager $cloudManager

$fileSharingBroadcaster

private FileSharingBroadcaster $fileSharingBroadcaster

$membersRequest

private DeprecatedMembersRequest $membersRequest

$migratedBooks

private array<string|int, mixed> $migratedBooks = []

Methods

__construct()

TimezoneService constructor.

public __construct(string $userId, IUserManager $userManager, CardDavBackend $cardDavBackend, ICloudIdManager $cloudManager, FileSharingBroadcaster $fileSharingBroadcaster, MembersService $membersService, DeprecatedCirclesRequest $circlesRequest, DeprecatedMembersRequest $membersRequest, ConfigService $configService, MiscService $miscService) : mixed
Parameters
$userId : string
$userManager : IUserManager
$cardDavBackend : CardDavBackend
$cloudManager : ICloudIdManager
$fileSharingBroadcaster : FileSharingBroadcaster
$membersService : MembersService
$circlesRequest : DeprecatedCirclesRequest
$membersRequest : DeprecatedMembersRequest
$configService : ConfigService
$miscService : MiscService
Return values
mixed

getOwnerFromAddressBook()

public getOwnerFromAddressBook(int $bookId) : string
Parameters
$bookId : int
Return values
string

migration()

public migration() : mixed
Tags
throws
Exception
Return values
mixed

onAppEnabled()

public onAppEnabled(ManagerEvent $event) : mixed
Parameters
$event : ManagerEvent
Return values
mixed

onCreateCard()

public onCreateCard(GenericEvent $event) : mixed
Parameters
$event : GenericEvent
Return values
mixed

onDeleteCard()

public onDeleteCard(GenericEvent $event) : mixed
Parameters
$event : GenericEvent
Return values
mixed

onUpdateCard()

public onUpdateCard(GenericEvent $event) : mixed
Parameters
$event : GenericEvent
Return values
mixed

uuid()

protected uuid(int $length) : string
Parameters
$length : int
Tags
deprecated
Return values
string

assignCirclesToCard()

private assignCirclesToCard(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

generateDavCard()

private generateDavCard(GenericEvent $event[, bool $tiny = false ]) : DavCard
Parameters
$event : GenericEvent
$tiny : bool = false
Return values
DavCard

generateDavCardFromCard()

private generateDavCardFromCard(int $bookId, array<string|int, mixed> $card) : DavCard
Parameters
$bookId : int
$card : array<string|int, mixed>
Return values
DavCard

manageCircles()

private manageCircles(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

manageContact()

private manageContact(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

manageDavCard()

private manageDavCard(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

manageDeprecatedCircles()

private manageDeprecatedCircles(int $bookId) : mixed
Parameters
$bookId : int
Return values
mixed

manageDeprecatedContacts()

private manageDeprecatedContacts() : mixed
Return values
mixed

manageDeprecatedMembers()

private manageDeprecatedMembers(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

manageLocalContact()

private manageLocalContact(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

manageNewCircles()

private manageNewCircles(DavCard $davCard, array<string|int, mixed> $fromCard, array<string|int, mixed> $current) : mixed
Parameters
$davCard : DavCard
$fromCard : array<string|int, mixed>
$current : array<string|int, mixed>
Return values
mixed

manageRemoteContact()

private manageRemoteContact(DavCard $davCard) : mixed
Parameters
$davCard : DavCard
Return values
mixed

migrateBook()

private migrateBook(int $bookId) : mixed
Parameters
$bookId : int
Return values
mixed

Search results