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

Public Member Functions

 __construct (EntityRevisionLookup $entityRevisionLookup, StatementReadModelConverter $statementReadModelConverter, SitelinksReadModelConverter $sitelinksReadModelConverter)
 
 getItemWriteModel (ItemId $itemId)
 
 getItem (ItemId $itemId)
 
 getItemParts (ItemId $itemId, array $fields)
 
 getStatements (ItemId $itemId, ?PropertyId $propertyId=null)
 
 getSitelinks (ItemId $itemId)
 
 getSitelink (ItemId $itemId, string $siteId)
 

Private Member Functions

 itemPartsFromRequestedFields (array $fields, ItemWriteModel $item)
 
 convertStatementListWriteModelToReadModel (StatementListWriteModel $list)
 

Private Attributes

EntityRevisionLookup $entityRevisionLookup
 
StatementReadModelConverter $statementReadModelConverter
 
SitelinksReadModelConverter $sitelinksReadModelConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::__construct ( EntityRevisionLookup $entityRevisionLookup,
StatementReadModelConverter $statementReadModelConverter,
SitelinksReadModelConverter $sitelinksReadModelConverter )

Member Function Documentation

◆ convertStatementListWriteModelToReadModel()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::convertStatementListWriteModelToReadModel ( StatementListWriteModel $list)
private

◆ getItem()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::getItem ( ItemId $itemId)

◆ getItemParts()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::getItemParts ( ItemId $itemId,
array $fields )

◆ getItemWriteModel()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::getItemWriteModel ( ItemId $itemId)

◆ getSitelink()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::getSitelink ( ItemId $itemId,
string $siteId )

◆ getSitelinks()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::getSitelinks ( ItemId $itemId)

◆ getStatements()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::getStatements ( ItemId $itemId,
?PropertyId $propertyId = null )

◆ itemPartsFromRequestedFields()

Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::itemPartsFromRequestedFields ( array $fields,
ItemWriteModel $item )
private

Member Data Documentation

◆ $entityRevisionLookup

EntityRevisionLookup Wikibase\Repo\RestApi\Infrastructure\DataAccess\EntityRevisionLookupItemDataRetriever::$entityRevisionLookup
private

◆ $sitelinksReadModelConverter

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

◆ $statementReadModelConverter

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

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