@ Override public void cacheResult ( CommerceDiscountUserSegmentRel commerceDiscountUserSegmentRel ) { entityCache . putResult ( CommerceDiscountUserSegmentRelModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountUserSegmentRelImpl . class , commerceDiscountUserSegmentRel . getPrimaryKey ( ) , commerceDiscountUserSegmentRel ) ; commerceDiscountUserSegmentRel . resetOriginalValues ( ) ; }
Caches the commerce discount user segment rel in the entity cache if it is enabled .