@ Indexable ( type = IndexableType . REINDEX ) @ Override public CPDefinitionOptionValueRel addCPDefinitionOptionValueRel ( CPDefinitionOptionValueRel cpDefinitionOptionValueRel ) { cpDefinitionOptionValueRel . setNew ( true ) ; return cpDefinitionOptionValueRelPersistence . update ( cpDefinitionOptionValueRel ) ; }
Adds the cp definition option value rel to the database . Also notifies the appropriate model listeners .