Wikibase
MediaWiki Wikibase extension
|
TODO this has been introduced into data-access with a couple of points that still bind to wikibase lib: More...
Public Member Functions | |
__construct (EntitySourceDefinitions $entitySourceDefinitions, GenericServices $genericServices, array $singleSourceServices) | |
getPropertyInfoLookup () | |
getEntityStoreWatcher () | |
Returns a service that can be registered as a watcher to changes to entity data. | |
entityUpdated (EntityRevision $entityRevision) | |
Called when an entity is updated, created, or replaces a redirect. | |
redirectUpdated (EntityRedirect $entityRedirect, $revisionId) | |
Called when a redirect is updated, created, or replaces an entity. | |
entityDeleted (EntityId $entityId) | |
Called when an entity or redirect is deleted. | |
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. | |
getBaseDataModelSerializerFactory () | |
getCompactBaseDataModelSerializerFactory () | |
getLanguageFallbackChainFactory () | |
getStringNormalizer () | |
getTermBuffer () | |
Public Member Functions inherited from Wikibase\DataAccess\WikibaseServices | |
getPrefetchingTermLookup () | |
Public Member Functions inherited from Wikibase\DataAccess\DataAccessServices | |
getEntityPrefetcher () | |
getEntityRevisionLookup () | |
getTermSearchInteractorFactory () | |
Private Attributes | |
$entitySourceDefinitions | |
$genericServices | |
$singleSourceServices | |
$entityRevisionLookup = null | |
$termSearchInteractorFactory = null | |
$prefetchingTermLookup = null | |
$entityPrefetcher = null | |
TODO this has been introduced into data-access with a couple of points that still bind to wikibase lib:
Wikibase\DataAccess\MultipleEntitySourceServices::__construct | ( | EntitySourceDefinitions | $entitySourceDefinitions, |
GenericServices | $genericServices, | ||
array | $singleSourceServices | ||
) |
EntitySourceDefinitions | $entitySourceDefinitions | |
GenericServices | $genericServices | |
SingleEntitySourceServices[] | $singleSourceServices | indexed by source name |
Wikibase\DataAccess\MultipleEntitySourceServices::entityDeleted | ( | EntityId | $entityId | ) |
Called when an entity or redirect is deleted.
This is not called when an entity is replaced by a redirect or vice versa.
EntityId | $entityId |
Implements Wikibase\Lib\Store\EntityStoreWatcher.
Wikibase\DataAccess\MultipleEntitySourceServices::entityUpdated | ( | EntityRevision | $entityRevision | ) |
Called when an entity is updated, created, or replaces a redirect.
This is not called when an entity is deleted or replaced by a redirect.
EntityRevision | $entityRevision |
Implements Wikibase\Lib\Store\EntityStoreWatcher.
Wikibase\DataAccess\MultipleEntitySourceServices::getBaseDataModelSerializerFactory | ( | ) |
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getCompactBaseDataModelSerializerFactory | ( | ) |
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getCompactEntitySerializer | ( | ) |
Returns the entity serializer instance that generates the most compact serialization.
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getEntityNamespaceLookup | ( | ) |
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::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.
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getFullEntitySerializer | ( | ) |
Returns the entity serializer instance that generates the full (expanded) serialization.
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getLanguageFallbackChainFactory | ( | ) |
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getPropertyInfoLookup | ( | ) |
Implements Wikibase\DataAccess\DataAccessServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getStorageEntitySerializer | ( | ) |
Returns the entity serializer that generates serialization that is used in the storage layer.
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getStringNormalizer | ( | ) |
Implements Wikibase\DataAccess\WikibaseServices.
Wikibase\DataAccess\MultipleEntitySourceServices::getTermBuffer | ( | ) |
Implements Wikibase\DataAccess\DataAccessServices.
Wikibase\DataAccess\MultipleEntitySourceServices::redirectUpdated | ( | EntityRedirect | $entityRedirect, |
$revisionId | |||
) |
Called when a redirect is updated, created, or replaces an entity.
Not called when a redirect is deleted or replaced by an entity.
EntityRedirect | $entityRedirect | |
int | $revisionId |
Implements Wikibase\Lib\Store\EntityStoreWatcher.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |