@ Override public void cacheResult ( List < CommerceTaxFixedRate > commerceTaxFixedRates ) { for ( CommerceTaxFixedRate commerceTaxFixedRate : commerceTaxFixedRates ) { if ( entityCache . getResult ( CommerceTaxFixedRateModelImpl . ENTITY_CACHE_ENABLED , CommerceTaxFixedRateImpl . class , commerceTaxFixedRate . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceTaxFixedRate ) ; } else { commerceTaxFixedRate . resetOriginalValues ( ) ; } } }
Caches the commerce tax fixed rates in the entity cache if it is enabled .