@ Indexable ( type = IndexableType . DELETE ) @ Override public CommerceDiscountRule deleteCommerceDiscountRule ( long commerceDiscountRuleId ) throws PortalException { return commerceDiscountRulePersistence . remove ( commerceDiscountRuleId ) ; }
Deletes the commerce discount rule with the primary key from the database . Also notifies the appropriate model listeners .