@ Override public void cacheResult ( CommerceTaxMethod commerceTaxMethod ) { entityCache . putResult ( CommerceTaxMethodModelImpl . ENTITY_CACHE_ENABLED , CommerceTaxMethodImpl . class , commerceTaxMethod . getPrimaryKey ( ) , commerceTaxMethod ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_G_E , new Object [ ] { commerceTaxMethod . getGroupId ( ) , commerceTaxMethod . getEngineKey ( ) } , commerceTaxMethod ) ; commerceTaxMethod . resetOriginalValues ( ) ; }
Caches the commerce tax method in the entity cache if it is enabled .