src/main/java/fr/insee/pogues/persistence/query/QuestionnairesServiceQueryPostgresqlImpl.java
public void deleteJsonLunaticByID(String id) throws Exception {
		String qString = "DELETE FROM visu_lunatic where id=?";
		int r = jdbcTemplate.update(qString,
				new Object[] { id });
		if(0 == r) {
			throw new PoguesException(404, "Not Found", String.format("Entity with id %s not found", id));
		}
	}
/**
	 * A method to delete the questionnaire in JSON Lunatic with an id
	 * 
	 * @param id id of the questionnaire
	 *            
	 */
A method to delete the questionnaire in JSON Lunatic with an id

@param id id of the questionnaire
A method to delete the questionnaire in JSON Lunatic with an id @param id id of the questionnaire
public void deleteJsonLunaticByID(String id) throws Exception {
		String qString = "DELETE FROM visu_lunatic where id=?";
		int r = jdbcTemplate.update(qString,
				new Object[] { id });
		if(0 == r) {
			throw new PoguesException(404, "Not Found", String.format("Entity with id %s not found", id));
		}
	}
public void deleteJsonLunaticByID ( String id ) throws Exception { String qString = "DELETE FROM visu_lunatic where id=?" ; int r = jdbcTemplate . update ( qString , new Object [ ] { id } ) ; if ( 0 == r ) { throw new PoguesException ( 404 , "Not Found" , String . format ( "Entity with id %s not found" , id ) ) ; } }
A method to delete the questionnaire in JSON Lunatic with an id
A method to delete the questionnaire in JSON Lunatic with an id