@ Indexable ( type = IndexableType . REINDEX ) @ Override public CPMeasurementUnit updateCPMeasurementUnit ( CPMeasurementUnit cpMeasurementUnit ) { return cpMeasurementUnitPersistence . update ( cpMeasurementUnit ) ; }
Updates the cp measurement unit in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners .