00001 <?php
00002
00016
00017
00018 import('paper.Paper');
00019
00020 class ReviewerSubmission extends Paper {
00021
00023 var $reviewerFileRevisions;
00024
00026 var $peerReviewComments;
00027
00029 var $directorDecisions;
00030
00034 function ReviewerSubmission() {
00035 parent::Paper();
00036 }
00037
00046 function &getEditAssignments() {
00047 $editAssignments =& $this->getData('editAssignments');
00048 return $editAssignments;
00049 }
00050
00055 function setEditAssignments($editAssignments) {
00056 return $this->setData('editAssignments', $editAssignments);
00057 }
00058
00063 function getReviewId() {
00064 return $this->getData('reviewId');
00065 }
00066
00071 function setReviewId($reviewId) {
00072 return $this->setData('reviewId', $reviewId);
00073 }
00074
00079 function getReviewerId() {
00080 return $this->getData('reviewerId');
00081 }
00082
00087 function setReviewerId($reviewerId) {
00088 return $this->setData('reviewerId', $reviewerId);
00089 }
00090
00095 function getReviewerFullName() {
00096 return $this->getData('reviewerFullName');
00097 }
00098
00103 function setReviewerFullName($reviewerFullName) {
00104 return $this->setData('reviewerFullName', $reviewerFullName);
00105 }
00106
00111 function getDecisions($stage = null) {
00112 if ($stage == null)
00113 return $this->directorDecisions;
00114
00115 if(!isset($this->directorDecisions[$stage]))
00116 return null;
00117
00118 return $this->directorDecisions[$stage];
00119 }
00120
00126 function setDecisions($directorDecisions, $stage) {
00127 return $this->directorDecisions[$stage] = $directorDecisions;
00128 }
00129
00134 function getRecommendation() {
00135 return $this->getData('recommendation');
00136 }
00137
00142 function setRecommendation($recommendation) {
00143 return $this->setData('recommendation', $recommendation);
00144 }
00145
00150 function getDateAssigned() {
00151 return $this->getData('dateAssigned');
00152 }
00153
00158 function setDateAssigned($dateAssigned) {
00159 return $this->setData('dateAssigned', $dateAssigned);
00160 }
00161
00166 function getDateNotified() {
00167 return $this->getData('dateNotified');
00168 }
00169
00174 function setDateNotified($dateNotified) {
00175 return $this->setData('dateNotified', $dateNotified);
00176 }
00177
00182 function getDateConfirmed() {
00183 return $this->getData('dateConfirmed');
00184 }
00185
00190 function setDateConfirmed($dateConfirmed) {
00191 return $this->setData('dateConfirmed', $dateConfirmed);
00192 }
00193
00198 function getDateCompleted() {
00199 return $this->getData('dateCompleted');
00200 }
00201
00206 function setDateCompleted($dateCompleted) {
00207 return $this->setData('dateCompleted', $dateCompleted);
00208 }
00209
00214 function getDateAcknowledged() {
00215 return $this->getData('dateAcknowledged');
00216 }
00217
00222 function setDateAcknowledged($dateAcknowledged) {
00223 return $this->setData('dateAcknowledged', $dateAcknowledged);
00224 }
00225
00230 function getDateDue() {
00231 return $this->getData('dateDue');
00232 }
00233
00238 function setDateDue($dateDue) {
00239 return $this->setData('dateDue', $dateDue);
00240 }
00241
00246 function getDeclined() {
00247 return $this->getData('declined');
00248 }
00249
00254 function setDeclined($declined) {
00255 return $this->setData('declined', $declined);
00256 }
00257
00262 function getReplaced() {
00263 return $this->getData('replaced');
00264 }
00265
00270 function setReplaced($replaced) {
00271 return $this->setData('replaced', $replaced);
00272 }
00273
00278 function getCancelled() {
00279 return $this->getData('cancelled');
00280 }
00281
00286 function setCancelled($cancelled) {
00287 return $this->setData('cancelled', $cancelled);
00288 }
00289
00294 function getReviewerFileId() {
00295 return $this->getData('reviewerFileId');
00296 }
00297
00302 function setReviewerFileId($reviewerFileId) {
00303 return $this->setData('reviewerFileId', $reviewerFileId);
00304 }
00305
00310 function getQuality() {
00311 return $this->getData('quality');
00312 }
00313
00318 function setQuality($quality) {
00319 return $this->setData('quality', $quality);
00320 }
00321
00322
00327 function getStage() {
00328 return $this->getData('stage');
00329 }
00330
00335 function setStage($stage) {
00336 return $this->setData('stage', $stage);
00337 }
00338
00343 function getReviewFileId() {
00344 return $this->getData('reviewFileId');
00345 }
00346
00351 function setReviewFileId($reviewFileId) {
00352 return $this->setData('reviewFileId', $reviewFileId);
00353 }
00354
00359 function getReviewRevision() {
00360 return $this->getData('reviewRevision');
00361 }
00362
00367 function setReviewRevision($reviewRevision) {
00368 return $this->setData('reviewRevision', $reviewRevision);
00369 }
00370
00371
00372
00373
00374
00379 function &getSubmissionFile() {
00380 $returner =& $this->getData('submissionFile');
00381 return $returner;
00382 }
00383
00388 function setSubmissionFile($submissionFile) {
00389 return $this->setData('submissionFile', $submissionFile);
00390 }
00391
00396 function &getRevisedFile() {
00397 $returner =& $this->getData('revisedFile');
00398 return $returner;
00399 }
00400
00405 function setRevisedFile($revisedFile) {
00406 return $this->setData('revisedFile', $revisedFile);
00407 }
00408
00413 function &getSuppFiles() {
00414 $returner =& $this->getData('suppFiles');
00415 return $returner;
00416 }
00417
00422 function setSuppFiles($suppFiles) {
00423 return $this->setData('suppFiles', $suppFiles);
00424 }
00425
00430 function &getReviewFile() {
00431 $returner =& $this->getData('reviewFile');
00432 return $returner;
00433 }
00434
00439 function setReviewFile($reviewFile) {
00440 return $this->setData('reviewFile', $reviewFile);
00441 }
00442
00447 function &getReviewerFile() {
00448 $returner =& $this->getData('reviewerFile');
00449 return $returner;
00450 }
00451
00456 function setReviewerFile($reviewerFile) {
00457 return $this->setData('reviewerFile', $reviewerFile);
00458 }
00459
00464 function getReviewerFileRevisions() {
00465 return $this->reviewerFileRevisions;
00466 }
00467
00472 function setReviewerFileRevisions($reviewerFileRevisions) {
00473 return $this->reviewerFileRevisions = $reviewerFileRevisions;
00474 }
00475
00476
00477
00478
00479
00484 function getMostRecentPeerReviewComment() {
00485 return $this->getData('peerReviewComment');
00486 }
00487
00492 function setMostRecentPeerReviewComment($peerReviewComment) {
00493 return $this->setData('peerReviewComment', $peerReviewComment);
00494 }
00495 }
00496
00497 ?>