/** * Deletes the ilmio from the database. Also notifies the appropriate model listeners. * * @param ilmio the ilmio * @return the ilmio that was removed * @throws SystemException if a system exception occurred */ @Indexable(type = IndexableType.DELETE) @Override public Ilmio deleteIlmio(Ilmio ilmio) throws SystemException { return ilmioPersistence.remove(ilmio); }
/** * Deletes the ilmio with the primary key from the database. Also notifies the appropriate model * listeners. * * @param ilmio_id the primary key of the ilmio * @return the ilmio that was removed * @throws PortalException if a ilmio with the primary key could not be found * @throws SystemException if a system exception occurred */ @Indexable(type = IndexableType.DELETE) @Override public Ilmio deleteIlmio(int ilmio_id) throws PortalException, SystemException { return ilmioPersistence.remove(ilmio_id); }