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

Public Member Functions

 __construct (EntityUpdater $entityUpdater, SitelinksReadModelConverter $sitelinksReadModelConverter, StatementReadModelConverter $statementReadModelConverter)
 
 create (ItemWriteModel $item, EditMetadata $editMetadata)
 
 update (ItemWriteModel $item, EditMetadata $editMetadata)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemUpdater
 update (Item $item, EditMetadata $editMetadata)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemCreator
 create (Item $item, EditMetadata $editMetadata)
 

Private Member Functions

 convertItemItemWriteModelToReadModel (ItemWriteModel $item)
 

Private Attributes

EntityUpdater $entityUpdater
 
SitelinksReadModelConverter $sitelinksReadModelConverter
 
StatementReadModelConverter $statementReadModelConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterItemUpdater::__construct ( EntityUpdater $entityUpdater,
SitelinksReadModelConverter $sitelinksReadModelConverter,
StatementReadModelConverter $statementReadModelConverter )

Member Function Documentation

◆ convertItemItemWriteModelToReadModel()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterItemUpdater::convertItemItemWriteModelToReadModel ( ItemWriteModel $item)
private

◆ create()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterItemUpdater::create ( ItemWriteModel $item,
EditMetadata $editMetadata )

◆ update()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterItemUpdater::update ( ItemWriteModel $item,
EditMetadata $editMetadata )

Member Data Documentation

◆ $entityUpdater

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

◆ $sitelinksReadModelConverter

SitelinksReadModelConverter Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityUpdaterItemUpdater::$sitelinksReadModelConverter
private

◆ $statementReadModelConverter

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

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