Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\FederatedProperties\ApiServiceFactory Class Reference

Public Member Functions

 __construct (HttpRequestFactory $httpRequestFactory, array $contentModelMappings, DataTypeDefinitions $dataTypeDefinitions, EntitySourceDefinitions $entitySourceDefinitions, string $federatedPropertiesSourceScriptUrl, string $serverName)
 
 newApiEntitySearchHelper ()
 
 newApiEntityTitleTextLookup ()
 
 newApiEntityUrlLookup ()
 
 newApiPropertyDataTypeLookup ()
 
 newApiPrefetchingTermLookup ()
 
 getApiEntityLookup ()
 Returns the singleton instance of ApiEntityLookup. More...
 
 newApiEntityExistenceChecker ()
 

Private Member Functions

 getUrlForScriptFile ( $scriptFile)
 
 newFederatedPropertiesApiClient ()
 
 getApiEntityNamespaceInfoLookup ()
 Returns the singleton instance of ApiEntityNamespaceInfoLookup. More...
 

Private Attributes

 $httpRequestFactory
 
 $contentModelMappings
 
 $dataTypeDefinitions
 
 $federatedPropertiesSourceScriptUrl
 
 $serverName
 
 $apiEntityLookupInstance = null
 
 $apiEntityNamespaceInfoLookup = null
 
 $entitySourceDefinitions
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::__construct ( HttpRequestFactory  $httpRequestFactory,
array  $contentModelMappings,
DataTypeDefinitions  $dataTypeDefinitions,
EntitySourceDefinitions  $entitySourceDefinitions,
string  $federatedPropertiesSourceScriptUrl,
string  $serverName 
)

Member Function Documentation

◆ getApiEntityLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::getApiEntityLookup ( )

Returns the singleton instance of ApiEntityLookup.

Returns
ApiEntityLookup

◆ getApiEntityNamespaceInfoLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::getApiEntityNamespaceInfoLookup ( )
private

Returns the singleton instance of ApiEntityNamespaceInfoLookup.

Returns
ApiEntityNamespaceInfoLookup

◆ getUrlForScriptFile()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::getUrlForScriptFile (   $scriptFile)
private

◆ newApiEntityExistenceChecker()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntityExistenceChecker ( )

◆ newApiEntitySearchHelper()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntitySearchHelper ( )

◆ newApiEntityTitleTextLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntityTitleTextLookup ( )

◆ newApiEntityUrlLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiEntityUrlLookup ( )

◆ newApiPrefetchingTermLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiPrefetchingTermLookup ( )

◆ newApiPropertyDataTypeLookup()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newApiPropertyDataTypeLookup ( )

◆ newFederatedPropertiesApiClient()

Wikibase\Repo\FederatedProperties\ApiServiceFactory::newFederatedPropertiesApiClient ( )
private

Member Data Documentation

◆ $apiEntityLookupInstance

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$apiEntityLookupInstance = null
private

◆ $apiEntityNamespaceInfoLookup

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$apiEntityNamespaceInfoLookup = null
private

◆ $contentModelMappings

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$contentModelMappings
private

◆ $dataTypeDefinitions

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$dataTypeDefinitions
private

◆ $entitySourceDefinitions

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$entitySourceDefinitions
private

◆ $federatedPropertiesSourceScriptUrl

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$federatedPropertiesSourceScriptUrl
private

◆ $httpRequestFactory

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$httpRequestFactory
private

◆ $serverName

Wikibase\Repo\FederatedProperties\ApiServiceFactory::$serverName
private

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