Example #1
0
  /**
   * Adds the journal article image to the database. Also notifies the appropriate model listeners.
   *
   * @param journalArticleImage the journal article image
   * @return the journal article image that was added
   * @throws SystemException if a system exception occurred
   */
  @Indexable(type = IndexableType.REINDEX)
  @Override
  public JournalArticleImage addJournalArticleImage(JournalArticleImage journalArticleImage)
      throws SystemException {
    journalArticleImage.setNew(true);

    return journalArticleImagePersistence.update(journalArticleImage);
  }