Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult:

Public Member Functions

 getRevisionId ()
 
 getRevisionTimestamp ()
 
 getRedirectTarget ()
 
 itemExists ()
 
 isRedirect ()
 

Static Public Member Functions

static concreteRevision (int $revisionId, string $revisionTimestamp)
 
static redirect (ItemId $redirectTarget)
 
static itemNotFound ()
 

Private Attributes

int $revisionId = null
 
string $revisionTimestamp = null
 
ItemId $redirectTarget = null
 

Detailed Description

Member Function Documentation

◆ concreteRevision()

static Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::concreteRevision ( int $revisionId,
string $revisionTimestamp )
static

◆ getRedirectTarget()

Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::getRedirectTarget ( )
Exceptions
RuntimeExceptionif not a redirect result

◆ getRevisionId()

Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::getRevisionId ( )
Exceptions
RuntimeExceptionif not a concrete revision result

◆ getRevisionTimestamp()

Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::getRevisionTimestamp ( )
Exceptions
RuntimeExceptionif not a concrete revision result

◆ isRedirect()

Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::isRedirect ( )

◆ itemExists()

Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::itemExists ( )

◆ itemNotFound()

static Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::itemNotFound ( )
static

◆ redirect()

static Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::redirect ( ItemId $redirectTarget)
static

Member Data Documentation

◆ $redirectTarget

ItemId Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::$redirectTarget = null
private

◆ $revisionId

int Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::$revisionId = null
private

◆ $revisionTimestamp

string Wikibase\Repo\RestApi\Domain\ReadModel\LatestItemRevisionMetadataResult::$revisionTimestamp = null
private

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