function insertObject($monograph)
{
$monograph->stampModified();
$this->update(sprintf('INSERT INTO submissions
(locale, context_id, series_id, series_position, language, comments_to_ed, date_submitted, date_status_modified, last_modified, status, submission_progress, stage_id, pages, hide_author, edited_volume, citations)
VALUES
(?, ?, ?, ?, ?, ?, %s, %s, %s, ?, ?, ?, ?, ?, ?, ?)', $this->datetimeToDB($monograph->getDateSubmitted()), $this->datetimeToDB($monograph->getDateStatusModified()), $this->datetimeToDB($monograph->getLastModified())), array($monograph->getLocale(), (int) $monograph->getContextId(), (int) $monograph->getSeriesId(), $monograph->getSeriesPosition(), $monograph->getLanguage(), $monograph->getCommentsToEditor(), $monograph->getStatus() === null ? STATUS_QUEUED : (int) $monograph->getStatus(), $monograph->getSubmissionProgress() === null ? 1 : (int) $monograph->getSubmissionProgress(), $monograph->getStageId() === null ? 1 : (int) $monograph->getStageId(), $monograph->getPages(), (int) $monograph->getHideAuthor(), (int) $monograph->getWorkType(), $monograph->getCitations()));
$monograph->setId($this->getInsertId());
$this->updateLocaleFields($monograph);
return $monograph->getId();
}