Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions:

Public Member Functions

 __construct (PatchPropertyDescriptionsValidator $useCaseValidator, AssertPropertyExists $assertPropertyExists, AssertUserIsAuthorized $assertUserIsAuthorized, PropertyDescriptionsRetriever $descriptionsRetriever, DescriptionsSerializer $descriptionsSerializer, PatchJson $patcher, PropertyWriteModelRetriever $propertyRetriever, PatchedPropertyDescriptionsValidator $patchedDescriptionsValidator, PropertyUpdater $propertyUpdater)
 
 execute (PatchPropertyDescriptionsRequest $request)
 

Private Attributes

PatchPropertyDescriptionsValidator $useCaseValidator
 
AssertPropertyExists $assertPropertyExists
 
AssertUserIsAuthorized $assertUserIsAuthorized
 
PropertyDescriptionsRetriever $descriptionsRetriever
 
DescriptionsSerializer $descriptionsSerializer
 
PatchJson $patcher
 
PropertyWriteModelRetriever $propertyRetriever
 
PatchedPropertyDescriptionsValidator $patchedDescriptionsValidator
 
PropertyUpdater $propertyUpdater
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::__construct ( PatchPropertyDescriptionsValidator $useCaseValidator,
AssertPropertyExists $assertPropertyExists,
AssertUserIsAuthorized $assertUserIsAuthorized,
PropertyDescriptionsRetriever $descriptionsRetriever,
DescriptionsSerializer $descriptionsSerializer,
PatchJson $patcher,
PropertyWriteModelRetriever $propertyRetriever,
PatchedPropertyDescriptionsValidator $patchedDescriptionsValidator,
PropertyUpdater $propertyUpdater )

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::execute ( PatchPropertyDescriptionsRequest $request)
Exceptions
UseCaseError

Member Data Documentation

◆ $assertPropertyExists

AssertPropertyExists Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$assertPropertyExists
private

◆ $assertUserIsAuthorized

AssertUserIsAuthorized Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$assertUserIsAuthorized
private

◆ $descriptionsRetriever

PropertyDescriptionsRetriever Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$descriptionsRetriever
private

◆ $descriptionsSerializer

DescriptionsSerializer Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$descriptionsSerializer
private

◆ $patchedDescriptionsValidator

PatchedPropertyDescriptionsValidator Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$patchedDescriptionsValidator
private

◆ $patcher

PatchJson Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$patcher
private

◆ $propertyRetriever

PropertyWriteModelRetriever Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$propertyRetriever
private

◆ $propertyUpdater

PropertyUpdater Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$propertyUpdater
private

◆ $useCaseValidator

PatchPropertyDescriptionsValidator Wikibase\Repo\RestApi\Application\UseCases\PatchPropertyDescriptions\PatchPropertyDescriptions::$useCaseValidator
private

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