Caches the commerce price list in the entity cache if it is enabled.

@param commercePriceList the commerce price list
969144
@Override
	public void cacheResult(CommercePriceList commercePriceList) {
		entityCache.putResult(CommercePriceListModelImpl.ENTITY_CACHE_ENABLED,
			CommercePriceListImpl.class, commercePriceList.getPrimaryKey(),
			commercePriceList);

		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
			new Object[] {
				commercePriceList.getUuid(), commercePriceList.getGroupId()
			}, commercePriceList);

		finderCache.putResult(FINDER_PATH_FETCH_BY_PARENTCOMMERCEPRICELISTID,
			new Object[] { commercePriceList.getParentCommercePriceListId() },
			commercePriceList);

		finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
			new Object[] {
				commercePriceList.getCompanyId(),
				commercePriceList.getExternalReferenceCode()
			}, commercePriceList);

		commercePriceList.resetOriginalValues();
	}
269263
@Override
	public void cacheResult(
		List<CommercePriceListAccountRel> commercePriceListAccountRels) {
		for (CommercePriceListAccountRel commercePriceListAccountRel : commercePriceListAccountRels) {
			if (entityCache.getResult(
						CommercePriceListAccountRelModelImpl.ENTITY_CACHE_ENABLED,
						CommercePriceListAccountRelImpl.class,
						commercePriceListAccountRel.getPrimaryKey()) == null) {
				cacheResult(commercePriceListAccountRel);
			}
			else {
				commercePriceListAccountRel.resetOriginalValues();
			}
		}
	}
1191926
@Override
	public void clearCache(
		CommercePriceListAccountRel commercePriceListAccountRel) {
		entityCache.removeResult(CommercePriceListAccountRelModelImpl.ENTITY_CACHE_ENABLED,
			CommercePriceListAccountRelImpl.class,
			commercePriceListAccountRel.getPrimaryKey());

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

		clearUniqueFindersCache((CommercePriceListAccountRelModelImpl)commercePriceListAccountRel,
			true);
	}
1339546
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceWishListImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1044
@Override
	public void cacheResult(CommerceTierPriceEntry commerceTierPriceEntry) {
		entityCache.putResult(CommerceTierPriceEntryModelImpl.ENTITY_CACHE_ENABLED,
			CommerceTierPriceEntryImpl.class,
			commerceTierPriceEntry.getPrimaryKey(), commerceTierPriceEntry);

		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
			new Object[] {
				commerceTierPriceEntry.getUuid(),
				commerceTierPriceEntry.getGroupId()
			}, commerceTierPriceEntry);

		finderCache.putResult(FINDER_PATH_FETCH_BY_C_M,
			new Object[] {
				commerceTierPriceEntry.getCommercePriceEntryId(),
				commerceTierPriceEntry.getMinQuantity()
			}, commerceTierPriceEntry);

		finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
			new Object[] {
				commerceTierPriceEntry.getCompanyId(),
				commerceTierPriceEntry.getExternalReferenceCode()
			}, commerceTierPriceEntry);

		commerceTierPriceEntry.resetOriginalValues();
	}
1183378
public void setCommercePriceListAccountRelLocalService(
		com.liferay.commerce.price.list.service.CommercePriceListAccountRelLocalService commercePriceListAccountRelLocalService) {
		this.commercePriceListAccountRelLocalService = commercePriceListAccountRelLocalService;
	}
736783
@Override
	public void cacheResult(List<CommerceAccount> commerceAccounts) {
		for (CommerceAccount commerceAccount : commerceAccounts) {
			if (entityCache.getResult(
						CommerceAccountModelImpl.ENTITY_CACHE_ENABLED,
						CommerceAccountImpl.class,
						commerceAccount.getPrimaryKey()) == null) {
				cacheResult(commerceAccount);
			}
			else {
				commerceAccount.resetOriginalValues();
			}
		}
	}
1120270
@Override
	public void clearCache() {
		entityCache.clearCache(CommercePriceListUserSegmentEntryRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
720736
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceOrderNoteImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
807519
@Override
	public void cacheResult(List<CommerceWarehouseItem> commerceWarehouseItems) {
		for (CommerceWarehouseItem commerceWarehouseItem : commerceWarehouseItems) {
			if (entityCache.getResult(
						CommerceWarehouseItemModelImpl.ENTITY_CACHE_ENABLED,
						CommerceWarehouseItemImpl.class,
						commerceWarehouseItem.getPrimaryKey()) == null) {
				cacheResult(commerceWarehouseItem);
			}
			else {
				commerceWarehouseItem.resetOriginalValues();
			}
		}
	}
107397
@Override
	public void clearCache() {
		entityCache.clearCache(CommerceWishListItemImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1124367
@Indexable(type = IndexableType.DELETE)
	@Override
	public CommercePriceList deleteCommercePriceList(
		CommercePriceList commercePriceList) throws PortalException {
		return commercePriceListPersistence.remove(commercePriceList);
	}
1340249
@Override
	public void cacheResult(List<CommerceCountry> commerceCountries) {
		for (CommerceCountry commerceCountry : commerceCountries) {
			if (entityCache.getResult(
						CommerceCountryModelImpl.ENTITY_CACHE_ENABLED,
						CommerceCountryImpl.class,
						commerceCountry.getPrimaryKey()) == null) {
				cacheResult(commerceCountry);
			}
			else {
				commerceCountry.resetOriginalValues();
			}
		}
	}
946961
@Override
	public void clearCache(
		CommerceDiscountUsageEntry commerceDiscountUsageEntry) {
		entityCache.removeResult(CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
			CommerceDiscountUsageEntryImpl.class,
			commerceDiscountUsageEntry.getPrimaryKey());

		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
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);
	}
1043033
@Override
	public void cacheResult(
		List<CommerceDiscountUsageEntry> commerceDiscountUsageEntries) {
		for (CommerceDiscountUsageEntry commerceDiscountUsageEntry : commerceDiscountUsageEntries) {
			if (entityCache.getResult(
						CommerceDiscountUsageEntryModelImpl.ENTITY_CACHE_ENABLED,
						CommerceDiscountUsageEntryImpl.class,
						commerceDiscountUsageEntry.getPrimaryKey()) == null) {
				cacheResult(commerceDiscountUsageEntry);
			}
			else {
				commerceDiscountUsageEntry.resetOriginalValues();
			}
		}
	}
340179
@Override
	public List<CommercePriceListUserSegmentEntryRel> findByCommercePriceListId(
		long commercePriceListId) {
		return findByCommercePriceListId(commercePriceListId,
			QueryUtil.ALL_POS, QueryUtil.ALL_POS, null);
	}