@ Indexable ( type = IndexableType . DELETE ) @ Override public CPMeasurementUnit deleteCPMeasurementUnit ( CPMeasurementUnit cpMeasurementUnit ) { return cpMeasurementUnitPersistence . remove ( cpMeasurementUnit ) ; }
Deletes the cp measurement unit from the database . Also notifies the appropriate model listeners .