@ Indexable ( type = IndexableType . DELETE ) @ Override public CPRuleUserSegmentRel deleteCPRuleUserSegmentRel ( long CPRuleUserSegmentRelId ) throws PortalException { return cpRuleUserSegmentRelPersistence . remove ( CPRuleUserSegmentRelId ) ; }
Deletes the cp rule user segment rel with the primary key from the database . Also notifies the appropriate model listeners .