@ Override public void cacheResult ( CommerceWishListItem commerceWishListItem ) { entityCache . putResult ( CommerceWishListItemModelImpl . ENTITY_CACHE_ENABLED , CommerceWishListItemImpl . class , commerceWishListItem . getPrimaryKey ( ) , commerceWishListItem ) ; finderCache . putResult ( FINDER_PATH_FETCH_BY_CW_CPI_CP , new Object [ ] { commerceWishListItem . getCommerceWishListId ( ) , commerceWishListItem . getCPInstanceUuid ( ) , commerceWishListItem . getCProductId ( ) } , commerceWishListItem ) ; commerceWishListItem . resetOriginalValues ( ) ; }
Caches the commerce wish list item in the entity cache if it is enabled .