Open Journal Systems  3.3.0
PKPPubIdPluginDAO Class Reference
Inheritance diagram for PKPPubIdPluginDAO:
ArticleGalleyDAO IssueDAO PKPPublicationDAO SubmissionFileDAO PublicationDAO

Public Member Functions

 changePubId ($pubObjectId, $pubIdType, $pubId)
 
 deleteAllPubIds ($contextId, $pubIdType)
 
 deletePubId ($pubObjectId, $pubIdType)
 
 pubIdExists ($pubIdType, $pubId, $excludePubObjectId, $contextId)
 

Detailed Description

Interface that DAOs would need to implement in order for pub ID support to be added.

Definition at line 16 of file PKPPubIdPluginDAO.inc.php.

Member Function Documentation

◆ changePubId()

PKPPubIdPluginDAO::changePubId (   $pubObjectId,
  $pubIdType,
  $pubId 
)

Change the public ID of a submission.

Parameters
$pubObjectIdint ID of the pub object
$pubIdTypestring One of the NLM pub-id-type values or 'other::something' if not part of the official NLM list (see http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html).
$pubIdstring

Reimplemented in IssueDAO, SubmissionFileDAO, PKPPublicationDAO, and ArticleGalleyDAO.

◆ deleteAllPubIds()

PKPPubIdPluginDAO::deleteAllPubIds (   $contextId,
  $pubIdType 
)

Delete the public IDs of all submissions in this context.

Parameters
$contextIdint
$pubIdTypestring One of the NLM pub-id-type values or 'other::something' if not part of the official NLM list (see http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html).

Reimplemented in IssueDAO, SubmissionFileDAO, PKPPublicationDAO, and ArticleGalleyDAO.

◆ deletePubId()

PKPPubIdPluginDAO::deletePubId (   $pubObjectId,
  $pubIdType 
)

Delete the public ID of a submission.

Parameters
$pubObjectIdint ID of the pub object
$pubIdTypestring One of the NLM pub-id-type values or 'other::something' if not part of the official NLM list (see http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html).

Reimplemented in IssueDAO, SubmissionFileDAO, PKPPublicationDAO, and ArticleGalleyDAO.

◆ pubIdExists()

PKPPubIdPluginDAO::pubIdExists (   $pubIdType,
  $pubId,
  $excludePubObjectId,
  $contextId 
)

Checks if public identifier exists (other than for the specified submission ID, which is treated as an exception).

Parameters
$pubIdTypestring One of the NLM pub-id-type values or 'other::something' if not part of the official NLM list (see http://dtd.nlm.nih.gov/publishing/tag-library/n-4zh0.html).
$pubIdstring
$excludePubObjectIdint ID of the pub object to be excluded from the search.
$contextIdint
Returns
boolean

Reimplemented in IssueDAO, SubmissionFileDAO, PKPPublicationDAO, and ArticleGalleyDAO.


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