@ Indexable ( type = IndexableType . DELETE ) @ Override public CPMeasurementUnit deleteCPMeasurementUnit ( long CPMeasurementUnitId ) throws PortalException { return cpMeasurementUnitPersistence . remove ( CPMeasurementUnitId ) ; }
Deletes the cp measurement unit with the primary key from the database . Also notifies the appropriate model listeners .