code: @Override
  	public void cacheResult(CPDefinitionInventory cpDefinitionInventory) {
  		entityCache.putResult(CPDefinitionInventoryModelImpl.ENTITY_CACHE_ENABLED,
  			CPDefinitionInventoryImpl.class,
  			cpDefinitionInventory.getPrimaryKey(), cpDefinitionInventory);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
  			new Object[] {
  				cpDefinitionInventory.getUuid(),
  				cpDefinitionInventory.getGroupId()
  			}, cpDefinitionInventory);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_CPDEFINITIONID,
  			new Object[] { cpDefinitionInventory.getCPDefinitionId() },
  			cpDefinitionInventory);
  
  		cpDefinitionInventory.resetOriginalValues();
  	}
docs: Caches the cp definition inventory in the entity cache if it is enabled.
  
  @param cpDefinitionInventory the cp definition inventory