@ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinitionOptionRel deleteCPDefinitionOptionRel ( long CPDefinitionOptionRelId ) throws PortalException { return cpDefinitionOptionRelPersistence . remove ( CPDefinitionOptionRelId ) ; }
Deletes the cp definition option rel with the primary key from the database . Also notifies the appropriate model listeners .