code: public static CPDefinitionVirtualSetting findByPrimaryKey(
  		long CPDefinitionVirtualSettingId)
  		throws com.liferay.commerce.product.type.virtual.exception.NoSuchCPDefinitionVirtualSettingException {
  		return getPersistence().findByPrimaryKey(CPDefinitionVirtualSettingId);
  	}
docs: Returns the cp definition virtual setting with the primary key or throws a {@link NoSuchCPDefinitionVirtualSettingException} if it could not be found.
  
  @param CPDefinitionVirtualSettingId the primary key of the cp definition virtual setting
  @return the cp definition virtual setting
  @throws NoSuchCPDefinitionVirtualSettingException if a cp definition virtual setting with the primary key could not be found