code: @Override
  	public void cacheResult(CPInstance cpInstance) {
  		entityCache.putResult(CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
  			CPInstanceImpl.class, cpInstance.getPrimaryKey(), cpInstance);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_UUID_G,
  			new Object[] { cpInstance.getUuid(), cpInstance.getGroupId() },
  			cpInstance);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_C_C,
  			new Object[] {
  				cpInstance.getCPDefinitionId(), cpInstance.getCPInstanceUuid()
  			}, cpInstance);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_C_S,
  			new Object[] { cpInstance.getCPDefinitionId(), cpInstance.getSku() },
  			cpInstance);
  
  		finderCache.putResult(FINDER_PATH_FETCH_BY_C_ERC,
  			new Object[] {
  				cpInstance.getCompanyId(), cpInstance.getExternalReferenceCode()
  			}, cpInstance);
  
  		cpInstance.resetOriginalValues();
  	}
docs: Caches the cp instance in the entity cache if it is enabled.
  
  @param cpInstance the cp instance