@ Indexable ( type = IndexableType . DELETE ) @ Override public CPDefinitionLink deleteCPDefinitionLink ( long CPDefinitionLinkId ) throws PortalException { return cpDefinitionLinkPersistence . remove ( CPDefinitionLinkId ) ; }
Deletes the cp definition link with the primary key from the database . Also notifies the appropriate model listeners .