@ Override public void cacheResult ( CommerceAvailabilityEstimate commerceAvailabilityEstimate ) { entityCache . putResult ( CommerceAvailabilityEstimateModelImpl . ENTITY_CACHE_ENABLED , CommerceAvailabilityEstimateImpl . class , commerceAvailabilityEstimate . getPrimaryKey ( ) , commerceAvailabilityEstimate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceAvailabilityEstimate . getUuid ( ) , commerceAvailabilityEstimate . getGroupId ( ) } , commerceAvailabilityEstimate ) ; commerceAvailabilityEstimate . resetOriginalValues ( ) ; }
Caches the commerce availability estimate in the entity cache if it is enabled .