@ Override public void cacheResult ( CommerceTaxFixedRate commerceTaxFixedRate ) { entityCache . putResult ( CommerceTaxFixedRateModelImpl . ENTITY_CACHE_ENABLED , CommerceTaxFixedRateImpl . class , commerceTaxFixedRate . getPrimaryKey ( ) , commerceTaxFixedRate ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_C_C , new Object [ ] { commerceTaxFixedRate . getCPTaxCategoryId ( ) , commerceTaxFixedRate . getCommerceTaxMethodId ( ) } , commerceTaxFixedRate ) ; commerceTaxFixedRate . resetOriginalValues ( ) ; }
Caches the commerce tax fixed rate in the entity cache if it is enabled .