com.evasion.ejb.local.DonationManagerLocal Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of API Show documentation
Show all versions of API Show documentation
API de l'application modulaire evasion-en-ligne
The newest version!
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
package com.evasion.ejb.local;
import com.evasion.entity.Person;
import com.evasion.exception.PersistenceViolationException;
/**
*
* @author sebastien.glon
*/
public interface DonationManagerLocal {
/**
* Enregistrement d'une promesse de don.
* @param p person donnatrice.
* @param l montant du don.
* @param d description jointe.
* @return num d'enregistrement du don.
* @throws PersistenceViolationException
*/
Long savePromesse(Person p, Long l, String d) throws PersistenceViolationException;
/**
* Valide une promesse de don.
* @param l num d'enregistrement du don.
*/
void validDon(Long l);
}