@ Indexable ( type = IndexableType . DELETE ) @ Override public CProduct deleteCProduct ( CProduct cProduct ) { return cProductPersistence . remove ( cProduct ) ; }
Deletes the c product from the database . Also notifies the appropriate model listeners .