@ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceDiscountRel deleteCommerceDiscountRel ( long commerceDiscountRelId ) throws PortalException { return commerceDiscountRelPersistence . remove ( commerceDiscountRelId ) ; }
Deletes the commerce discount rel with the primary key from the database . Also notifies the appropriate model listeners .