@ Override public void cacheResult ( CommerceDiscountUsageEntry commerceDiscountUsageEntry ) { entityCache . putResult ( CommerceDiscountUsageEntryModelImpl . ENTITY_CACHE_ENABLED , CommerceDiscountUsageEntryImpl . class , commerceDiscountUsageEntry . getPrimaryKey ( ) , commerceDiscountUsageEntry ) ; commerceDiscountUsageEntry . resetOriginalValues ( ) ; }
Caches the commerce discount usage entry in the entity cache if it is enabled .