RecordCommentSyncService
class RecordCommentSyncService implements RecordCommentSyncInterface (View source)
Keeps the comment on an A/AAAA record and its PTR counterpart in sync when either is created or edited.
Methods
__construct(RecordCommentService $commentService, PermissionService $permissions, RecordListingInterface|null $recordRepository = null, BackendCapabilitiesInterface|null $backendProvider = null, ChangeApprovalContext|null $approval = null)
No description
void
syncCommentsForPtrRecord(int $domainId, int $ptrZoneId, string $domainFullName, string $ptrName, string $comment, string $account)
No description
void
syncCommentsForDomainRecord(int $domainId, int $ptrZoneId, string $recordContent, string $ptrName, string $comment, string $account)
No description
void
updatePtrRecordComment(int $ptrZoneId, string $oldPtrName, string $newPtrName, string $comment, string $account)
No description
void
updateARecordComment(int $ptrZoneId, string $oldPtrName, string $newPtrName, string $comment, string $account, string $forwardType = RecordType::A)
No description
void
updateRelatedRecordComments(DomainRepositoryInterface $domainRepository, array $newRecordInfo, string $comment, string $userLogin, int $userId, Closure|null $zoneAllowed = null)
No description
Details
__construct(RecordCommentService $commentService, PermissionService $permissions, RecordListingInterface|null $recordRepository = null, BackendCapabilitiesInterface|null $backendProvider = null, ChangeApprovalContext|null $approval = null)
No description
void
syncCommentsForPtrRecord(int $domainId, int $ptrZoneId, string $domainFullName, string $ptrName, string $comment, string $account)
No description
void
syncCommentsForDomainRecord(int $domainId, int $ptrZoneId, string $recordContent, string $ptrName, string $comment, string $account)
No description
void
updatePtrRecordComment(int $ptrZoneId, string $oldPtrName, string $newPtrName, string $comment, string $account)
No description
void
updateARecordComment(int $ptrZoneId, string $oldPtrName, string $newPtrName, string $comment, string $account, string $forwardType = RecordType::A)
No description
void
updateRelatedRecordComments(DomainRepositoryInterface $domainRepository, array $newRecordInfo, string $comment, string $userLogin, int $userId, Closure|null $zoneAllowed = null)
No description