All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.evasion.ejb.local.DonationManagerLocal Maven / Gradle / Ivy

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);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy