Documentation

RdfProperty
in package
implements DeletedInterface

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

Required configuration properties:

  • oaiDeletedRecord value to be reported in the deletedRecord field of the OAI-PMH identify response ("transient" or "persistent" - see https://www.openarchives.org/OAI/openarchivesprotocol.html#DeletedRecords)
  • oaiDeletedProp - RDF property which existence indicates a resource is deleted
  • oaiDeletedPropValue
Tags
author

zozlak

Table of Contents

Interfaces

DeletedInterface
Interface for OAI-PMH deleted records implementations.

Properties

$config  : object
Configuration object

Methods

__construct()  : mixed
getDeletedData()  : QueryPart
Returns an SQL query returning a table with two columns:
getDeletedRecord()  : string
Returns the OAI-PMH `identify` response's `deletedRecord` value.

Properties

Methods

__construct()

public __construct(object $config) : mixed
Parameters
$config : object

getDeletedData()

Returns an SQL query returning a table with two columns:

public getDeletedData() : QueryPart
  • id [bigint] providing a repository resource id
  • deleted [bool] indication if the resource is deleted

Query may skip resources which are not deleted but it has to always return above-mentioned columns (even with no rows).

Return values
QueryPart

getDeletedRecord()

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

public getDeletedRecord() : string

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

Return values
string

        
On this page

Search results