@ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceNotificationTemplateUserSegmentRel deleteCommerceNotificationTemplateUserSegmentRel ( long commerceNotificationTemplateUserSegmentRelId ) throws PortalException { return commerceNotificationTemplateUserSegmentRelPersistence . remove ( commerceNotificationTemplateUserSegmentRelId ) ; }
Deletes the commerce notification template user segment rel with the primary key from the database . Also notifies the appropriate model listeners .