@ Indexable ( type = IndexableType . REINDEX ) @ Override public CPRule updateCPRule ( CPRule cpRule ) { return cpRulePersistence . update ( cpRule ) ; }
Updates the cp rule in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners .