21 case PLN_PLUGIN_DEPOSIT_OBJECT_ISSUE:
24 case 'PublishedArticle':
25 case PLN_PLUGIN_DEPOSIT_OBJECT_SUBMISSION:
27 $submission = $submissionDao->getById($this->
getObjectId());
28 if ($submission->getContextId() != $this->getJournalId())
throw new Exception(
'Submission context and context ID do not agree!');
31 throw new Exception(
'Unknown object type!');
39 if (is_a($content, PLN_PLUGIN_DEPOSIT_OBJECT_ISSUE) || is_a($content, PLN_PLUGIN_DEPOSIT_OBJECT_SUBMISSION)) {
43 throw new Exception(
'Unknown content type!');
52 return $this->
getData(
'objectType');
60 $this->
setData(
'objectType', $objectType);
68 return $this->
getData(
'objectId');
76 $this->
setData(
'objectId', $objectId);
84 return $this->
getData(
'journalId');
92 $this->
setData(
'journalId', $journalId);
100 return $this->
getData(
'depositId');
108 $this->
setData(
'depositId', $depositId);
116 return $this->
getData(
'dateCreated');
124 $this->
setData(
'dateCreated', $dateCreated);
132 return $this->
getData(
'dateModified');
140 $this->
setData(
'dateModified', $dateModified);