@ Override public void cacheResult ( CommerceCurrency commerceCurrency ) { entityCache . putResult ( CommerceCurrencyModelImpl . ENTITY_CACHE_ENABLED , CommerceCurrencyImpl . class , commerceCurrency . getPrimaryKey ( ) , commerceCurrency ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceCurrency . getUuid ( ) , commerceCurrency . getGroupId ( ) } , commerceCurrency ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_C , new Object [ ] { commerceCurrency . getGroupId ( ) , commerceCurrency . getCode ( ) } , commerceCurrency ) ; commerceCurrency . resetOriginalValues ( ) ; }
Caches the commerce currency in the entity cache if it is enabled .