@ Indexable ( type = IndexableType . REINDEX ) @ Override public CommerceDiscountUserSegmentRel addCommerceDiscountUserSegmentRel ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel ) { commerceDiscountUserSegmentRel . setNew ( true ) ; return commerceDiscountUserSegmentRelPersistence . update ( commerceDiscountUserSegmentRel ) ; }
Adds the commerce discount user segment rel to the database . Also notifies the appropriate model listeners .