Caches the cp definition grouped entries in the entity cache if it is enabled.

@param cpDefinitionGroupedEntries the cp definition grouped entries
5525
@Override
	public void cacheResult(
		List<CPDefinitionGroupedEntry> cpDefinitionGroupedEntries) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : cpDefinitionGroupedEntries) {
			if (entityCache.getResult(
						CPDefinitionGroupedEntryModelImpl.ENTITY_CACHE_ENABLED,
						CPDefinitionGroupedEntryImpl.class,
						cpDefinitionGroupedEntry.getPrimaryKey()) == null) {
				cacheResult(cpDefinitionGroupedEntry);
			}
			else {
				cpDefinitionGroupedEntry.resetOriginalValues();
			}
		}
	}
211212
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionOptionValueRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
699000
@Override
	public void cacheResult(
		List<CPDefinitionLocalization> cpDefinitionLocalizations) {
		for (CPDefinitionLocalization cpDefinitionLocalization : cpDefinitionLocalizations) {
			if (entityCache.getResult(
						CPDefinitionLocalizationModelImpl.ENTITY_CACHE_ENABLED,
						CPDefinitionLocalizationImpl.class,
						cpDefinitionLocalization.getPrimaryKey()) == null) {
				cacheResult(cpDefinitionLocalization);
			}
			else {
				cpDefinitionLocalization.resetOriginalValues();
			}
		}
	}
1005426
public void initProcessDefinitionCache() {
    if (processDefinitionCache == null) {
      if (processDefinitionCacheLimit <= 0) {
        processDefinitionCache = new DefaultDeploymentCache<ProcessDefinitionCacheEntry>();
      } else {
        processDefinitionCache = new DefaultDeploymentCache<ProcessDefinitionCacheEntry>(processDefinitionCacheLimit);
      }
    }
  }
1254065
public void setCPDefinitionGroupedEntryLocalService(
		com.liferay.commerce.product.type.grouped.service.CPDefinitionGroupedEntryLocalService cpDefinitionGroupedEntryLocalService) {
		this.cpDefinitionGroupedEntryLocalService = cpDefinitionGroupedEntryLocalService;
	}
878566
@Override
	public CPDefinition fetchCPDefinitionByUuidAndGroupId(String uuid,
		long groupId) {
		return cpDefinitionPersistence.fetchByUUID_G(uuid, groupId);
	}
556493
@Override
	public void clearCache(CPDefinitionLink cpDefinitionLink) {
		entityCache.removeResult(CPDefinitionLinkModelImpl.ENTITY_CACHE_ENABLED,
			CPDefinitionLinkImpl.class, cpDefinitionLink.getPrimaryKey());

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

		clearUniqueFindersCache((CPDefinitionLinkModelImpl)cpDefinitionLink,
			true);
	}
109638
@Override
	public void cacheResult(
		List<CPRuleAssetCategoryRel> cpRuleAssetCategoryRels) {
		for (CPRuleAssetCategoryRel cpRuleAssetCategoryRel : cpRuleAssetCategoryRels) {
			if (entityCache.getResult(
						CPRuleAssetCategoryRelModelImpl.ENTITY_CACHE_ENABLED,
						CPRuleAssetCategoryRelImpl.class,
						cpRuleAssetCategoryRel.getPrimaryKey()) == null) {
				cacheResult(cpRuleAssetCategoryRel);
			}
			else {
				cpRuleAssetCategoryRel.resetOriginalValues();
			}
		}
	}
167742
@Override
	public void removeByCPDefinitionId(long CPDefinitionId) {
		for (CPDefinitionGroupedEntry cpDefinitionGroupedEntry : findByCPDefinitionId(
				CPDefinitionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS, null)) {
			remove(cpDefinitionGroupedEntry);
		}
	}
752934
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionLocalizationImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
1007292
@Override
	public com.liferay.commerce.product.model.CPDefinition updateCPDefinition(
		com.liferay.commerce.product.model.CPDefinition cpDefinition) {
		return _cpDefinitionLocalService.updateCPDefinition(cpDefinition);
	}
523972
@Override
	public void cacheResult(
		List<CommerceAccountOrganizationRel> commerceAccountOrganizationRels) {
		for (CommerceAccountOrganizationRel commerceAccountOrganizationRel : commerceAccountOrganizationRels) {
			if (entityCache.getResult(
						CommerceAccountOrganizationRelModelImpl.ENTITY_CACHE_ENABLED,
						CommerceAccountOrganizationRelImpl.class,
						commerceAccountOrganizationRel.getPrimaryKey()) == null) {
				cacheResult(commerceAccountOrganizationRel);
			}
			else {
				commerceAccountOrganizationRel.resetOriginalValues();
			}
		}
	}
458442
@Override
	public com.liferay.commerce.product.model.CPDefinition getCPDefinitionByUuidAndGroupId(
		String uuid, long groupId)
		throws com.liferay.portal.kernel.exception.PortalException {
		return _cpDefinitionLocalService.getCPDefinitionByUuidAndGroupId(uuid,
			groupId);
	}
818828
@Override
	public void cacheResult(List<CPDisplayLayout> cpDisplayLayouts) {
		for (CPDisplayLayout cpDisplayLayout : cpDisplayLayouts) {
			if (entityCache.getResult(
						CPDisplayLayoutModelImpl.ENTITY_CACHE_ENABLED,
						CPDisplayLayoutImpl.class,
						cpDisplayLayout.getPrimaryKey()) == null) {
				cacheResult(cpDisplayLayout);
			}
			else {
				cpDisplayLayout.resetOriginalValues();
			}
		}
	}
63191
@Override
	public void clearCache() {
		entityCache.clearCache(CPDefinitionOptionRelImpl.class);

		finderCache.clearCache(FINDER_CLASS_NAME_ENTITY);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITH_PAGINATION);
		finderCache.clearCache(FINDER_CLASS_NAME_LIST_WITHOUT_PAGINATION);
	}
3391
@Override
	public List<CPDefinitionGroupedEntry> findByCPDefinitionId(
		long CPDefinitionId) {
		return findByCPDefinitionId(CPDefinitionId, QueryUtil.ALL_POS,
			QueryUtil.ALL_POS, null);
	}
373637
@Override
	public com.liferay.commerce.product.type.grouped.model.CPDefinitionGroupedEntry addCPDefinitionGroupedEntry(
		com.liferay.commerce.product.type.grouped.model.CPDefinitionGroupedEntry cpDefinitionGroupedEntry) {
		return _cpDefinitionGroupedEntryLocalService.addCPDefinitionGroupedEntry(cpDefinitionGroupedEntry);
	}