code: @Override
  	public void cacheResult(List<CPDefinition> cpDefinitions) {
  		for (CPDefinition cpDefinition : cpDefinitions) {
  			if (entityCache.getResult(
  						CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
  						CPDefinitionImpl.class, cpDefinition.getPrimaryKey()) == null) {
  				cacheResult(cpDefinition);
  			}
  			else {
  				cpDefinition.resetOriginalValues();
  			}
  		}
  	}
docs: Caches the cp definitions in the entity cache if it is enabled.
  
  @param cpDefinitions the cp definitions