@ Override public void cacheResult ( CProduct cProduct ) { entityCache . putResult ( CProductModelImpl . ENTITY_CACHE_ENABLED , CProductImpl . class , cProduct . getPrimaryKey ( ) , cProduct ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { cProduct . getUuid ( ) , cProduct . getGroupId ( ) } , cProduct ) ; cProduct . resetOriginalValues ( ) ; }
Caches the c product in the entity cache if it is enabled .