@ Override public void cacheResult ( CPDAvailabilityEstimate cpdAvailabilityEstimate ) { entityCache . putResult ( CPDAvailabilityEstimateModelImpl . ENTITY_CACHE_ENABLED , CPDAvailabilityEstimateImpl . class , cpdAvailabilityEstimate . getPrimaryKey ( ) , cpdAvailabilityEstimate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cpdAvailabilityEstimate . getUuid ( ) , cpdAvailabilityEstimate . getGroupId ( ) } , cpdAvailabilityEstimate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_CPRODUCTID , new Object [ ] { cpdAvailabilityEstimate . getCProductId ( ) } , cpdAvailabilityEstimate ) ; cpdAvailabilityEstimate . resetOriginalValues ( ) ; }
Caches the cpd availability estimate in the entity cache if it is enabled .