@ Override public void cacheResult ( CommerceVirtualOrderItem commerceVirtualOrderItem ) { entityCache . putResult ( CommerceVirtualOrderItemModelImpl . ENTITY_CACHE_ENABLED , CommerceVirtualOrderItemImpl . class , commerceVirtualOrderItem . getPrimaryKey ( ) , commerceVirtualOrderItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_UUID_G , new Object [ ] { commerceVirtualOrderItem . getUuid ( ) , commerceVirtualOrderItem . getGroupId ( ) } , commerceVirtualOrderItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_COMMERCEORDERITEMID , new Object [ ] { commerceVirtualOrderItem . getCommerceOrderItemId ( ) } , commerceVirtualOrderItem ) ; commerceVirtualOrderItem . resetOriginalValues ( ) ; }
Caches the commerce virtual order item in the entity cache if it is enabled .