@ Override public void cacheResult ( CommerceAddress commerceAddress ) { entityCache . putResult ( CommerceAddressModelImpl . ENTITY_CACHE_ENABLED , CommerceAddressImpl . class , commerceAddress . getPrimaryKey ( ) , commerceAddress ) ; commerceAddress . resetOriginalValues ( ) ; }
Caches the commerce address in the entity cache if it is enabled .