code: @Override
  	public void cacheResult(List<CPInstance> cpInstances) {
  		for (CPInstance cpInstance : cpInstances) {
  			if (entityCache.getResult(
  						CPInstanceModelImpl.ENTITY_CACHE_ENABLED,
  						CPInstanceImpl.class, cpInstance.getPrimaryKey()) == null) {
  				cacheResult(cpInstance);
  			}
  			else {
  				cpInstance.resetOriginalValues();
  			}
  		}
  	}
docs: Caches the cp instances in the entity cache if it is enabled.
  
  @param cpInstances the cp instances