\acdhOeaw\oai\deletedRdfProperty

Implementation of the `acdhOeaw\oai\deleted\DeletedInterface` deriving information on a resource deletion from existence of a given RDF triple in the resource metadata.

Required configuration properties:

Summary

Methods
Properties
Constants
getDeletedRecord()
getDeletedClause()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

getDeletedRecord()

getDeletedRecord() : string

Returns the OAI-PMH `identify` response's `deletedRecord` value.

("no", "transient" or "persistent")

Returns

string

getDeletedClause()

getDeletedClause(string  $resVar, string  $delVar) : string

Creates a part of the SPARQL search query fetching if a resource is deleted or not.

Parameters

string $resVar

SPARQL variable denoting the resource URI

string $delVar

SPARQL variable which should denoted if the resource is deleted or not - any non empty value will indicate it is deleted

Returns

string