@ Override public void cacheResult ( List < CommerceShippingFixedOption > commerceShippingFixedOptions ) { for ( CommerceShippingFixedOption commerceShippingFixedOption : commerceShippingFixedOptions ) { if ( entityCache . getResult ( CommerceShippingFixedOptionModelImpl . ENTITY_CACHE_ENABLED , CommerceShippingFixedOptionImpl . class , commerceShippingFixedOption . getPrimaryKey ( ) ) == null ) { cacheResult ( commerceShippingFixedOption ) ; } else { commerceShippingFixedOption . resetOriginalValues ( ) ; } } }
Caches the commerce shipping fixed options in the entity cache if it is enabled .