@ Override public void cacheResult ( List < CommerceTaxFixedRateAddressRel > commerceTaxFixedRateAddressRels ) { for ( CommerceTaxFixedRateAddressRel commerceTaxFixedRateAddressRel : commerceTaxFixedRateAddressRels ) { if ( entityCache . getResult ( CommerceTaxFixedRateAddressRelModelImpl . ENTITY_CACHE_ENABLED , CommerceTaxFixedRateAddressRelImpl . class , commerceTaxFixedRateAddressRel . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceTaxFixedRateAddressRel ) ; } else { commerceTaxFixedRateAddressRel . resetOriginalValues ( ) ; } } }
Caches the commerce tax fixed rate address rels in the entity cache if it is enabled .