|
Open Monograph Press
3.3.0
|
Public Member Functions | |
| deleteDecisionsBySubmissionId ($submissionId) | |
| findValidPendingRevisionsDecision ($submissionId, $expectedStageId, $revisionDecision=SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS) | |
| getEditorDecisions ($submissionId, $stageId=null, $round=null, $editorId=null) | |
| responseExists ($decision, $submissionId) | |
| transferEditorDecisions ($oldUserId, $newUserId) | |
| updateEditorDecision ($submissionId, $editorDecision, $stageId=null, $reviewRound=null) | |
Public Member Functions inherited from DAO | |
| __construct ($dataSource=null, $callHooks=true) | |
| concat () | |
| convertFromDB ($value, $type) | |
| convertToDB ($value, &$type) | |
| dateFromDB ($d) | |
| datetimeFromDB ($dt) | |
| datetimeToDB ($dt) | |
| dateToDB ($d) | |
| flushCache () | |
| formatDateToDB ($date, $defaultNumWeeks=null, $acceptPastDate=true) | |
| getAdditionalFieldNames () | |
| getAffectedRows () | |
| getDataObjectSettings ($tableName, $idFieldName, $idFieldValue, $dataObject) | |
| getDataSource () | |
| getDirectionMapping ($direction) | |
| getDriver () | |
| getLocaleFieldNames () | |
| getType ($value) | |
| handleError ($dataSource, $sql) | |
| nullOrInt ($value) | |
| replace ($table, $arrFields, $keyCols) | |
| & | retrieve ($sql, $params=false, $callHooks=true) |
| & | retrieveCached ($sql, $params=false, $secsToCache=3600, $callHooks=true) |
| & | retrieveLimit ($sql, $params=false, $numRows=false, $offset=false, $callHooks=true) |
| & | retrieveRange ($sql, $params=false, $dbResultRange=null, $callHooks=true) |
| setCacheDir () | |
| setDataSource ($dataSource) | |
| update ($sql, $params=false, $callHooks=true, $dieOnError=true) | |
| updateDataObjectSettings ($tableName, $dataObject, $idArray) | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAO | |
| static | getDataChangedEvent ($elementId=null, $parentElementId=null, $content='') |
Data Fields inherited from DAO | |
| $_dataSource | |
Protected Member Functions inherited from DAO | |
| _getInsertId ($table='', $id='') | |
Operations for retrieving and modifying editor decisions.
Definition at line 20 of file EditDecisionDAO.inc.php.
| EditDecisionDAO::deleteDecisionsBySubmissionId | ( | $submissionId | ) |
Delete editing decisions by submission ID.
| $submissionId | int |
Definition at line 54 of file EditDecisionDAO.inc.php.
References DAO\update().
| EditDecisionDAO::findValidPendingRevisionsDecision | ( | $submissionId, | |
| $expectedStageId, | |||
$revisionDecision = SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS |
|||
| ) |
Find any still valid pending revisions decision for the passed submission id. A valid decision is one that is not overriden by any other decision.
| $submissionId | int |
| $expectedStageId | int |
| $revisionDecision | int SUBMISSION_EDITOR_DECISION_PENDING_REVISIONS or SUBMISSION_EDITOR_DECISION_RESUBMIT |
Definition at line 126 of file EditDecisionDAO.inc.php.
References DAORegistry\getDAO().
| EditDecisionDAO::getEditorDecisions | ( | $submissionId, | |
$stageId = null, |
|||
$round = null, |
|||
$editorId = null |
|||
| ) |
Get the editor decisions for a review round of a submission.
| $submissionId | int Submission ID |
| $stageId | int Optional STAGE_ID_... |
| $round | int Optional review round number |
| $editorId | int Optional editor ID |
Definition at line 70 of file EditDecisionDAO.inc.php.
References DAO\retrieve().
| EditDecisionDAO::responseExists | ( | $decision, | |
| $submissionId | |||
| ) |
Find any file upload that's a revision and can be considered as a pending revisions decision response.
| $decision | array |
| $submissionId | int |
Definition at line 166 of file EditDecisionDAO.inc.php.
References DAORegistry\getDAO().
| EditDecisionDAO::transferEditorDecisions | ( | $oldUserId, | |
| $newUserId | |||
| ) |
Transfer the decisions for an editor.
| $oldUserId | int |
| $newUserId | int |
Definition at line 110 of file EditDecisionDAO.inc.php.
References DAO\update().
| EditDecisionDAO::updateEditorDecision | ( | $submissionId, | |
| $editorDecision, | |||
$stageId = null, |
|||
$reviewRound = null |
|||
| ) |
Update the editor decision table.
| $submissionId | int |
| $editorDecision | array |
| $stageId | int Optional STAGE_ID_... |
| $reviewRound | ReviewRound (optional) |
Definition at line 29 of file EditDecisionDAO.inc.php.
References DAO\datetimeToDB(), and DAO\update().