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

Public Member Functions

 __construct (EntityLookup $entityLookup, StatementReadModelConverter $statementReadModelConverter, SiteLinksReadModelConverter $siteLinksReadModelConverter)
 
 getItemData (ItemId $itemId, array $fields)
 
 getStatements (ItemId $itemId, ?PropertyId $propertyId=null)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemRetriever
 getItem (ItemId $itemId)
 
- Public Member Functions inherited from Wikibase\Repo\RestApi\Domain\Services\ItemStatementRetriever
 getStatement (StatementGuid $statementGuid)
 

Private Member Functions

 itemDataFromRequestedFields (array $fields, Item $item)
 
 convertDataModelStatementListToReadModel (DataModelStatementList $list)
 

Private Attributes

EntityLookup $entityLookup
 
StatementReadModelConverter $statementReadModelConverter
 
SiteLinksReadModelConverter $siteLinksReadModelConverter
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::__construct ( EntityLookup $entityLookup,
StatementReadModelConverter $statementReadModelConverter,
SiteLinksReadModelConverter $siteLinksReadModelConverter )

Member Function Documentation

◆ convertDataModelStatementListToReadModel()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::convertDataModelStatementListToReadModel ( DataModelStatementList $list)
private

◆ getItemData()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::getItemData ( ItemId $itemId,
array $fields )

◆ getStatements()

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

◆ itemDataFromRequestedFields()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::itemDataFromRequestedFields ( array $fields,
Item $item )
private

Member Data Documentation

◆ $entityLookup

EntityLookup Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::$entityLookup
private

◆ $siteLinksReadModelConverter

SiteLinksReadModelConverter Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::$siteLinksReadModelConverter
private

◆ $statementReadModelConverter

StatementReadModelConverter Wikibase\Repo\RestApi\DataAccess\WikibaseEntityLookupItemDataRetriever::$statementReadModelConverter
private

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