/**
   * Adds the ilmio to the database. Also notifies the appropriate model listeners.
   *
   * @param ilmio the ilmio
   * @return the ilmio that was added
   * @throws SystemException if a system exception occurred
   */
  @Indexable(type = IndexableType.REINDEX)
  @Override
  public Ilmio addIlmio(Ilmio ilmio) throws SystemException {
    ilmio.setNew(true);

    return ilmioPersistence.update(ilmio);
  }
 /**
  * Updates the ilmio in the database or adds it if it does not yet exist. Also notifies the
  * appropriate model listeners.
  *
  * @param ilmio the ilmio
  * @return the ilmio that was updated
  * @throws SystemException if a system exception occurred
  */
 @Indexable(type = IndexableType.REINDEX)
 @Override
 public Ilmio updateIlmio(Ilmio ilmio) throws SystemException {
   return ilmioPersistence.update(ilmio);
 }