No
in package
implements
DeletedInterface
Implementation of the `acdhOeaw\arche\oaipmh\deleted\DeletedInterface` for repositories not providing data on deleted resources.
Tags
Table of Contents
Interfaces
- DeletedInterface
- Interface for OAI-PMH deleted records implementations.
Properties
- $config : 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
$config
private
object
$config
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
QueryPartgetDeletedRecord()
Returns the OAI-PMH `identify` response's `deletedRecord` value.
public
getDeletedRecord() : string
("no", "transient" or "persistent")