@ Indexable ( type = IndexableType . REINDEX ) @ Override public CommerceDiscountUsageEntry updateCommerceDiscountUsageEntry ( CommerceDiscountUsageEntry commerceDiscountUsageEntry ) { return commerceDiscountUsageEntryPersistence . update ( commerceDiscountUsageEntry ) ; }
Updates the commerce discount usage entry in the database or adds it if it does not yet exist . Also notifies the appropriate model listeners .