Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataAccess\WikibaseServices Interface Reference

Interface of the top-level container/factory of data access services. More...

+ Inheritance diagram for Wikibase\DataAccess\WikibaseServices:
+ Collaboration diagram for Wikibase\DataAccess\WikibaseServices:

Public Member Functions

 getEntityNamespaceLookup ()
 
 getFullEntitySerializer ()
 Returns the entity serializer instance that generates the full (expanded) serialization.
 
 getCompactEntitySerializer ()
 Returns the entity serializer instance that generates the most compact serialization.
 
 getStorageEntitySerializer ()
 Returns the entity serializer that generates serialization that is used in the storage layer.
 
 getEntityStoreWatcher ()
 Returns a service that can be registered as a watcher to changes to entity data.
 
 getLanguageFallbackChainFactory ()
 
 getBaseDataModelSerializerFactory ()
 
 getCompactBaseDataModelSerializerFactory ()
 
 getStringNormalizer ()
 
 getPrefetchingTermLookup ()
 
- Public Member Functions inherited from Wikibase\DataAccess\DataAccessServices
 getEntityPrefetcher ()
 
 getEntityRevisionLookup ()
 
 getPropertyInfoLookup ()
 
 getTermBuffer ()
 
 getTermSearchInteractorFactory ()
 

Detailed Description

Interface of the top-level container/factory of data access services.

This is made up of DataAccessServices (which are repo or entity source specific), and GenericServices (that doesn't currently have it's own interface)

Member Function Documentation

◆ getBaseDataModelSerializerFactory()

Wikibase\DataAccess\WikibaseServices::getBaseDataModelSerializerFactory ( )
Returns
SerializerFactory A factory with knowledge about items, properties, and the elements they are made of, but no other entity types. Returns serializers that generate the full (expanded) serialization.

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getCompactBaseDataModelSerializerFactory()

Wikibase\DataAccess\WikibaseServices::getCompactBaseDataModelSerializerFactory ( )
Returns
SerializerFactory A factory with knowledge about items, properties, and the elements they are made of, but no other entity types. Returns serializers that generate the most compact serialization.

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getCompactEntitySerializer()

Wikibase\DataAccess\WikibaseServices::getCompactEntitySerializer ( )

Returns the entity serializer instance that generates the most compact serialization.

Returns
Serializer

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getEntityNamespaceLookup()

Wikibase\DataAccess\WikibaseServices::getEntityNamespaceLookup ( )
Returns
EntityNamespaceLookup

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getEntityStoreWatcher()

Wikibase\DataAccess\WikibaseServices::getEntityStoreWatcher ( )

Returns a service that can be registered as a watcher to changes to entity data.

Such watcher gets notified when entity is updated or deleted, or when the entity redirect is updated.

Returns
EntityStoreWatcher

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getFullEntitySerializer()

Wikibase\DataAccess\WikibaseServices::getFullEntitySerializer ( )

Returns the entity serializer instance that generates the full (expanded) serialization.

Returns
Serializer

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getLanguageFallbackChainFactory()

Wikibase\DataAccess\WikibaseServices::getLanguageFallbackChainFactory ( )
Returns
LanguageFallbackChainFactory

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getPrefetchingTermLookup()

Wikibase\DataAccess\WikibaseServices::getPrefetchingTermLookup ( )
Returns
PrefetchingTermLookup

◆ getStorageEntitySerializer()

Wikibase\DataAccess\WikibaseServices::getStorageEntitySerializer ( )

Returns the entity serializer that generates serialization that is used in the storage layer.

Returns
Serializer

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.

◆ getStringNormalizer()

Wikibase\DataAccess\WikibaseServices::getStringNormalizer ( )
Returns
StringNormalizer

Implemented in Wikibase\DataAccess\MultipleEntitySourceServices.


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