Adds the commerce wish list to the database. Also notifies the appropriate model listeners.

@param commerceWishList the commerce wish list
@return the commerce wish list that was added
180788
public static com.liferay.commerce.wish.list.model.CommerceWishList addCommerceWishList(
		com.liferay.commerce.wish.list.model.CommerceWishList commerceWishList) {
		return getService().addCommerceWishList(commerceWishList);
	}
794744
@Override
	public void cacheResult(List<CommerceWishList> commerceWishLists) {
		for (CommerceWishList commerceWishList : commerceWishLists) {
			if (entityCache.getResult(
						CommerceWishListModelImpl.ENTITY_CACHE_ENABLED,
						CommerceWishListImpl.class,
						commerceWishList.getPrimaryKey()) == null) {
				cacheResult(commerceWishList);
			}
			else {
				commerceWishList.resetOriginalValues();
			}
		}
	}
659120
public static com.liferay.commerce.model.CommerceOrderItem addCommerceOrderItem(
		com.liferay.commerce.model.CommerceOrderItem commerceOrderItem) {
		return getService().addCommerceOrderItem(commerceOrderItem);
	}
940807
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWarehouseItem addCommerceWarehouseItem(
		CommerceWarehouseItem commerceWarehouseItem) {
		commerceWarehouseItem.setNew(true);

		return commerceWarehouseItemPersistence.update(commerceWarehouseItem);
	}
393291
@Override
	public com.liferay.commerce.wish.list.model.CommerceWishList getCommerceWishList(
		long commerceWishListId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _commerceWishListLocalService.getCommerceWishList(commerceWishListId);
	}
1093266
public function getWishlist()
    {
        $conditions = array(
            'product_status' => 1,
            'user_id' => $this->cart_uid,
            'store_id' => $this->store_id
        );

        return (array) $this->wishlist->getList($conditions);
    }
838354
public static com.liferay.commerce.model.CommerceOrder addCommerceOrder(
		com.liferay.commerce.model.CommerceOrder commerceOrder) {
		return getService().addCommerceOrder(commerceOrder);
	}
340179
@Override
	public List<CommercePriceListUserSegmentEntryRel> findByCommercePriceListId(
		long commercePriceListId) {
		return findByCommercePriceListId(commercePriceListId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
403278
@Override
	public List<CommerceWishListItem> findByCommerceWishListId(
		long commerceWishListId) {
		return findByCommerceWishListId(commerceWishListId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
620226
public static com.liferay.commerce.model.CommerceOrder updateCommerceOrder(
		com.liferay.commerce.model.CommerceOrder commerceOrder) {
		return getService().updateCommerceOrder(commerceOrder);
	}
987927
@Override
	public List<CommerceWishListItem> findByCW_CPI(long commerceWishListId,
		String CPInstanceUuid) {
		return findByCW_CPI(commerceWishListId, CPInstanceUuid,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
1238637
public void setCommerceWishListLocalService(
		com.liferay.commerce.wish.list.service.CommerceWishListLocalService commerceWishListLocalService) {
		this.commerceWishListLocalService = commerceWishListLocalService;
	}
319510
@Override
	public List<CommercePriceListAccountRel> findByCommercePriceListId(
		long commercePriceListId) {
		return findByCommercePriceListId(commercePriceListId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}
471702
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceAddress addCommerceAddress(CommerceAddress commerceAddress) {
		commerceAddress.setNew(true);

		return commerceAddressPersistence.update(commerceAddress);
	}
424153
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceWishList updateCommerceWishList(
		CommerceWishList commerceWishList) {
		return commerceWishListPersistence.update(commerceWishList);
	}
637748
@Indexable(type = IndexableType.REINDEX)
	@Override
	public CommerceOrderPayment addCommerceOrderPayment(
		CommerceOrderPayment commerceOrderPayment) {
		commerceOrderPayment.setNew(true);

		return commerceOrderPaymentPersistence.update(commerceOrderPayment);
	}
228252
@Override
	public void clearCache(CommerceWishListItem commerceWishListItem) {
		entityCache.removeResult(CommerceWishListItemModelImpl.ENTITY_CACHE_ENABLED,
			CommerceWishListItemImpl.class, commerceWishListItem.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);

		clearUniqueFindersCache((CommerceWishListItemModelImpl)commerceWishListItem,
			true);
	}