Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater:
+ Collaboration diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater:

Public Member Functions

 __construct (StatementGuidParser $statementIdParser, StatementSubjectRetriever $statementSubjectRetriever, EntityUpdater $entityUpdater, StatementReadModelConverter $statementReadModelConverter)
 
 update (Statement $statement, EditMetadata $editMetadata)
 

Private Attributes

StatementGuidParser $statementIdParser
 
StatementSubjectRetriever $statementSubjectRetriever
 
EntityUpdater $entityUpdater
 
StatementReadModelConverter $statementReadModelConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater::__construct ( StatementGuidParser $statementIdParser,
StatementSubjectRetriever $statementSubjectRetriever,
EntityUpdater $entityUpdater,
StatementReadModelConverter $statementReadModelConverter )

Member Function Documentation

◆ update()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater::update ( Statement $statement,
EditMetadata $editMetadata )
Exceptions
EntityUpdateFailed
StatementSubjectDisappeared

Implements Wikibase\Repo\RestApi\Domain\Services\StatementUpdater.

Member Data Documentation

◆ $entityUpdater

EntityUpdater Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater::$entityUpdater
private

◆ $statementIdParser

StatementGuidParser Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater::$statementIdParser
private

◆ $statementReadModelConverter

StatementReadModelConverter Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater::$statementReadModelConverter
private

◆ $statementSubjectRetriever

StatementSubjectRetriever Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterStatementUpdater::$statementSubjectRetriever
private

The documentation for this class was generated from the following file: