*/
private Boolean saveParam(final String property,
final String valeur, final Boolean force) {
Boolean result = Boolean.FALSE;
LOGGER.debug("Sauvegarde du parametre : {} = {}", property, valeur);
Parametre param = dao.findByPropertyName(property);
Boolean exist = param != null;
if (!exist || force) {
if (exist) {
param.setValeur(valeur);
dao.merge(param);
} else {
param = new Parametre(property, valeur);
dao.persist(param);
}
dao.flush();
result = Boolean.TRUE;
}