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

Public Member Functions

 __construct (PatchItemAliasesValidator $useCaseValidator, AssertItemExists $assertItemExists, AssertUserIsAuthorized $assertUserIsAuthorized, ItemAliasesRetriever $aliasesRetriever, AliasesSerializer $aliasesSerializer, PatchJson $patcher, PatchedItemAliasesValidator $patchedAliasesValidator, ItemWriteModelRetriever $itemRetriever, ItemUpdater $itemUpdater)
 
 execute (PatchItemAliasesRequest $request)
 

Private Attributes

PatchItemAliasesValidator $useCaseValidator
 
AssertItemExists $assertItemExists
 
AssertUserIsAuthorized $assertUserIsAuthorized
 
ItemAliasesRetriever $aliasesRetriever
 
AliasesSerializer $aliasesSerializer
 
PatchJson $patcher
 
PatchedItemAliasesValidator $patchedAliasesValidator
 
ItemWriteModelRetriever $itemRetriever
 
ItemUpdater $itemUpdater
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::__construct ( PatchItemAliasesValidator $useCaseValidator,
AssertItemExists $assertItemExists,
AssertUserIsAuthorized $assertUserIsAuthorized,
ItemAliasesRetriever $aliasesRetriever,
AliasesSerializer $aliasesSerializer,
PatchJson $patcher,
PatchedItemAliasesValidator $patchedAliasesValidator,
ItemWriteModelRetriever $itemRetriever,
ItemUpdater $itemUpdater )

Member Function Documentation

◆ execute()

Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::execute ( PatchItemAliasesRequest $request)
Exceptions
ItemRedirect
UseCaseError

Member Data Documentation

◆ $aliasesRetriever

ItemAliasesRetriever Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$aliasesRetriever
private

◆ $aliasesSerializer

AliasesSerializer Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$aliasesSerializer
private

◆ $assertItemExists

AssertItemExists Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$assertItemExists
private

◆ $assertUserIsAuthorized

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

◆ $itemRetriever

ItemWriteModelRetriever Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$itemRetriever
private

◆ $itemUpdater

ItemUpdater Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$itemUpdater
private

◆ $patchedAliasesValidator

PatchedItemAliasesValidator Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$patchedAliasesValidator
private

◆ $patcher

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

◆ $useCaseValidator

PatchItemAliasesValidator Wikibase\Repo\RestApi\Application\UseCases\PatchItemAliases\PatchItemAliases::$useCaseValidator
private

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