code: @Override
  	public void cacheResult(CPDefinition cpDefinition) {
  		entityCache.putResult(CPDefinitionModelImpl.ENTITY_CACHE_ENABLED,
  			CPDefinitionImpl.class, cpDefinition.getPrimaryKey(), cpDefinition);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
  			new Object[] { cpDefinition.getUuid(), cpDefinition.getGroupId() },
  			cpDefinition);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
  			new Object[] {
  				cpDefinition.getCompanyId(),
  				cpDefinition.getExternalReferenceCode()
  			}, cpDefinition);
  
  		cpDefinition.resetOriginalValues();
  	}
docs: Caches the cp definition in the entity cache if it is enabled.
  
  @param cpDefinition the cp definition